aboutsummaryrefslogtreecommitdiffstats
path: root/bsie/extractor/generic/constant.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsie/extractor/generic/constant.py')
-rw-r--r--bsie/extractor/generic/constant.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsie/extractor/generic/constant.py b/bsie/extractor/generic/constant.py
index 7b1d942..938e20c 100644
--- a/bsie/extractor/generic/constant.py
+++ b/bsie/extractor/generic/constant.py
@@ -34,7 +34,7 @@ class Constant(base.Extractor):
schema: str,
tuples: typing.Iterable[typing.Tuple[bsfs.URI, typing.Any]],
):
- super().__init__(bsfs.schema.Schema.from_string(base.SCHEMA_PREAMBLE + schema))
+ super().__init__(bsfs.schema.from_string(base.SCHEMA_PREAMBLE + schema))
# NOTE: Raises a KeyError if the predicate is not part of the schema
self._tuples = tuple((self.schema.predicate(p_uri), value) for p_uri, value in tuples)
# TODO: use schema instance for value checking