-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat: graphql add Run.hasRunMetricsEnabled field #24662
feat: graphql add Run.hasRunMetricsEnabled field #24662
Conversation
python_modules/dagster-graphql/dagster_graphql/schema/pipelines/pipeline.py
Show resolved
Hide resolved
python_modules/dagster-graphql/dagster_graphql/schema/pipelines/pipeline.py
Outdated
Show resolved
Hide resolved
ec2435b
to
5a113df
Compare
python_modules/dagster-graphql/dagster_graphql/schema/pipelines/pipeline.py
Outdated
Show resolved
Hide resolved
Deploy preview for dagster-university ready! ✅ Preview Built with commit 5a113df. |
3eff5c2
to
e51900f
Compare
5a113df
to
60cdf38
Compare
e51900f
to
d338339
Compare
60cdf38
to
ac750f9
Compare
Use the new GraphQL hasRunMetricsEnabled field created in #24662 to condition visibility of run metrics in action menu
d338339
to
6c246bc
Compare
ac750f9
to
9f6cc7e
Compare
Use the new GraphQL hasRunMetricsEnabled field created in #24662 to condition visibility of run metrics in action menu
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit 16514f6. |
6c246bc
to
29e1dc3
Compare
9f6cc7e
to
61bff7c
Compare
Use the new GraphQL hasRunMetricsEnabled field created in #24662 to condition visibility of run metrics in action menu
61bff7c
to
16514f6
Compare
Use the new GraphQL hasRunMetricsEnabled field created in #24662 to condition visibility of run metrics in action menu
Summary & Motivation
This change introduces a new field
hasRunMetricsEnabled
to the GrapheneRun type in the GraphQL schema. It allows clients to query whether run metrics are enabled for a specific run. The implementation checks for the presence of run metric tags and their boolean values.This enables hiding the run metrics tag to declutter the frontend of this implementation detail.
How I Tested These Changes
Changelog
NOCHANGELOG