Skip to content

export models defined in code #419

@FynnBe

Description

@FynnBe

going from model class/instance in code to the spec is indeed not trivial.

we could try to write the file automatically with inspect.getsource
we'd have to somehow make sure to also include the correct imports though... (maybe that could be left to the user who'll have to provide the env as well.. of course using conda env export --from-history could be a start to make it more convenient for some users)....

Originally posted by @FynnBe in #417 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions