I have a github repo named pandora:
https://github.com/akshkr/pandora-python
In the test_case_refactor
branch, I can't use submodules of pandora such as pn.util.misc.seed_everything()
gives me the following error.
AttributeError: module 'pandora' has no attribute 'util'
I doubted circular imports so moved every import inside function wherever possible but didn't seem to work. And the test-cases written inside the module are passing.
Can someone tell me what exact issue is causing this AttributeError?
Aucun commentaire:
Enregistrer un commentaire