@@ -234,7 +234,6 @@ class TableColumn(Model, BaseColumn, CertificationMixin):
234
234
table : Mapped ["SqlaTable" ] = relationship (
235
235
"SqlaTable" ,
236
236
back_populates = "columns" ,
237
- lazy = "joined" , # Eager loading for efficient parent referencing with selectin.
238
237
)
239
238
is_dttm = Column (Boolean , default = False )
240
239
expression = Column (MediumText ())
@@ -449,7 +448,6 @@ class SqlMetric(Model, BaseMetric, CertificationMixin):
449
448
table : Mapped ["SqlaTable" ] = relationship (
450
449
"SqlaTable" ,
451
450
back_populates = "metrics" ,
452
- lazy = "joined" , # Eager loading for efficient parent referencing with selectin.
453
451
)
454
452
expression = Column (MediumText (), nullable = False )
455
453
extra = Column (Text )
@@ -551,13 +549,11 @@ class SqlaTable(Model, BaseDatasource): # pylint: disable=too-many-public-metho
551
549
TableColumn ,
552
550
back_populates = "table" ,
553
551
cascade = "all, delete-orphan" ,
554
- lazy = "selectin" , # Only non-eager loading that works with bidirectional joined.
555
552
)
556
553
metrics : Mapped [List [SqlMetric ]] = relationship (
557
554
SqlMetric ,
558
555
back_populates = "table" ,
559
556
cascade = "all, delete-orphan" ,
560
- lazy = "selectin" , # Only non-eager loading that works with bidirectional joined.
561
557
)
562
558
metric_class = SqlMetric
563
559
column_class = TableColumn
0 commit comments