ITISFoundation / osparc-simcore

🐼 osparc-simcore simulation framework
https://osparc.io
MIT License
46 stars 27 forks source link

⚗️ pydantic_models_factory backlog features #2725

Closed pcrespov closed 1 year ago

pcrespov commented 2 years ago

_Originally posted by @GitHK in https://github.com/ITISFoundation/osparc-simcore/pull/2701#discussion_r780287251_

pcrespov commented 2 years ago

TODO: ANE's input: group namespace for all model variantes of a resource model incluing default definitions

e.g.

  ProjectCRUDModels = ModelsCRUDGroup[ProjectSchema]
  ProjectCRUDModels.Create(include={
            "name",
            "description",
            "prjOwner",
            "thumbnail",
            "workbench",
        },)
  ProjectCRUDModels.Update()
  ...

TODO: ANE's input: add trace of reference class (e.g. __copy_model_ref__)

pcrespov commented 1 year ago

This is proven to be unreliable and now iwth the new pydantic it is does not worth the effort