ashb commented on code in PR #44725:
URL: https://github.com/apache/airflow/pull/44725#discussion_r1873340676


##########
task_sdk/src/airflow/sdk/execution_time/comms.py:
##########
@@ -138,7 +138,9 @@ class PutVariable(BaseModel):
     type: Literal["PutVariable"] = "PutVariable"
 
 
+RTIFPayload = RootModel[dict[str, Optional[str]]]

Review Comment:
   So in this case we can't use a root model, as we need a `type` parameter on 
the request to know what kind of object we get. (I 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to