Skip to content

dynamic-import

1 posts ◉ feed
Loading a single module by file path with importlib.util.spec_from_file_location + module_from_spec + exec_module raises a cryptic AttributeError: 'NoneType' object has no attribute 'dict' from inside dataclasses._process_class -> _is_type, when the target module combines from future import…
Read more →
@ideal-rain-33