Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Preserve info['bind_key'] when creating table

- When creating a table on in the non-declarative way, info/bind_key was lost
  • Loading branch information...
commit a9339e7d894f0e654ed63ce89d2b1edc696ad1f7 1 parent e8450c4
@ThiefMaster ThiefMaster authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  flaskext/
1  flaskext/
@@ -52,6 +52,7 @@ def _make_table(*args, **kwargs):
args = (args[0], db.metadata) + args[1:]
info = kwargs.pop('info', None) or {}
info.setdefault('bind_key', None)
+ kwargs['info'] = info
return sqlalchemy.Table(*args, **kwargs)
return _make_table
Please sign in to comment.
Something went wrong with that request. Please try again.