Skip to content

Commit

Permalink
Update doc strings and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kamalq97 committed Oct 31, 2024
1 parent 44a93b1 commit 1fb61d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Packs/Slack/Integrations/SlackV3/SlackV3.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def validate_slack_request_args(

def send_slack_request_sync(
client: slack_sdk.WebClient,
method: str = '',
method: str = '', # irrelevant when file_upload_params are specified
http_verb: ALLOWED_HTTP_VERBS = 'POST',
body: Optional[dict] = None,
file_upload_params: Optional[FileUploadParams] = None,
Expand All @@ -506,7 +506,7 @@ def send_slack_request_sync(
Args:
client: The Synchronous Slack client.
method: The Slack web API method to use (not relevant when file_upload_params are specified).
method: The Slack web API method to use (irrelevant when file_upload_params are specified).
http_verb: The HTTP method to use.
body: The request body.
file_upload_params: An instance of FileUploadParams (for uploading using the file-upload APIs).
Expand Down Expand Up @@ -550,7 +550,7 @@ def send_slack_request_sync(

async def send_slack_request_async(
client: AsyncWebClient,
method: str = '',
method: str = '', # irrelevant when file_upload_params are specified
http_verb: ALLOWED_HTTP_VERBS = 'POST',
body: Optional[dict] = None,
file_upload_params: Optional[FileUploadParams] = None,
Expand All @@ -560,7 +560,7 @@ async def send_slack_request_async(
Args:
client: The Asynchronous Slack client.
method: The Slack web API method to use (not relevant when file_upload_params are specified).
method: The Slack web API method to use (irrelevant when file_upload_params are specified).
http_verb: The HTTP method to use.
body: The request body.
file_upload_params: An instance of FileUploadParams (for uploading using the file upload APIs).
Expand Down

0 comments on commit 1fb61d0

Please sign in to comment.