pydantic-core icon indicating copy to clipboard operation
pydantic-core copied to clipboard

`TzInfo` should be instantiable without any arguments

Open Viicos opened this issue 4 months ago • 0 comments

As per the documentation:

Special requirement for pickling: A tzinfo subclass must have an __init__() method that can be called with no arguments, otherwise it can be pickled but possibly not unpickled again. This is a technical requirement that may be relaxed in the future.

Viicos avatar Jun 24 '25 08:06 Viicos