summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/base.py
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2015-06-02 22:05:18 +0900
committerINADA Naoki <songofacandy@gmail.com>2015-06-02 22:05:18 +0900
commit36d2b40cf55bc0f4e850e9ec4e905f0051f573f2 (patch)
treeed83e6e738723a399a40a3511b6225fd5fabfa0f /lib/sqlalchemy/engine/base.py
parent0766c80b9c02fdbad3203835ab850ad690f4c03b (diff)
downloadsqlalchemy-36d2b40cf55bc0f4e850e9ec4e905f0051f573f2.tar.gz
baked: Support initial args for cache key
When making baked query in classmethod of declarative base, cls should be added in cache key. @as_declarative class Base(object): @classmethod def baked_query(cls): return bakery(lambda: session.query(cls), (cls,))
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
0 files changed, 0 insertions, 0 deletions