mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +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:
2
third_party/3/orjson.pyi
vendored
2
third_party/3/orjson.pyi
vendored
@@ -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