File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
from openadapt .db .db import Session , get_read_only_session_maker
21
21
from openadapt .models import (
22
22
ActionEvent ,
23
- BrowserEvent ,
24
23
AudioInfo ,
24
+ BrowserEvent ,
25
25
MemoryStat ,
26
26
PerformanceStat ,
27
27
Recording ,
@@ -573,8 +573,8 @@ def get_screenshots(
573
573
session .query (Screenshot )
574
574
.filter (Screenshot .recording_id == recording .id )
575
575
.options (
576
- joinedload (Screenshot .action_event ).joinedload (ActionEvent .recording ),
577
- subqueryload (Screenshot .action_event ).joinedload (ActionEvent .screenshot ),
576
+ subqueryload (Screenshot .action_event ).subqueryload (ActionEvent .recording ),
577
+ subqueryload (Screenshot .action_event ).subqueryload (ActionEvent .screenshot ),
578
578
subqueryload (Screenshot .recording ),
579
579
)
580
580
.order_by (Screenshot .timestamp )
You can’t perform that action at this time.
0 commit comments