diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2020-03-23 18:55:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-03-23 18:55:02 +0000 |
commit | e6b6ec78e6d6f96537eaf542f469a7e88134e9fc (patch) | |
tree | 9f5958d2cf2e03a80af7e862746c6d016560bd65 /lib/sqlalchemy/sql/selectable.py | |
parent | 01299b6bdaf91691923a99fd8c0241dac6abc432 (diff) | |
parent | 0a4f7f38ce2b878a4e59da74373938b64bbb6e92 (diff) | |
download | sqlalchemy-e6b6ec78e6d6f96537eaf542f469a7e88134e9fc.tar.gz |
Merge "Remove deprecated elements from selectable.py; remove lockmode"
Diffstat (limited to 'lib/sqlalchemy/sql/selectable.py')
-rw-r--r-- | lib/sqlalchemy/sql/selectable.py | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index 45b9e7f9d..3c23704c5 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -833,22 +833,8 @@ class Join(FromClause): return self._join_condition(left, right, a_subset=left_right) @classmethod - @util.deprecated_params( - ignore_nonexistent_tables=( - "0.9", - "The :paramref:`.join_condition.ignore_nonexistent_tables` " - "parameter is deprecated and will be removed in a future " - "release. Tables outside of the two tables being handled " - "are no longer considered.", - ) - ) def _join_condition( - cls, - a, - b, - ignore_nonexistent_tables=False, - a_subset=None, - consider_as_foreign_keys=None, + cls, a, b, a_subset=None, consider_as_foreign_keys=None ): """create a join condition between two tables or selectables. @@ -864,9 +850,6 @@ class Join(FromClause): between the two selectables. If there are multiple ways to join, or no way to join, an error is raised. - :param ignore_nonexistent_tables: unused - tables outside of the - two tables being handled are not considered. - :param a_subset: An optional expression that is a sub-component of ``a``. An attempt will be made to join to just this sub-component first before looking at the full ``a`` construct, and if found @@ -1115,10 +1098,6 @@ class Join(FromClause): argument as a no-op, so that the argument can be passed to the ``alias()`` method of any selectable. - .. versionadded:: 0.9.0 Added the ``flat=True`` option to create - "aliases" of joins without enclosing inside of a SELECT - subquery. - :param name: name given to the alias. :param flat: if True, produce an alias of the left and right @@ -1126,8 +1105,6 @@ class Join(FromClause): two selectables. This produces join expression that does not include an enclosing SELECT. - .. versionadded:: 0.9.0 - .. seealso:: :ref:`core_tutorial_aliases` @@ -1333,8 +1310,6 @@ class Alias(AliasedReturnsRows): is an instance of :class:`.Join` - see :meth:`.Join.alias` for details. - .. versionadded:: 0.9.0 - """ return coercions.expect( roles.FromClauseRole, selectable, allow_select=True @@ -2021,8 +1996,6 @@ class ForUpdateArg(ClauseElement): ): """Represents arguments specified to :meth:`.Select.for_update`. - .. versionadded:: 0.9.0 - """ self.nowait = nowait @@ -2386,11 +2359,6 @@ class GenerativeSelect(DeprecatedSelectBaseGenerations, SelectBase): represents a fixed textual string which cannot be altered at this level, only wrapped as a subquery. - .. versionadded:: 0.9.0 :class:`.GenerativeSelect` was added to - provide functionality specific to :class:`.Select` and - :class:`.CompoundSelect` while allowing :class:`.SelectBase` to be - used for other SELECT-like objects, e.g. :class:`.TextualSelect`. - """ _order_by_clauses = () |