Skip to content

Commit a26ab04

Browse files
author
Val Brodsky
committed
Add model_run_details to export params to support splits etc.
1 parent fad9295 commit a26ab04

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

labelbox/schema/export_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class CatalogExportParams(DataRowParams):
3838

3939
class ModelRunExportParams(DataRowParams):
4040
predictions: Optional[bool]
41+
model_run_details: Optional[bool]
4142

4243

4344
def _validate_array_length(array, max_length, array_name):

labelbox/schema/model_run.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,8 @@ def _export(
569569
_params.get('data_row_details', False),
570570
"includePredictions":
571571
_params.get('predictions', False),
572+
"includeModelRunDetails":
573+
_params.get('model_run_details', False),
572574
},
573575
"streamable": streamable
574576
}

0 commit comments

Comments
 (0)