Skip to content

Commit e74510a

Browse files
committed
fix: use instance methods & variables when manipulating model data
1 parent 5f79aeb commit e74510a

File tree

2 files changed

+133
-143
lines changed

2 files changed

+133
-143
lines changed

src/sasctl/pzmm/import_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def import_model(
360360
# For SAS Viya 4, the score code can be written beforehand and imported with
361361
# all the model files
362362
elif current_session().version_info() == 4:
363-
score_code_dict = sc.write_score_code(
363+
score_code_dict = sc().write_score_code(
364364
model_prefix,
365365
input_data,
366366
predict_method,

0 commit comments

Comments
 (0)