
## Events when lineage is created

URL: https://docs.atlan.com/product/capabilities/build-apps/sdks/python/events/references/triggers/lineage-created

> Reference for lineage creation event triggers in the Atlan Python SDK (pyatlan). Understand ENTITY_CREATE and ENTITY_UPDATE events for event-driven integrations.

# Events when lineage is created

When lineage between [assets](https://docs.atlan.com/llms/platform/python/build-your-first-metadata-workflow/llms.txt) is created in Atlan, the following events can be emitted.

## `ENTITY_CREATE`

Atlan always emits an [`ENTITY_CREATE`](https://docs.atlan.com/llms/platform/python/entity-create/llms.txt) event for the lineage process. The details in the event are for the process that represents the lineage flow.

## `ENTITY_UPDATE`

Atlan will also emit an [`ENTITY_UPDATE`](https://docs.atlan.com/llms/platform/python/entity-update/llms.txt) event for each input and output involved in the lineage process.

> *More details — see full content on the documentation site.*

---
