Updated VariableOperations and ConnectionOperations in Client:
Added get methods for fetching variable and connection details.
Refactored communication protocol (comms.py):
Unified result models (ConnectionResult, VariableResult, XComResult) extending auto-generated models.
Renamed ReadXCom to GetXCom for consistency with other request models (GetConnection, GetVariable).
Updated WatchedSubprocess in supervisor.py:
Integrated handle_requests to process GetVariable and GetConnection messages.
and some minor refactors -- check inline comments
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.
VariableOperations
andConnectionOperations
inClient
:get
methods for fetching variable and connection details.comms.py
):ConnectionResult
,VariableResult
,XComResult
) extending auto-generated models.ReadXCom
toGetXCom
for consistency with other request models (GetConnection
,GetVariable
).WatchedSubprocess
insupervisor.py
:handle_requests
to processGetVariable
andGetConnection
messages.and some minor refactors -- check inline comments
^ Add meaningful description above Read the Pull Request Guidelines for more information. In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed. In case of a new dependency, check compliance with the ASF 3rd Party License Policy. In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.