Page MenuHomeElementl

[dagster-graphql-client] Fix `get_run_status` return type
ClosedPublic

Authored by sidkmenon on Jun 9 2021, 8:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 11, 12:17 AM
Unknown Object (File)
Fri, Feb 24, 7:46 PM
Unknown Object (File)
Tue, Feb 21, 2:35 PM
Unknown Object (File)
Feb 12 2023, 3:47 AM
Unknown Object (File)
Feb 9 2023, 6:54 AM
Unknown Object (File)
Feb 4 2023, 3:33 PM
Unknown Object (File)
Jan 4 2023, 6:30 AM
Unknown Object (File)
Dec 8 2022, 6:55 PM
Subscribers

Details

Summary

Thanks to Dylan Bienstock for pointing this out - the string returned from get_run_status needs to be manually coerced into a PipelineRunStatus object!

Test Plan

bk

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rexledesma added a subscriber: rexledesma.
rexledesma added inline comments.
python_modules/dagster-graphql/dagster_graphql/client/client.py
247

Dict[str, Any] flexible typing got us 😩 wonder if it might be nice to have a tool that will autogen the python types for these queries (if such a thing even exists?)

This revision is now accepted and ready to land.Jun 9 2021, 8:45 PM