From d11da2c5d135d93eeaf6c4ed905a384f9987f466 Mon Sep 17 00:00:00 2001 From: Gal Ben David Date: Wed, 20 May 2020 19:11:39 +0300 Subject: [PATCH] revert orjson.pyi obj parameter (#4046) After submitting a pull request to orjson repository, the author has changed the library and "obj" parameter is now positional only. Not this behavior is aligned with the stub file and the change can be reverted. https://github.com/ijl/orjson/releases/tag/3.0.1 --- third_party/3/orjson.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/3/orjson.pyi b/third_party/3/orjson.pyi index 439adae1d..cd35c5f0a 100644 --- a/third_party/3/orjson.pyi +++ b/third_party/3/orjson.pyi @@ -3,7 +3,7 @@ from typing import Any, Callable, Optional, Union __version__ = str def dumps( - obj: Any, + __obj: Any, default: Optional[Callable[[Any], Any]] = ..., option: Optional[int] = ..., ) -> bytes: ...