diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-25 15:13:48 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-25 15:13:48 -0500 |
| commit | f0b344ee9db22085ede906f1041cd6680e2682e3 (patch) | |
| tree | b2fc26aa0b684fa97bd51cd2980edb68a33c5b0d /lib/sqlalchemy | |
| parent | 66e88d30a86fc37e2eaf7367e988ced3834e3250 (diff) | |
| download | sqlalchemy-f0b344ee9db22085ede906f1041cd6680e2682e3.tar.gz | |
Fix some long lines that sneaked in with the spelling fixes change
Change-Id: Icc6d8e564c9d31da2adc39d060e077c3d4811186
Diffstat (limited to 'lib/sqlalchemy')
| -rw-r--r-- | lib/sqlalchemy/orm/query.py | 4 | ||||
| -rw-r--r-- | lib/sqlalchemy/sql/schema.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqlalchemy/orm/query.py b/lib/sqlalchemy/orm/query.py index 80d596b4c..f86cb9085 100644 --- a/lib/sqlalchemy/orm/query.py +++ b/lib/sqlalchemy/orm/query.py @@ -2842,8 +2842,8 @@ class Query(object): approach to the use case of applying an :func:`.aliased` construct explicitly throughout a query. Instead of referring to the :func:`.aliased` construct explicitly, - :meth:`.Query.select_entity_from` automatically *adapts* all occurrences - of the entity to the target selectable. + :meth:`.Query.select_entity_from` automatically *adapts* all + occurrences of the entity to the target selectable. Given a case for :func:`.aliased` such as selecting ``User`` objects from a SELECT statement:: diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py index 07c0017b9..8997e119f 100644 --- a/lib/sqlalchemy/sql/schema.py +++ b/lib/sqlalchemy/sql/schema.py @@ -4028,8 +4028,8 @@ class MetaData(SchemaItem): automatic resolution of dependency cycles between tables, which are usually caused by mutually dependent foreign key constraints. To resolve these cycles, either the - :paramref:`.ForeignKeyConstraint.use_alter` parameter may be applied - to those constraints, or use the + :paramref:`.ForeignKeyConstraint.use_alter` parameter may be + applied to those constraints, or use the :func:`.schema.sort_tables_and_constraints` function which will break out foreign key constraints involved in cycles separately. |
