We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 204fd85 commit e2bd4e5Copy full SHA for e2bd4e5
src/sasctl/pzmm/write_score_code.py
@@ -562,12 +562,12 @@ def _viya35_model_load(
562
f'{model_id}/{model_file_name}")))'
563
)
564
else:
565
- if pickle_type.lower() == 'pickle':
+ if pickle_type.lower() == "pickle":
566
self.score_code += (
567
- f'model_path = Path("/models/resources/viya/{model_id}'
568
- f'")\nwith open(model_path / "{model_file_name}", '
569
- f"\"rb\") as pickle_model:\n{'':4}model = pd.read_pickle"
570
- "(pickle_model)\n\n"
+ f'model_path = Path("/models/resources/viya/{model_id}'
+ f'")\nwith open(model_path / "{model_file_name}", '
+ f"\"rb\") as pickle_model:\n{'':4}model = pd.read_pickle"
+ "(pickle_model)\n\n"
571
572
"""
573
model_path = Path("/models/resources/viya/<UUID>")
0 commit comments