When generating-files from fresh, I encountered this error.
.
I think it's because one of my entitiy schemas has a dropdown reference, but because my env.py does not have it imported yet (as its from fresh) , it raises this error. It's the same for results_schemas.
It's quite minor as you can incrementally add the import statements to get it happy but probably not good for first time users to encounter errors.
I don't really have a good idea of a solution.
- Preadding the folders don't work as the files aren't there yet.
- Maybe a incremental add to sys.path?
- Make the generate-files multi-step?
When generating-files from fresh, I encountered this error.
.
I think it's because one of my entitiy schemas has a dropdown reference, but because my env.py does not have it imported yet (as its from fresh) , it raises this error. It's the same for results_schemas.
It's quite minor as you can incrementally add the import statements to get it happy but probably not good for first time users to encounter errors.
I don't really have a good idea of a solution.