If you integrate any schem based on this template the test/test_config.py will fail with something like:
FAILED tests/test_config.py::test_config_merge[dictionary: merges] - AttributeError: module 'nomad_aitoolkit.schema.mypackage' has no attribute 'dict'
FAILED tests/test_config.py::test_config_merge[list: overrides] - AttributeError: module 'nomad_aitoolkit.schema.mypackage' has no attribute 'dict'
...
I didn't dig deep but it looks like the main issue that the schema package has a object named mypackage which is the same as the name of the (sub)pacakge mypackage.
Quick fix:
- Rename the submodule to anything else then
mypackage.
If you integrate any schem based on this template the
test/test_config.pywill fail with something like:I didn't dig deep but it looks like the main issue that the
schemapackage has a object namedmypackagewhich is the same as the name of the (sub)pacakgemypackage.Quick fix:
mypackage.