Commits

Mike Bayer committed a2dae1b

aaaarrrgg

Comments (0)

Files changed (1)

lib/sqlalchemy/engine/base.py

             from sqlalchemy import event
             from sqlalchemy.engine import Engine
 
-            shards = {"default": "base", shard_1": "db1", "shard_2": "db2"}
+            shards = {"default": "base", shard_1: "db1", "shard_2": "db2"}
 
             @event.listens_for(Engine, "before_cursor_execute")
             def _switch_shard(conn, cursor, stmt, params, context, executemany):