Skip to content

Commit a6b14fe

Browse files
committed
CH-226 fix workflows API endpoint
1 parent 52f6d23 commit a6b14fe

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

applications/workflows/server/workflows_api/controllers/create_and_access_controller.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def get_operation(name): # noqa: E501
5151
return f'Unexpected error', e.status
5252

5353

54-
def list_operations(status=None, previous_search_token=None, limit=None, body=None): # noqa: E501
54+
def list_operations(status=None, previous_search_token=None, limit=None): # noqa: E501
5555
"""lists operations
5656
5757
see all operations for the user # noqa: E501
@@ -62,8 +62,6 @@ def list_operations(status=None, previous_search_token=None, limit=None, body=No
6262
:type previous_search: dict | bytes
6363
:param limit: maximum number of records to return per page
6464
:type limit: int
65-
:param body: unused body parameter (Connexion compatibility)
66-
:type body: dict | bytes
6765
6866
:rtype: OperationSearchResult
6967
"""

libraries/cloudharness-common/cloudharness/utils/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def default(self, o):
3535
attr = o.attribute_map[attr]
3636
dikt[attr] = value
3737
return dikt
38-
return DefaultJSONProvider.default(self, o)
38+
return super().default(o)
3939

4040
def dumps(self, obj, **kwargs):
4141
"""Override dumps to ensure our default method is used

0 commit comments

Comments
 (0)