MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / _timezone

Function _timezone

tests/test_codecs.py:23–25  ·  view source on GitHub ↗
(offset)

Source from the content-addressed store, hash-verified

21
22
23def _timezone(offset):
24 minutes = offset // 60
25 return datetime.timezone(datetime.timedelta(minutes=minutes))
26
27
28def _system_timezone():

Callers 1

test_codecs.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…