equinor / data-modelling-tool

A tool for modeling and presenting json-based data models
https://proxy-data-modelling-tool-dev.radix.equinor.com/
MIT License
3 stars 3 forks source link

Native Python Code generator #689

Closed soofstad closed 4 years ago

soofstad commented 4 years ago

Refactor to work as plugable code-gen and with DMSS rewrite

eoaksnes commented 4 years ago

remeber to delete schema.py/code generator code in dmss

sindre-nistad commented 4 years ago

How should we deal with import verification, which uses the plugin, @eoaksnes ?

eoaksnes commented 4 years ago

Where is it in use? Where in the code? @sindre-nistad

Are the import verification done in dmss or dmt? And where should it be?

sindre-nistad commented 4 years ago

It's done in api/utils/package_import.py:63-70. It seems to be done in diss, as part of importing the blueprints.

We could potentially make the code generator its own pypi package, or repo.

sindre-nistad commented 4 years ago

As to where eit should be, is up to the team to decide.