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 e73ae76 commit de0d925
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions datarequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1895,6 +1895,8 @@ 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:
"""
# Permission check
datarequest_action_permitted(ctx, request_id, ["DM"], [status.APPROVED,
Expand Down Expand Up @@ -1938,6 +1940,8 @@ 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:
"""
# Permission check
datarequest_action_permitted(ctx, request_id, ["OWN"], [status.DTA_READY])
Expand Down

0 comments on commit de0d925

Please sign in to comment.