getattr_migration
Implement PEP 562 for objects that were either moved or removed on the migration to V2.
def getattr_migration(
module: str
) - > Callable[[str], Any]
Implement PEP 562 for objects that were either moved or removed on the migration to V2.
Parameters
| Name | Type | Description |
|---|---|---|
| module | str | The fully qualified name of the module where the attribute access is occurring. |
Returns
| Type | Description |
|---|---|
Callable[[str], Any] | A callable that will raise an error if the object is not found. |