mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Update orjson annotations to 2.4.0 (#3737)
This commit is contained in:
8
third_party/3/orjson.pyi
vendored
8
third_party/3/orjson.pyi
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user