Is there any way to remotely launch a pipeline run...
# announcements
a
Is there any way to remotely launch a pipeline run on a dagster instance with a http request?
s
Without knowing more details I would just use our graphql interface
a
I had a feeling that would be the way. No experience with graphQL but I think I can manage this by studying
dagster_graphql/client/*execute.py*
s
a cli utility that points to a remote server and allows you do to basic commands is definitely a reasonable feature request
👍 1
a
my plan is to actually issue this request from a Google App Script, so a cli utility wouldnt work
My users will consume data from a google sheet, so I plan on putting a button there that launches the pipeline that updates the spreadsheet
🦜 1
t
I've got a similar use case in mind for being able to trigger pipeline runs from an S3 event trigger, so I'll be looking at the API for my options there.
s
@Auster Cid so is that just a python API? I've never scripted gsheets
a
Google Script is kinda like javascript AFAIK. It is quite limited in what it can do so I think the best bet would be to trigger the launch with an HTTP request, if thats possible
s
yup
http request against dagit is going to be the way to go
w
I've got a similar use case, here's what's working for me in case it helps anyone: https://gist.github.com/w-bonelli/ac73d9430236b1947a4a202ad1143392
a
tyvm @wbonelli!
👍 1