7
7
from pathlib import Path
8
8
from typing import (
9
9
TYPE_CHECKING ,
10
+ Any ,
10
11
Dict ,
11
12
Iterable ,
12
- Union ,
13
- Tuple ,
14
13
List ,
15
14
Optional ,
16
- Any ,
15
+ Tuple ,
16
+ Union ,
17
17
)
18
18
19
-
20
19
from labelbox .orm .db_object import DbObject , experimental
21
- from labelbox .orm .model import Field , Relationship , Entity
20
+ from labelbox .orm .model import Entity , Field , Relationship
22
21
from labelbox .orm .query import results_query_part
23
22
from labelbox .pagination import PaginatedCollection
24
23
from labelbox .schema .conflict_resolution_strategy import (
25
24
ConflictResolutionStrategy ,
26
25
)
27
26
from labelbox .schema .export_params import ModelRunExportParams
28
27
from labelbox .schema .export_task import ExportTask
29
- from labelbox .schema .identifiables import GlobalKeys , DataRowIds
28
+ from labelbox .schema .identifiables import DataRowIds , GlobalKeys
30
29
from labelbox .schema .send_to_annotate_params import (
31
30
SendToAnnotateFromModelParams ,
32
31
build_destination_task_queue_input ,
@@ -458,7 +457,6 @@ def update_status(
458
457
experimental = True ,
459
458
)
460
459
461
- @experimental
462
460
def update_config (self , config : Dict [str , Any ]) -> Dict [str , Any ]:
463
461
"""
464
462
Updates the Model Run's training metadata config
@@ -474,11 +472,9 @@ def update_config(self, config: Dict[str, Any]) -> Dict[str, Any]:
474
472
}
475
473
""" ,
476
474
{"modelRunId" : self .uid , "data" : data },
477
- experimental = True ,
478
475
)
479
476
return res ["updateModelRunConfig" ]
480
477
481
- @experimental
482
478
def reset_config (self ) -> Dict [str , Any ]:
483
479
"""
484
480
Resets Model Run's training metadata config
@@ -491,11 +487,9 @@ def reset_config(self) -> Dict[str, Any]:
491
487
}
492
488
""" ,
493
489
{"modelRunId" : self .uid },
494
- experimental = True ,
495
490
)
496
491
return res ["resetModelRunConfig" ]
497
492
498
- @experimental
499
493
def get_config (self ) -> Dict [str , Any ]:
500
494
"""
501
495
Gets Model Run's training metadata
@@ -508,7 +502,6 @@ def get_config(self) -> Dict[str, Any]:
508
502
}
509
503
""" ,
510
504
{"modelRunId" : self .uid },
511
- experimental = True ,
512
505
)
513
506
return res ["modelRun" ]["trainingMetadata" ]
514
507
0 commit comments