We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 543c6d2 commit 0497057Copy full SHA for 0497057
1 file changed
lib/pyld/jsonld.py
@@ -23,7 +23,7 @@
23
import warnings
24
import uuid
25
26
-from typing import Optional, Callable
+from typing import Optional, Callable, Any
27
from pyld.canon import URDNA2015, URGNA2012, UnknownFormatError
28
from pyld.nquads import ParserError, parse_nquads, to_nquad, to_nquads
29
from pyld.identifier_issuer import IdentifierIssuer
@@ -124,8 +124,7 @@
124
INITIAL_CONTEXTS = {}
125
126
# Handler to call if a key was dropped during expansion
127
-OnKeyDropped = Callable[[Optional[str]], ...]
128
-
+OnKeyDropped = Callable[[Optional[str]], Any]
129
130
def log_on_key_dropped(key: Optional[str]):
131
"""Default behavior on ignored JSON-LD keys is to log them."""
0 commit comments