Semprini / pyMDG

UML Model Driven Generation of schema, code, data and documentation.
Other
21 stars 10 forks source link

Error handling should print better messages #59

Closed Semprini closed 11 months ago

Semprini commented 11 months ago

Incorrect Generattion Type in recipie File "\mdg\uml__init__.py", line 446, in set_type if source_type in generation_fields[settings['generation_type']].keys():

Template not found: File "\mdg\generate\render.py", line 151, in output_model source_template: Template = source_env.get_template(template_definition['source'])

Also: COMMENT ON TABLE public.{{ cls.package.name | snakecase }}__{{ cls.name | snakecase }} IS '{{ cls.phase }} | {{ cls.status }}';