Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dagster-airlift][federation-tutorial] Add executable stage to federation tutorial #25879

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

dpeng817
Copy link
Contributor

@dpeng817 dpeng817 commented Nov 12, 2024

Summary & Motivation

Adds an additional stage to the federation tutorial where we actually make the downstream asset executable and add an automation condition.

This was referenced Nov 12, 2024
Comment on lines +86 to +89
defs = Definitions(
assets=[load_customers_dag_asset, run_customer_metrics],
sensors=[upstream_sensor, downstream_sensor],
)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The automation_sensor is defined on line 77 but not included in the Definitions object. Please add it to the sensors list:

defs = Definitions(
    assets=[load_customers_dag_asset, run_customer_metrics],
    sensors=[upstream_sensor, downstream_sensor, automation_sensor],
)

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

@dpeng817 dpeng817 marked this pull request as ready for review November 12, 2024 17:35
Copy link

graphite-app bot commented Nov 13, 2024

Graphite Automations

"Add a 'docs-to-migrate' label to PRs with docs" took an action on this PR • (11/13/24)

1 label was added to this PR based on Christopher DeCarolis's automation.

Base automatically changed from dpeng817/add_initial_stage to dpeng817/federation-tutorial November 14, 2024 18:10
@dpeng817 dpeng817 merged commit 3ac09db into dpeng817/federation-tutorial Nov 14, 2024
1 check was pending
@dpeng817 dpeng817 deleted the dpeng817/executable_stage branch November 14, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-to-migrate Docs to migrate to new docs site
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants