pydantic-core
pydantic-core copied to clipboard
`TzInfo` should be instantiable without any arguments
As per the documentation:
Special requirement for pickling: A
tzinfosubclass 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.