potiuk commented on code in PR #25242:
URL: https://github.com/apache/airflow/pull/25242#discussion_r928136556


##########
airflow/decorators/base.py:
##########
@@ -531,6 +531,9 @@ def expand(self, **kwargs: "Mappable") -> XComArg:
     def partial(self, **kwargs: Any) -> "Task[Function]":
         ...
 
+    def override(self, **kwargs: Any) -> "_TaskDecorator[Function, 
OperatorSubclass]":

Review Comment:
   Yeah I saw similar behaviour happening more frequently since we 
https://github.com/apache/airflow/pull/25088 - there are more cases when "small 
set of files changed" produced different result than "big set of files". I will 
investigate if we can make MyPy more "greedy" in terms of considering bigger 
set of files and searching "deeper" if only few files changed - because 
ultimately I think this is what's happening, that MyPy is not getting all the 
information neded to arrive to the same conclusion about parsing.
   
   I will look a bit deeer on how MyPy makes it's decisions and maybe we can 
improve some of this "partial changes mypy" experience.



-- 
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