(module: str)
| 142 | |
| 143 | |
| 144 | def get_factory(module: str) -> type[BaseImage]: |
| 145 | if "." not in module: |
| 146 | raise ValueError("The image factory is not a full python path") |
| 147 | module, name = module.rsplit(".", 1) |
| 148 | imp = __import__(module, {}, {}, [name]) |
| 149 | return getattr(imp, name) |
| 150 | |
| 151 | |
| 152 | def get_drawer_help() -> str: |
no outgoing calls
no test coverage detected