Skip to content

Commit

Permalink
black reformatting (EDMMMX-11741)
Browse files Browse the repository at this point in the history
  • Loading branch information
djm21 committed Dec 13, 2024
1 parent 204fd85 commit e2bd4e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/sasctl/pzmm/write_score_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,12 +562,12 @@ def _viya35_model_load(
f'{model_id}/{model_file_name}")))'
)
else:
if pickle_type.lower() == 'pickle':
if pickle_type.lower() == "pickle":
self.score_code += (
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"
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"
)
"""
model_path = Path("/models/resources/viya/<UUID>")
Expand Down

0 comments on commit e2bd4e5

Please sign in to comment.