Create a "filename" suitable for a function being generated.
(cls: type, func_name: str)
| 1599 | |
| 1600 | |
| 1601 | def _generate_unique_filename(cls: type, func_name: str) -> str: |
| 1602 | """ |
| 1603 | Create a "filename" suitable for a function being generated. |
| 1604 | """ |
| 1605 | return ( |
| 1606 | f"<attrs generated {func_name} {cls.__module__}." |
| 1607 | f"{getattr(cls, '__qualname__', cls.__name__)}>" |
| 1608 | ) |
| 1609 | |
| 1610 | |
| 1611 | def _make_hash_script( |
no outgoing calls
no test coverage detected