do we have an access to the retry counter to make ...
# pacc-aug-28-29-2024
i
do we have an access to the retry counter to make some logics around it?
j
Yes.
4
Copy code
from prefect import flow
from prefect.runtime import flow_run

@flow()
def my_flow():
    flow_run.get_run_count()


if __name__=="__main__":
    my_flow()
👀 1