diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-08-05 13:43:06 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-08-05 13:49:52 -0400 |
| commit | d45bd29918e217662ea2c0ee44608b0bbf0d4a06 (patch) | |
| tree | dd2bd8e16e0d4dc934f75334767fe1a12ed44319 /lib/sqlalchemy | |
| parent | 849b2ed003b36610c1c53c9c72dbccdcb52a0bbc (diff) | |
| download | sqlalchemy-d45bd29918e217662ea2c0ee44608b0bbf0d4a06.tar.gz | |
Remove threadlocal strategy docs, remaining contextual_connect
in dfb20f07d8, we merged the removal of the threadlocal strategy
from the 1.4 branch. We forgot to take the docs out :).
Also, there seems to be an uncovered _contextual_connect call
in horizontal shard. Cover that and repair.
Fixes: #4632
Closes: #4795
Change-Id: Id05cbbebe34a8f547c9c84369a929a2926c7d093
Diffstat (limited to 'lib/sqlalchemy')
| -rw-r--r-- | lib/sqlalchemy/ext/horizontal_shard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/ext/horizontal_shard.py b/lib/sqlalchemy/ext/horizontal_shard.py index c263b1734..f56381685 100644 --- a/lib/sqlalchemy/ext/horizontal_shard.py +++ b/lib/sqlalchemy/ext/horizontal_shard.py @@ -242,7 +242,7 @@ class ShardedSession(Session): else: return self.get_bind( mapper, shard_id=shard_id, instance=instance - )._contextual_connect(**kwargs) + ).connect(**kwargs) def get_bind( self, mapper, shard_id=None, instance=None, clause=None, **kw |
