From ea0a9c2bd6f6a69c3e49b47870e0109d98316fc6 Mon Sep 17 00:00:00 2001 From: ijl Date: Fri, 14 Feb 2020 16:32:24 +0000 Subject: [PATCH] Update orjson annotations to 2.4.0 (#3737) --- third_party/3/orjson.pyi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/third_party/3/orjson.pyi b/third_party/3/orjson.pyi index b71877212..375847055 100644 --- a/third_party/3/orjson.pyi +++ b/third_party/3/orjson.pyi @@ -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