(self, cell_dict)
| 671 | return fwdref |
| 672 | |
| 673 | def transmogrify(self, cell_dict): |
| 674 | for obj in self.stringifiers: |
| 675 | obj.__class__ = ForwardRef |
| 676 | obj.__stringifier_dict__ = None # not needed for ForwardRef |
| 677 | if isinstance(obj.__ast_node__, str): |
| 678 | obj.__arg__ = obj.__ast_node__ |
| 679 | obj.__ast_node__ = None |
| 680 | if cell_dict is not None and obj.__cell__ is None: |
| 681 | obj.__cell__ = cell_dict |
| 682 | |
| 683 | def create_unique_name(self): |
| 684 | name = f"__annotationlib_name_{self.next_id}__" |
no outgoing calls
no test coverage detected