Commit 71ac3ed8 authored by Julien Cigar's avatar Julien Cigar
Browse files

add reflection for an existing MetaData

parent 448b6889
......@@ -73,6 +73,8 @@ class SAEnginePlugin(plugins.SimplePlugin):
**_config.get('metadata', {}))
elif not self.sa_meta.is_bound():
self.sa_meta.bind = self.sa_engine
if _config.get('metadata', {}).get('reflect'):
self.sa_meta.reflect()
# Session
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment