jmcarp commented on issue #8145: Drop redundant project id null checks.
URL: https://github.com/apache/airflow/pull/8145#issuecomment-609452801
 
 
   I added a simple mypy plugin to preserve types for decorated functions, and 
to update types when decorators change function signatures. For example, 
`fallback_to_default_project_id` effectively changes the type of the 
`project_id` argument from `str` to `Optional[str]`. This also fixes the 
problem of decorators changing the types of all decorated callables to 
`Callable[..., Any]`. Still a WIP, but what do you think?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to