Skip to content

Asset event is not created for asset decorator Dag #46958

@atul-astronomer

Description

@atul-astronomer

Apache Airflow version

main (development)

If "Other Airflow 2 version" selected, which one?

No response

What happened?

Asset event should be created when user triggers a Dag which is defined using asset decorator.

Image Image Image

What you think should happen instead?

An asset event should be created since asset defined using asset decorator is outlet asset by default.

How to reproduce

Trigger the below Dag and check for asset events.

@asset(schedule=None)
def asset_decorator():
    pass

Operating System

Linux

Versions of Apache Airflow Providers

No response

Deployment

Other

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions