I am running the same example found in your documentation to test the timeout in seconds of flows
from prefect import flow
import time
@flow(timeout_seconds=1, log_prints=True)
def show_timeouts():
print("I will execute")
time.sleep(5)
print("I will not execute")
but I get the flow run as completed