MCPcopy Create free account
hub / github.com/python-arq/arq / timestamp_ms

Function timestamp_ms

arq/utils.py:29–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28
29def timestamp_ms() -> int:
30 return as_int(time() * 1000)
31
32
33def to_unix_ms(dt: datetime) -> int:

Callers 9

test_defer_byFunction · 0.90
enqueue_jobMethod · 0.85
statusMethod · 0.85
abortMethod · 0.85
_poll_iterationMethod · 0.85
_cancel_aborted_jobsMethod · 0.85
start_jobsMethod · 0.85
run_jobMethod · 0.85
job_failedMethod · 0.85

Calls 1

as_intFunction · 0.85

Tested by 1

test_defer_byFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…