Skip to content

Commit

Permalink
run graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
prha committed Jan 16, 2025
1 parent eb04b1b commit a81756e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions js_modules/dagster-ui/packages/ui-core/src/graphql/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ class GrapheneRun(graphene.ObjectType):
hasDeletePermission = graphene.NonNull(graphene.Boolean)
hasConcurrencyKeySlots = graphene.NonNull(graphene.Boolean)
rootConcurrencyKeys = graphene.List(graphene.NonNull(graphene.String))
allConcurrencyKeys = graphene.List(graphene.NonNull(graphene.String))
hasUnconstrainedRootNodes = graphene.NonNull(graphene.Boolean)
hasRunMetricsEnabled = graphene.NonNull(graphene.Boolean)

Expand Down Expand Up @@ -622,6 +623,12 @@ def resolve_hasUnconstrainedRootNodes(self, graphene_info: ResolveInfo):

return False

def resolve_allConcurrencyKeys(self, graphene_info: ResolveInfo):
if not self.dagster_run.run_op_concurrency:
return None

return list(self.dagster_run.run_op_concurrency.all_pools)

def resolve_rootConcurrencyKeys(self, graphene_info: ResolveInfo):
if not self.dagster_run.run_op_concurrency:
return None
Expand Down

0 comments on commit a81756e

Please sign in to comment.