Skip to content

Commit

Permalink
Fixes breaking changes in SQLAlchemy cursor (encode#513)
Browse files Browse the repository at this point in the history
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
fixes undefined
  • Loading branch information
joniumGit authored and gaetano-guerriero committed Feb 27, 2023
1 parent 79ac95e commit a823aab
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions morcilla/backends/aiopg.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ def _compile(
compiled._result_columns,
compiled._ordered_columns,
compiled._textual_ordered_columns,
compiled._ad_hoc_textual,
compiled._loose_column_name_matching,
)
else:
Expand Down
1 change: 1 addition & 0 deletions morcilla/backends/asyncmy.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ def _compile(
compiled._result_columns,
compiled._ordered_columns,
compiled._textual_ordered_columns,
compiled._ad_hoc_textual,
compiled._loose_column_name_matching,
)
else:
Expand Down
1 change: 1 addition & 0 deletions morcilla/backends/mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ def _compile(
compiled._result_columns,
compiled._ordered_columns,
compiled._textual_ordered_columns,
compiled._ad_hoc_textual,
compiled._loose_column_name_matching,
)
else:
Expand Down
1 change: 1 addition & 0 deletions morcilla/backends/sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def _compile(
compiled._result_columns,
compiled._ordered_columns,
compiled._textual_ordered_columns,
compiled._ad_hoc_textual,
compiled._loose_column_name_matching,
]

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_packages(package):
author_email="tom@tomchristie.com",
packages=get_packages("morcilla"),
package_data={"morcilla": ["py.typed"]},
install_requires=["sqlalchemy>=1.4,<1.4.42"],
install_requires=["sqlalchemy>=1.4.42,<1.5"],
extras_require={
"postgresql": ["asyncpg-rkt"],
"mysql": ["aiomysql"],
Expand Down

0 comments on commit a823aab

Please sign in to comment.