amoghrajesh commented on code in PR #45104:
URL: https://github.com/apache/airflow/pull/45104#discussion_r1893627932
##########
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:
Can we add the docstring like xcoms for this and connection?
--
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]