Skip to content

Commit

Permalink
fix issues release 0.15.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xnuinside committed Jan 12, 2024
1 parent 7f2c20a commit db00d4e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**v0.14.0**
**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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ 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.14.0**
**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
Expand Down
2 changes: 1 addition & 1 deletion docs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ One more time, big 'thank you!' goes to https://github.com/archongum for Web-ver
Changelog
---------

**v0.14.0**
**v0.15.1**

Updates
-------
Expand Down
1 change: 0 additions & 1 deletion omymodels/from_ddl.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def create_models(
# extract data from ddl file
data = get_tables_information(ddl, ddl_path)
data = prepare_data(data)
print(data)
data = convert_ddl_to_models(data, no_auto_snake_case)
if not data["tables"] and not data["types"]:
if exit_silent:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "omymodels"
version = "0.15.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
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 db00d4e

Please sign in to comment.