-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
branch-name: partition-set-to-job/graphql
- Loading branch information
Showing
10 changed files
with
560 additions
and
55 deletions.
There are no files selected for viewing
29 changes: 25 additions & 4 deletions
29
js_modules/dagster-ui/packages/ui-core/src/graphql/schema.graphql
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
85 changes: 85 additions & 0 deletions
85
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.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
python_modules/dagster-graphql/dagster_graphql/schema/partition_keys.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import graphene | ||
|
||
from dagster_graphql.schema.errors import GrapheneError | ||
|
||
from .util import non_null_list | ||
|
||
|
||
class GraphenePartitionKeys(graphene.ObjectType): | ||
partitionKeys = non_null_list(graphene.String) | ||
|
||
class Meta: | ||
name = "PartitionKeys" | ||
|
||
|
||
class GraphenePartitionSubsetDeserializationError(graphene.ObjectType): | ||
message = graphene.NonNull(graphene.String) | ||
|
||
class Meta: | ||
interfaces = (GrapheneError,) | ||
name = "PartitionSubsetDeserializationError" | ||
|
||
|
||
class GraphenePartitionKeysOrError(graphene.Union): | ||
class Meta: | ||
types = (GraphenePartitionKeys, GraphenePartitionSubsetDeserializationError) | ||
name = "PartitionKeysOrError" |
Oops, something went wrong.