Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an official python client to the GraphQL API #2674

Closed
dbendelman opened this issue Jul 1, 2020 · 2 comments
Closed

Create an official python client to the GraphQL API #2674

dbendelman opened this issue Jul 1, 2020 · 2 comments
Assignees
Labels
area: graphql Related to GraphQL API

Comments

@dbendelman
Copy link

Please consider adding an officially maintained and documented python client for the graphql endpoint, e.g.

from dagster_graphql import DagsterGraphQLClient

client = DagsterGraphQLClient(host='localhost', port=9000)
client.launch_pipeline('my_pipeline', config={})

There is already code in the dagster_graphql test suite that implements something akin to a client (example), but all this code is tightly coupled with fairly complex test scaffolding and of course it's not easily usable outside that test suite.

Such a client would be incredibly useful:

  • Pipeline solids launching other pipelines (our particular use case, and a common one from what I see in dagster slack).
  • Easily interact with a dagit server from steps in a CI/CD pipeline.
  • Pave the way for third party control planes for dagit to be written.
  • Simplify dagster's own tests.
@natekupp natekupp added this to the 0.10.0 (planned) milestone Aug 4, 2020
@nancydyc nancydyc added area: integrations Related to general integrations, including requests for a new integration refactor labels Oct 9, 2020
@nancydyc nancydyc added the test label Oct 9, 2020
@nancydyc nancydyc added area: graphql Related to GraphQL API and removed area: integrations Related to general integrations, including requests for a new integration test labels Oct 9, 2020
@mgasner
Copy link
Contributor

mgasner commented Dec 17, 2020

should have documented oauth support

@sidkmenon-zz sidkmenon-zz self-assigned this Mar 9, 2021
@sryza sryza removed this from the 0.10.0 milestone Apr 1, 2021
@sidkmenon-zz
Copy link
Contributor

Should be closed with e929746

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphql Related to GraphQL API
Projects
None yet
Development

No branches or pull requests

7 participants