bolkedebruin commented on PR #22253:
URL: https://github.com/apache/airflow/pull/22253#issuecomment-1884432760

   Almost there @hamedhsn !
   
   ```
   airflow/providers/cncf/kubernetes/operators/custom_object_launcher.py:106: 
error:
   Incompatible default for argument "driver" (default has type "None", argument
   has type "Dict[Any, Any]")  [assignment]
               driver: dict = None,
                              ^~~~
   airflow/providers/cncf/kubernetes/operators/custom_object_launcher.py:106: 
note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its 
default to no_implicit_optional=True
   airflow/providers/cncf/kubernetes/operators/custom_object_launcher.py:106: 
note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically 
upgrade your codebase
   airflow/providers/cncf/kubernetes/operators/custom_object_launcher.py:107: 
error:
   Incompatible default for argument "executor" (default has type "None", 
argument
   has type "Dict[Any, Any]")  [assignment]
               executor: dict = None,
                                ^~~~
   airflow/providers/cncf/kubernetes/operators/custom_object_launcher.py:107: 
note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its 
default to no_implicit_optional=True
   airflow/providers/cncf/kubernetes/operators/custom_object_launcher.py:107: 
note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically 
upgrade your codebase
   ```


-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to