Does anyone have an example of providing an op ret...
# ask-community
z
Does anyone have an example of providing an op retry policy on an op invocation? the docs mention this pattern but I haven't been able to find any examples of it, and when I try to just feed in the retry policy to the op invocation I get an error expecting retry_policy to be an input from an upstream op (which is kinda what I thought would happen) - example:
Copy code
@graph
def trigger_graph():
    job_args = setup_job_args()
    run_now(job_args, retry_policy=RetryPolicy())
z
lol perfect, thanks a bunch!
p
Yes, we should point to
with_retry_policy
in the docs
@Dagster Bot docs add examples of
with_retry_policy
for specifying retries on op invocations
d