mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-29 23:47:22 +08:00
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
This commit is contained in:
1 parent
092fdb2ca5
commit
d11da2c5d1
1 file changed
+1
-1
Vendored
+1
-1
@@ -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: ...
|
||||
|
||||
Reference in new issue
Block a user