You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/01 07:45:09 UTC

[GitHub] [airflow] uranusjr commented on a change in pull request #19918: Fix mypy errors in example DAGs

uranusjr commented on a change in pull request #19918:
URL: https://github.com/apache/airflow/pull/19918#discussion_r759926403



##########
File path: airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py
##########
@@ -14,6 +14,10 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+
+# Ignore mypy argument checking. Some operator args will be passed via ``default_args``.
+# type: ignore[call-arg]

Review comment:
       I think instead of ignoring like this, we should probably “fix” `@task` to make these not fail in the first place.




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org