Update orjson annotations to 2.4.0 (#3737)

This commit is contained in:
ijl
2020-02-14 16:32:24 +00:00
committed by GitHub
parent dd945ee380
commit ea0a9c2bd6

View File

@@ -1,5 +1,3 @@
# https://github.com/ijl/orjson/blob/master/orjson.pyi
from typing import Any, Callable, Optional, Union
__version__ = str
@@ -14,7 +12,11 @@ def loads(__obj: Union[bytes, bytearray, str]) -> Any: ...
class JSONDecodeError(ValueError): ...
class JSONEncodeError(TypeError): ...
OPT_SERIALIZE_DATACLASS: int
OPT_NAIVE_UTC: int
OPT_OMIT_MICROSECONDS: int
OPT_SERIALIZE_DATACLASS: int
OPT_SERIALIZE_NUMPY: int
OPT_SERIALIZE_UUID: int
OPT_SORT_KEYS: int
OPT_STRICT_INTEGER: int
OPT_UTC_Z: int