Skip to content

Commit

Permalink
fix lint, remove returns in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
FuHsinyu committed Jan 8, 2025
1 parent 29bf2d4 commit e73ae76
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions datarequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1895,8 +1895,6 @@ def api_datarequest_dta_post_upload_actions(ctx: rule.Context, request_id: str,
:param ctx: Combined type of a callback and rei struct
:param request_id: Unique identifier of the data request
:param filename: Filename of DTA
:returns: API result
"""
# Permission check
datarequest_action_permitted(ctx, request_id, ["DM"], [status.APPROVED,
Expand Down Expand Up @@ -1940,8 +1938,6 @@ def api_datarequest_signed_dta_upload_permission(ctx: rule.Context, request_id:
:param request_id: Unique identifier of the data request
:param action: String specifying whether write permission must be granted ("grant") or
revoked ("revoke")
:returns: API result
"""
# Permission check
datarequest_action_permitted(ctx, request_id, ["OWN"], [status.DTA_READY])
Expand Down

0 comments on commit e73ae76

Please sign in to comment.