Skip to content

Commit 2785c57

Browse files
committed
cleanup
1 parent c17e0a4 commit 2785c57

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

src/sasctl/_services/model_management.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def create_performance_definition(self,
156156
"""
157157
from .model_repository import ModelRepository
158158

159-
if '_' in table_prefix:
159+
if not scoring_required and '_' in table_prefix:
160160
raise ValueError(
161161
"Parameter 'table_prefix' cannot contain underscores."
162162
" Received a value of '%s'.") % table_prefix

src/sasctl/tasks.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -547,17 +547,6 @@ def update_performance(data, model, label, exec=True):
547547

548548
return tbl
549549

550-
"""
551-
Use one of the following formats for the name of the data table that you use as a data source, or for the name of the data tables that are located in the selected library.
552-
553-
prefix_sequenceNumber_timeLabel
554-
prefix_sequenceNumber_timeLabel_modelUUID
555-
prefix_sequenceNumber_timeLabel_modelUUID_modelRole
556-
557-
Note: When you select both User provides scored data and Use a library that contains tables with a specified prefix, your data table names must contain the UUID of the model. Valid values for the model role are “champion” or “challenger”.
558-
"""
559-
pass
560-
561550

562551
def _parse_module_url(msg):
563552
try:

0 commit comments

Comments
 (0)