diff options
| author | nicholascar <nicholas.car@surroundaustralia.com> | 2021-12-03 22:17:30 +1000 |
|---|---|---|
| committer | nicholascar <nicholas.car@surroundaustralia.com> | 2021-12-03 22:17:30 +1000 |
| commit | 96ccb408e5ed2d48b72af81ff38cb56c20f7e0d5 (patch) | |
| tree | 0aa0039663b32ea86e3f93a19eb2c5659850b3e4 | |
| parent | 64e3e311fe0550e62573713eb9eeb86b3f799dcb (diff) | |
| parent | 9379a69d6ec6e18819aa0c5a0d54849e7abb8223 (diff) | |
| download | rdflib-96ccb408e5ed2d48b72af81ff38cb56c20f7e0d5.tar.gz | |
Merge branch 'master' into hextuples
| -rw-r--r-- | rdflib/parser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rdflib/parser.py b/rdflib/parser.py index b8dfdf62..2a2875d9 100644 --- a/rdflib/parser.py +++ b/rdflib/parser.py @@ -16,7 +16,7 @@ import pathlib import sys from io import BytesIO, TextIOBase, TextIOWrapper, StringIO, BufferedIOBase -from typing import Optional, Union +from typing import Any, Dict, Optional, Union from urllib.request import Request from urllib.request import url2pathname @@ -258,7 +258,7 @@ def create_input_source( publicID=None, location=None, file=None, - data: Optional[Union[str, bytes, bytearray]] = None, + data: Optional[Union[str, bytes, bytearray, Dict[Any, Any]]] = None, format=None, ): """ |
