Page MenuHomeElementl

[dagster-graphql][client] Fixing `reload_repository_location` and `submit_pipeline_execution`
ClosedPublic

Authored by sidkmenon on May 10 2021, 9:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 11, 11:22 AM
Unknown Object (File)
May 6 2023, 11:25 PM
Unknown Object (File)
Apr 28 2023, 4:37 PM
Unknown Object (File)
Apr 10 2023, 10:21 PM
Unknown Object (File)
Apr 4 2023, 9:00 PM
Unknown Object (File)
Apr 4 2023, 3:53 AM
Unknown Object (File)
Mar 27 2023, 7:44 PM
Unknown Object (File)
Mar 18 2023, 2:15 PM
Subscribers

Details

Summary

This diff addresses GH issue 4131, in which @owen found that reload_repository_location was missing cases in the inline fragments in the underlying GraphQL query (and as a result the client would have a runtime error). When fixing this I also discovered a similar missing case for the submit_pipeline_execution method.

Also working on something to programmatically ensure that all inline fragment cases are covered for the client queries so we don't experience a regression in the future, but this diff should be enough to solve the 4131 issue.

Test Plan

bk (added new tests for the formerly missing cases for reloadRepositoryLocation and launchPipelineExecution)

Diff Detail

Repository
R1 dagster
Branch
issue-4131 (branched from master)
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.May 10 2021, 10:51 PM
rexledesma added inline comments.
docs/content/concepts/dagit/graphql-client.mdx
92

nit

python_modules/dagster-graphql/dagster_graphql/client/client.py
114

This should be more specific

This revision now requires changes to proceed.May 10 2021, 11:02 PM
sidkmenon marked 2 inline comments as done.

rebasing & addressing comments

python_modules/dagster-graphql/dagster_graphql/client/client.py
114

not sure what this description should be, so just asked in slack. Will update ASAP.

python_modules/dagster-graphql/dagster_graphql/client/client.py
114

Updated now with description thanks to alex's help!

This revision is now accepted and ready to land.May 11 2021, 5:40 PM