@@ -303,12 +303,12 @@ def join(self, target_table: Table, query: Query) -> Query:
303
303
return (
304
304
query .join (
305
305
association_table ,
306
- association_table .data_generation_id == models .OmicsProcessing .id , # type: ignore
306
+ association_table .c . data_generation_id == models .OmicsProcessing .id ,
307
307
)
308
308
.join (
309
309
models .MetagenomeAnnotation ,
310
310
models .MetagenomeAnnotation .id
311
- == association_table .metagenome_annotation_id , # type: ignore
311
+ == association_table .c . metagenome_annotation_id ,
312
312
)
313
313
.join (
314
314
models .MGAGeneFunctionAggregation ,
@@ -360,12 +360,12 @@ def join(self, target_table: Table, query: Query) -> Query:
360
360
return (
361
361
query .join (
362
362
association_table ,
363
- association_table .data_generation_id == models .OmicsProcessing .id , # type: ignore
363
+ association_table .c . data_generation_id == models .OmicsProcessing .id ,
364
364
)
365
365
.join (
366
366
models .MetaproteomicAnalysis ,
367
367
models .MetaproteomicAnalysis .id
368
- == association_table .metaproteomic_analysis_id , # type: ignore
368
+ == association_table .c . metaproteomic_analysis_id ,
369
369
)
370
370
.join (
371
371
models .MetaPGeneFunctionAggregation ,
@@ -400,12 +400,12 @@ def join(self, target_table: Table, query: Query) -> Query:
400
400
return (
401
401
query .join (
402
402
association_table ,
403
- association_table .data_generation_id == models .OmicsProcessing .id , # type: ignore
403
+ association_table .c . data_generation_id == models .OmicsProcessing .id ,
404
404
)
405
405
.join (
406
406
models .MetatranscriptomeAnnotation ,
407
407
models .MetatranscriptomeAnnotation .id
408
- == association_table .metatranscriptome_annotation_id , # type: ignore
408
+ == association_table .c . metatranscriptome_annotation_id ,
409
409
)
410
410
.join (
411
411
models .MetaTGeneFunctionAggregation ,
0 commit comments