dstandish commented on code in PR #37854:
URL: https://github.com/apache/airflow/pull/37854#discussion_r1527915489
##########
airflow/serialization/pydantic/taskinstance.py:
##########
@@ -105,12 +105,13 @@ class TaskInstancePydantic(BaseModelPydantic,
LoggingMixin):
trigger_timeout: Optional[datetime]
next_method: Optional[str]
next_kwargs: Optional[dict]
- run_as_user: Optional[str]
+ run_as_user: Optional[str] = None
Review Comment:
ok i think i mostly resolved this. it's quite ugly (cus so much mypy
assertion). i'm not sure there's really an alternative. PTAL. i can split into
diff PR if desired.
--
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]