From de0d9257465757cffed8aac3651a0e193c8af555 Mon Sep 17 00:00:00 2001 From: FuHsinyu Date: Wed, 8 Jan 2025 13:46:45 +0100 Subject: [PATCH] fix lint, remove returns in docstring --- datarequest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/datarequest.py b/datarequest.py index 32a8ed919..f96fe3431 100644 --- a/datarequest.py +++ b/datarequest.py @@ -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, @@ -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])