diff options
Diffstat (limited to 'lib/sqlalchemy/ext/horizontal_shard.py')
-rw-r--r-- | lib/sqlalchemy/ext/horizontal_shard.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/sqlalchemy/ext/horizontal_shard.py b/lib/sqlalchemy/ext/horizontal_shard.py index 786d00597..53545826b 100644 --- a/lib/sqlalchemy/ext/horizontal_shard.py +++ b/lib/sqlalchemy/ext/horizontal_shard.py @@ -207,13 +207,10 @@ class ShardedSession(Session): def execute_and_instances(orm_context): - params = orm_context.parameters if orm_context.is_select: load_options = active_options = orm_context.load_options update_options = None - if params is None: - params = active_options._params else: load_options = None |