Skip to content

Commit

Permalink
Merge pull request #1487 from iafork/iwana-20211201T0643-fix_parser_t…
Browse files Browse the repository at this point in the history
…yping

Fix typing of create_input_source
  • Loading branch information
nicholascar committed Dec 3, 2021
2 parents 4c0b35c + d778235 commit 9379a69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rdflib/parser.py
Expand Up @@ -16,7 +16,7 @@
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
Expand Down Expand Up @@ -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,
):
"""
Expand Down

0 comments on commit 9379a69

Please sign in to comment.