@@ -240,7 +240,6 @@ class TableColumn(Model, BaseColumn, CertificationMixin):
240
240
table : Mapped ["SqlaTable" ] = relationship (
241
241
"SqlaTable" ,
242
242
back_populates = "columns" ,
243
- lazy = "joined" , # Eager loading for efficient parent referencing with selectin.
244
243
)
245
244
is_dttm = Column (Boolean , default = False )
246
245
expression = Column (MediumText ())
@@ -455,7 +454,6 @@ class SqlMetric(Model, BaseMetric, CertificationMixin):
455
454
table : Mapped ["SqlaTable" ] = relationship (
456
455
"SqlaTable" ,
457
456
back_populates = "metrics" ,
458
- lazy = "joined" , # Eager loading for efficient parent referencing with selectin.
459
457
)
460
458
expression = Column (MediumText (), nullable = False )
461
459
extra = Column (Text )
@@ -557,13 +555,11 @@ class SqlaTable(Model, BaseDatasource): # pylint: disable=too-many-public-metho
557
555
TableColumn ,
558
556
back_populates = "table" ,
559
557
cascade = "all, delete-orphan" ,
560
- lazy = "selectin" , # Only non-eager loading that works with bidirectional joined.
561
558
)
562
559
metrics : Mapped [List [SqlMetric ]] = relationship (
563
560
SqlMetric ,
564
561
back_populates = "table" ,
565
562
cascade = "all, delete-orphan" ,
566
- lazy = "selectin" , # Only non-eager loading that works with bidirectional joined.
567
563
)
568
564
metric_class = SqlMetric
569
565
column_class = TableColumn
0 commit comments