Skip to content

Commit c4cf981

Browse files
committed
Retrieve schemas for views.
1 parent 528a497 commit c4cf981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/lsst/consdb/cdb_schema.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __init__(
121121
self.timestamp_columns = dict()
122122

123123
md = sqlalchemy.MetaData(schema=f"cdb_{self.instrument}")
124-
md.reflect(engine)
124+
md.reflect(engine, views=True)
125125
self.table_names.update([str(table) for table in md.tables])
126126
self.schemas = md
127127
for table in md.tables:

0 commit comments

Comments
 (0)