v0.10.0 - Converter improvements, Enums moved to separate model
Improvements:
- Meta models moved to separate package - https://github.com/xnuinside/table-meta
common
module renamed tofrom_ddl
, but anyway please use public API as imports from main module:
from omymodels import create_models
or from omymodels import convert_models
Fixes:
- Fixed bunch of bugs in converter, but it stil in 'beta'.
- Previously you can generate models if was any tables in ddl. Now you can also generate Enum models if in ddl you have only CREATE TYPE statements.
- String enums now in any models types will be inherit from (str, Enum)
Features:
- Added converter feature to convert one model type to another (excluding SQLAlchemy Core (Tables)).
Now with more tests for supported models, but still in Beta with bucnh of issues.