summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Car <nicholas.car@surroundaustralia.com>2022-01-04 19:07:31 +1000
committerGitHub <noreply@github.com>2022-01-04 19:07:31 +1000
commit061a465d907189fe288e4841d7c8304a49afb152 (patch)
tree372bde76a522723e4acbb3a53ac0cbd305902353
parentd9520040addbc4a0ad5efa2982660dc7eb0ddca7 (diff)
downloadrdflib-jsonld_conneg.tar.gz
add type to URLInputSource.linksjsonld_conneg
-rw-r--r--rdflib/parser.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rdflib/parser.py b/rdflib/parser.py
index 5ed41bb9..136490a1 100644
--- a/rdflib/parser.py
+++ b/rdflib/parser.py
@@ -21,6 +21,7 @@ from typing import (
IO,
Any,
BinaryIO,
+ List,
Optional,
TextIO,
Tuple,
@@ -195,6 +196,7 @@ class URLInputSource(InputSource):
"""
TODO:
"""
+ links: List[str]
@classmethod
def getallmatchingheaders(cls, message: 'HTTPMessage', name):