Skip to content

Commit

Permalink
black reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
djm21 committed Oct 28, 2024
1 parent b3f4358 commit fa4de17
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/sasctl/_services/score_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@


class ScoreDefinitions(Service):

"""
Used for creating and maintaining score definitions.
Expand Down
1 change: 0 additions & 1 deletion src/sasctl/_services/score_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@


class ScoreExecution(Service):

"""
The Score Execution API is used to produce a score by
executing the mapped code generated by score objects using the score definition.
Expand Down
4 changes: 2 additions & 2 deletions src/sasctl/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ def score_model_with_cas(
server_name: str = "cas-shared-default",
library_name: str = "Public",
model_version: str = "latest",
use_cas_gateway: bool = False
use_cas_gateway: bool = False,
):
score_definition = sd.create_score_definition(
score_def_name,
Expand All @@ -991,7 +991,7 @@ def score_model_with_cas(
server_name=server_name,
library_name=library_name,
model_version=model_version,
use_cas_gateway=use_cas_gateway
use_cas_gateway=use_cas_gateway,
)
score_execution = se.create_score_execution(score_definition.id)
score_execution_poll = se.poll_score_execution_state(score_execution)
Expand Down

0 comments on commit fa4de17

Please sign in to comment.