Browse Source

Disabling an annoying warning when using reflect=True in MetaData instanciation

Yann Weber 9 years ago
parent
commit
e74623b1a4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Database/sqlwrapper.py

+ 1
- 1
Database/sqlwrapper.py View File

@@ -104,7 +104,7 @@ class SqlWrapper(object):
104 104
 
105 105
     def renewMetaData(self):
106 106
         """ (Re)load the database schema """
107
-        self.metadata = sqla.MetaData(bind=self.r_engine, reflect=True)
107
+        self.metadata = sqla.MetaData(bind=self.r_engine)
108 108
         self.metadata.reflect()
109 109
 
110 110
     @property

Loading…
Cancel
Save