Skip to content

Generating files require multiple steps #143

@ChrisTwig

Description

@ChrisTwig

When generating-files from fresh, I encountered this error.
Image.

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions