File tree 1 file changed +5
-5
lines changed
python/lsst/consdb/transformed_efd/dao
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,14 @@ class DBBase:
39
39
Attributes
40
40
----------
41
41
engine (Engine): The database engine.
42
- con : The database connection.
42
+ connexion : The database connection.
43
43
dialect: The database dialect.
44
44
db_uri (str): The URI of the database.
45
45
46
46
"""
47
47
48
48
engine : Engine = None
49
- con = None
49
+ connexion = None
50
50
dialect = None
51
51
db_uri : str
52
52
@@ -102,11 +102,11 @@ def get_con(self):
102
102
The database connection.
103
103
104
104
"""
105
- if self .con is None :
105
+ if self .connexion is None :
106
106
engine = self .get_db_engine ()
107
- self .con = engine .connect ()
107
+ self .connexion = engine .connect ()
108
108
109
- return self .con
109
+ return self .connexion
110
110
111
111
def get_table (self , tablename , schema = None ) -> Table :
112
112
"""Retrieve a table object from the database.
You can’t perform that action at this time.
0 commit comments