hi everyone, I have a simple python script with just simple flow decorator and timeout_seconds parameter for 10sec applied to it but why my flow is working not as expected, it should give me output like TimeOutError but it won't can pls anyone tell me why won't it fail because I delayed it using sleep function
Code here-
"""
from prefect import flow, task
import time
@flow(name="flow-for-timeout", timeout_seconds=10)
def pls_get_timeout():
print("flow is started running")
# sleep function of time module just used to make it delay of 20 second and then fail the flow
time.sleep(20)
print("I won't time out easily buddy")
if name == "__main__":
pls_get_timeout()
"""
Thanks for your help