Add RawJSON to simplejson stubs (#5921)

Update METADATA.toml version
This commit is contained in:
jack1142
2021-08-13 17:50:59 +02:00
committed by GitHub
parent 5e0fc46073
commit bfa1d043d7
3 changed files with 5 additions and 1 deletions

View File

@@ -1,2 +1,2 @@
version = "0.1"
version = "3.17"
python2 = true

View File

@@ -2,6 +2,7 @@ from typing import IO, Any, Text, Union
from simplejson.decoder import JSONDecoder as JSONDecoder
from simplejson.encoder import JSONEncoder as JSONEncoder, JSONEncoderForHTML as JSONEncoderForHTML
from simplejson.raw_json import RawJSON as RawJSON
from simplejson.scanner import JSONDecodeError as JSONDecodeError
_LoadsString = Union[Text, bytes, bytearray]

View File

@@ -0,0 +1,3 @@
class RawJSON(object):
encoded_json: str
def __init__(self, encoded_json: str) -> None: ...