durable_now
Returns the current time for every unique invocation of durable_time. If the same invocation is encountered the previously returned time is returned again, ensuring determinism. Similar to using datetime.now() just durable! Returns: datetime.datetime
@syncify
@flyte.trace
async def durable_now() -> datetime: ...
Returns the current time for every unique invocation of durable_time. If the same invocation is encountered the previously returned time is returned again, ensuring determinism. Similar to using datetime.now() just durable!
Returns
| Type | Description |
|---|---|
datetime | The current time for a unique invocation, or the previously returned time if encountered again to ensure determinism. |