subkanthi commented on a change in pull request #17247:
URL: https://github.com/apache/airflow/pull/17247#discussion_r678331597



##########
File path: airflow/providers/slack/operators/slack.py
##########
@@ -161,15 +161,25 @@ class SlackAPIFileOperator(SlackAPIOperator):
 
     .. code-block:: python
 
+        # Send file with filename and filetype
         slack = SlackAPIFileOperator(
-            task_id="slack_file_upload",
-            dag=dag,
-            slack_conn_id="slack",
-            channel="#general",
-            initial_comment="Hello World!",
-            filename="hello_world.csv",
-            filetype="csv",
-            content="hello,world,csv,file",
+           task_id="slack_file_upload",

Review comment:
       @uranusjr Thats the sample code for the docs, I can fix it.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to