kaxil commented on code in PR #45104:
URL: https://github.com/apache/airflow/pull/45104#discussion_r1893633627


##########
task_sdk/src/airflow/sdk/execution_time/comms.py:
##########
@@ -97,6 +107,10 @@ def from_conn_response(cls, connection_response: 
ConnectionResponse) -> Connecti
 class VariableResult(VariableResponse):
     type: Literal["VariableResult"] = "VariableResult"
 
+    @classmethod
+    def from_variable_response(cls, variable_response: VariableResponse) -> 
VariableResult:
+        return cls(**variable_response.model_dump())

Review Comment:
   Done in 
https://github.com/apache/airflow/pull/45104/commits/08d648c0c0209eec8573c44b350864f454ba7e1f



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