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

Pass loading context through _blocking_batch_load #25377

Open
wants to merge 1 commit into
base: briantu/make-compute-subset-async
Choose a base branch
from

Conversation

briantu
Copy link
Contributor

@briantu briantu commented Oct 18, 2024

Summary & Motivation

This lets us use the loading_context for get_asset_status_cache_values, which saves us from needing to re-fetch the asset records in here again.

Copied from demo PR #25270

How I Tested These Changes

Perf test before/after

pytest python_modules/dagster/dagster_tests/definitions_tests/declarative_automation_tests/perf_tests/test_perf.py

Copy link
Contributor Author

briantu commented Oct 18, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @briantu and the rest of your teammates on Graphite Graphite

@briantu briantu force-pushed the briantu/make-compute-subset-async branch from 9291fd1 to 9be1378 Compare October 18, 2024 23:03
@briantu briantu force-pushed the briantu/pass-loading-context-in-batch branch from 18a7084 to c6bd3cd Compare October 18, 2024 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant