Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update black vn
  • Loading branch information
Gwen Whelan committed Dec 10, 2021
commit c1d937fd61ce120e979755c5df6163c1123c7cf1
4 changes: 2 additions & 2 deletions languages/python/sqlalchemy-oso/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
black==21.5b0
black~=21.12b
flake8==3.9.2
mypy==0.812
sqlalchemy-stubs==0.4
tox==3.23.1
tox==3.23.1
1 change: 0 additions & 1 deletion languages/python/sqlalchemy-oso/sqlalchemy_oso/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ def do_orm_execute(execute_state):
else:
logger.warning(f"Policy did not return filter for entity {entity}")


except ImportError:
from sqlalchemy.orm.query import Query

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ def get_joinedload_entities(stmt):

return entities


except ImportError:
# This code should not be called for SQLAlchemy 1.4.
def all_entities_in_statement(statement):
Expand Down