Skip to content

Commit

Permalink
release 0.15.0 (#56)
Browse files Browse the repository at this point in the history
* release 0.15.0

* fix issues release 0.15.1
  • Loading branch information
xnuinside authored Jan 12, 2024
1 parent 6523ae7 commit aeee7b3
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
**v0.15.1**
## Updates
1. Foreign Key processing updates - https://github.com/xnuinside/omymodels/pull/55
2. Move to simple-ddl-parser version 1.X

**v0.14.0**
## Updates

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,11 @@ If you see any bugs or have any suggestions - feel free to open the issue. Any h
One more time, big 'thank you!' goes to https://github.com/archongum for Web-version: https://archon-omymodels-online.hf.space/

## Changelog
**v0.15.1**
## Updates
1. Foreign Key processing updates - https://github.com/xnuinside/omymodels/pull/55
2. Move to simple-ddl-parser version 1.X

**v0.14.0**
## Updates

Expand Down
9 changes: 9 additions & 0 deletions docs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,15 @@ One more time, big 'thank you!' goes to https://github.com/archongum for Web-ver
Changelog
---------

**v0.15.1**

Updates
-------


#. Foreign Key processing updates - https://github.com/xnuinside/omymodels/pull/55
#. Move to simple-ddl-parser version 1.X

**v0.14.0**

Updates
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "omymodels"
version = "0.14.0"
version = "0.15.1"
description = "O! My Models (omymodels) is a library to generate Python Models for SQLAlchemy (ORM & Core), GinoORM, Pydantic, Pydal tables & Python Dataclasses from SQL DDL. And convert one models to another."
authors = ["Iuliia Volkova <[email protected]>"]
license = "MIT"
Expand Down Expand Up @@ -33,11 +33,13 @@ table-meta = "^0.1.5"
[tool.poetry.dev-dependencies]
pytest = "^7.4"
m2r = "^0.3.1"
twine = "^4.0"

[tool.poetry.scripts]
omm = 'omymodels.cli:main'

[tool.poetry.group.dev.dependencies]
twine = "^4.0.2"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
1 change: 0 additions & 1 deletion tests/functional/generator/test_sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,5 +356,4 @@ class Table2(Base):
("reference_to_table_in_another_schema") REFERENCES "schema2"."table2" ("id");
"""
result = create_models(ddl, schema_global=False, models_type="sqlalchemy")["code"]
print(result)
assert result == expected

0 comments on commit aeee7b3

Please sign in to comment.