-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Closed
Labels
AIP-31Task Flow API for nicer DAG definitionTask Flow API for nicer DAG definitionkind:featureFeature RequestsFeature Requests
Description
Description
Output property should return the default XComArg for the operator (using return_value as key).
Use case / motivation
It can be used to get XComArg of an operator without needing to directly initialize XComArg explicitly.
get_ip = SimpleHttpOperator(
task_id='get_ip', endpoint='get', method='GET', xcom_push=True
)
send_email = EmailOperator(
task_id='send_email',
to="[email protected]",
subject='',
html_content=get_ip.output
)
Related Issues
Blocked by #8052
match-gabeflores
Metadata
Metadata
Assignees
Labels
AIP-31Task Flow API for nicer DAG definitionTask Flow API for nicer DAG definitionkind:featureFeature RequestsFeature Requests