summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/context.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2020-09-28 14:08:59 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2020-09-28 15:17:26 -0400
commitc3f102c9fe9811fd5286628cc6aafa5fbc324621 (patch)
tree4a78723089ded623701667de1eee21d22edbe6c1 /lib/sqlalchemy/orm/context.py
parent75ac0abc7d5653d10006769a881374a46b706db5 (diff)
downloadsqlalchemy-c3f102c9fe9811fd5286628cc6aafa5fbc324621.tar.gz
upgrade to black 20.8b1
It's better, the majority of these changes look more readable to me. also found some docstrings that had formatting / quoting issues. Change-Id: I582a45fde3a5648b2f36bab96bad56881321899b
Diffstat (limited to 'lib/sqlalchemy/orm/context.py')
-rw-r--r--lib/sqlalchemy/orm/context.py18
1 files changed, 15 insertions, 3 deletions
diff --git a/lib/sqlalchemy/orm/context.py b/lib/sqlalchemy/orm/context.py
index c24e04aa5..5e9cf9cce 100644
--- a/lib/sqlalchemy/orm/context.py
+++ b/lib/sqlalchemy/orm/context.py
@@ -1223,7 +1223,14 @@ class ORMSelectCompileState(ORMCompileState, SelectState):
# figure out the final "left" and "right" sides and create an
# ORMJoin to add to our _from_obj tuple
self._join_left_to_right(
- left, right, onclause, prop, False, False, isouter, full,
+ left,
+ right,
+ onclause,
+ prop,
+ False,
+ False,
+ isouter,
+ full,
)
def _legacy_join(self, args):
@@ -1822,7 +1829,8 @@ class ORMSelectCompileState(ORMCompileState, SelectState):
self._mapper_loads_polymorphically_with(
right_mapper,
sql_util.ColumnAdapter(
- right_mapper.selectable, right_mapper._equivalent_columns,
+ right_mapper.selectable,
+ right_mapper._equivalent_columns,
),
)
# if the onclause is a ClauseElement, adapt it with any
@@ -2538,7 +2546,11 @@ class _ORMColumnEntity(_ColumnEntity):
)
def __init__(
- self, compile_state, column, parententity, parent_bundle=None,
+ self,
+ compile_state,
+ column,
+ parententity,
+ parent_bundle=None,
):
annotations = column._annotations