Skip to content

Commit 48c2e8a

Browse files
committed
Fix mismatch of parameters in Execution.from_response_json
1 parent e011c18 commit 48c2e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: python/hopsworks_common/execution.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __init__(
6666
self._execution_api = execution_api.ExecutionsApi(project_id)
6767

6868
@classmethod
69-
def from_response_json(cls, json_dict, project_id, job):
69+
def from_response_json(cls, json_dict, project_id=None, job=None):
7070
json_decamelized = humps.decamelize(json_dict)
7171
if "count" not in json_decamelized:
7272
return cls(**json_decamelized, project_id=project_id, job=job)

0 commit comments

Comments
 (0)