Skip to content

Commit 235533f

Browse files
committed
fix nonnull type issue
1 parent 62a4bcb commit 235533f

4 files changed

Lines changed: 15 additions & 12 deletions

File tree

js_modules/dagster-ui/packages/ui-core/src/asset-data/types/AssetHealthDataProvider.types.ts

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js_modules/dagster-ui/packages/ui-core/src/graphql/schema.graphql

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js_modules/dagster-ui/packages/ui-core/src/graphql/types.ts

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python_modules/dagster-graphql/dagster_graphql/schema/asset_health.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class GrapheneAssetHealthMaterializationDegradedPartitionedMeta(graphene.ObjectT
9191
numFailedPartitions = graphene.NonNull(graphene.Int)
9292
numMissingPartitions = graphene.NonNull(graphene.Int)
9393
totalNumPartitions = graphene.NonNull(graphene.Int)
94-
failedRunId = graphene.NonNull(graphene.String)
94+
failedRunId = graphene.String()
9595

9696
class Meta:
9797
name = "AssetHealthMaterializationDegradedPartitionedMeta"
@@ -100,14 +100,14 @@ class Meta:
100100
class GrapheneAssetHealthMaterializationHealthyPartitionedMeta(graphene.ObjectType):
101101
numMissingPartitions = graphene.NonNull(graphene.Int)
102102
totalNumPartitions = graphene.NonNull(graphene.Int)
103-
latestRunId = graphene.NonNull(graphene.String)
103+
latestRunId = graphene.String()
104104

105105
class Meta:
106106
name = "AssetHealthMaterializationHealthyPartitionedMeta"
107107

108108

109109
class GrapheneAssetHealthMaterializationDegradedNotPartitionedMeta(graphene.ObjectType):
110-
failedRunId = graphene.NonNull(graphene.String)
110+
failedRunId = graphene.String()
111111

112112
class Meta:
113113
name = "AssetHealthMaterializationDegradedNotPartitionedMeta"

0 commit comments

Comments
 (0)