Searched refs:only_keys (Results 1 – 4 of 4) sorted by relevance
91 def clear_cache(cls, *, only_keys=None): argument92 if only_keys is not None:93 for key in only_keys:
397 PyObject *only_keys = NULL; in zoneinfo_clear_cache() local401 &only_keys))) { in zoneinfo_clear_cache()408 if (only_keys == NULL || only_keys == Py_None) { in zoneinfo_clear_cache()423 PyObject *iter = PyObject_GetIter(only_keys); in zoneinfo_clear_cache()
225 .. classmethod:: ZoneInfo.clear_cache(*, only_keys=None)231 If an iterable of key names is passed to the ``only_keys`` parameter, only233 ``only_keys`` but not found in the cache are ignored.
1345 self.klass.clear_cache(only_keys=None)1355 self.klass.clear_cache(only_keys=["America/Los_Angeles"])1369 only_keys=["America/Los_Angeles", "Europe/Dublin"]