File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 13
13
14
14
15
15
class ScoreDefinitions (Service ):
16
-
17
16
"""
18
17
Used for creating and maintaining score definitions.
19
18
Original file line number Diff line number Diff line change 14
14
15
15
16
16
class ScoreExecution (Service ):
17
-
18
17
"""
19
18
The Score Execution API is used to produce a score by
20
19
executing the mapped code generated by score objects using the score definition.
Original file line number Diff line number Diff line change @@ -980,7 +980,7 @@ def score_model_with_cas(
980
980
server_name : str = "cas-shared-default" ,
981
981
library_name : str = "Public" ,
982
982
model_version : str = "latest" ,
983
- use_cas_gateway : bool = False
983
+ use_cas_gateway : bool = False ,
984
984
):
985
985
score_definition = sd .create_score_definition (
986
986
score_def_name ,
@@ -991,7 +991,7 @@ def score_model_with_cas(
991
991
server_name = server_name ,
992
992
library_name = library_name ,
993
993
model_version = model_version ,
994
- use_cas_gateway = use_cas_gateway
994
+ use_cas_gateway = use_cas_gateway ,
995
995
)
996
996
score_execution = se .create_score_execution (score_definition .id )
997
997
score_execution_poll = se .poll_score_execution_state (score_execution )
You can’t perform that action at this time.
0 commit comments