Skip to content

Commit b3f4358

Browse files
committed
Use gateway with score_model_with_cas call
1 parent b7210ab commit b3f4358

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sasctl/tasks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,7 @@ def score_model_with_cas(
980980
server_name: str = "cas-shared-default",
981981
library_name: str = "Public",
982982
model_version: str = "latest",
983+
use_cas_gateway: bool = False
983984
):
984985
score_definition = sd.create_score_definition(
985986
score_def_name,
@@ -990,6 +991,7 @@ def score_model_with_cas(
990991
server_name=server_name,
991992
library_name=library_name,
992993
model_version=model_version,
994+
use_cas_gateway=use_cas_gateway
993995
)
994996
score_execution = se.create_score_execution(score_definition.id)
995997
score_execution_poll = se.poll_score_execution_state(score_execution)

0 commit comments

Comments
 (0)