MCPcopy
hub / github.com/tortoise/tortoise-orm / _reset_timezone_cache

Function _reset_timezone_cache

tortoise/timezone.py:82–86  ·  view source on GitHub ↗

Reset timezone cache. For internal use only.

()

Source from the content-addressed store, hash-verified

80
81
82def _reset_timezone_cache() -> None:
83 """Reset timezone cache. For internal use only."""
84 get_default_timezone.cache_clear()
85 get_use_tz.cache_clear()
86 get_timezone.cache_clear()
87
88
89def _get_or_parse_timezone(timezone: tzinfo | str | None = None) -> tzinfo:

Callers 2

_init_timezoneMethod · 0.90
_init_timezoneMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…