Skip to content

Commit

Permalink
Add default value for pipeline id
Browse files Browse the repository at this point in the history
  • Loading branch information
roquelopez committed Oct 26, 2023
1 parent 161817c commit fc614c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alpha_automl/automl_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def _score(self, X, y, pipeline_id):

return {'metric': self.metric, 'score': score}

def get_serialized_pipeline(self, pipeline_id):
def get_serialized_pipeline(self, pipeline_id=None):
pipeline = self.get_pipeline(pipeline_id)
try:
check_is_fitted(pipeline)
Expand Down

0 comments on commit fc614c2

Please sign in to comment.