https://flyte.org logo
Title
d

David Cupp

12/21/2022, 6:51 PM
Sorry in advance if this is answered somewhere in the docs: is there any idempotency when launching jobs via the API? I believe this is the request to launch a "Launch Plan": https://docs.flyte.org/projects/flyteidl/en/latest/protos/docs/admin/admin.html#ref-flyteidl-admin-executioncreaterequest ....but I can't tell what the behavior is if, for example, two duplicate requests arrive within minutes of each other. Does the
name
parameter, or something in the
ExecutionSpec
cause them to be deduplicated?
k

Ketan (kumare3)

12/21/2022, 7:08 PM
if you give it a consistent name, the name itselfs serves as the idempotency token
great question
d

David Cupp

12/21/2022, 7:08 PM
Oh great I was hoping to hear that, thanks!