(obj: object, name: str)
| 136 | |
| 137 | |
| 138 | def is_instance_by_name(obj: object, name: str) -> bool: |
| 139 | if not (hasattr(obj, "__module__") and hasattr(obj, "__class__")): |
| 140 | return False |
| 141 | obj_name = f"{obj.__module__}.{obj.__class__.__name__}" |
| 142 | return obj_name == name |
| 143 | |
| 144 | |
| 145 | def is_unclonable_type(obj: object) -> bool: |
no outgoing calls
no test coverage detected
searching dependent graphs…