How to use sleep() in python sdk

I can’t find .sleep() function in temporalio.workflow in python,
is it safe to use asyncio.sleep() directly? or there is another way which temporal support?

Thanks in advance

Yes. We set a deterministic asyncio event loop, so use of asyncio primitives like sleep work. In this case, asyncio.sleep() creates a durable Temporal timer. This is what makes the Temporal Python SDK so powerful. See Temporal Python 1.0.0 – A Durable, Distributed Asyncio Event Loop.

Got it,
Thanks a ton!