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
 
104
 
105
     def renewMetaData(self):
105
     def renewMetaData(self):
106
         """ (Re)load the database schema """
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
         self.metadata.reflect()
108
         self.metadata.reflect()
109
 
109
 
110
     @property
110
     @property

Loading…
Cancel
Save