aboutsummaryrefslogtreecommitdiffstats
path: root/bsie/extractor/generic/path.py
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2022-12-15 17:06:09 +0100
committerMatthias Baumgartner <dev@igsor.net>2022-12-15 17:06:09 +0100
commit3b7fee369924eb7704709edeb8c17fff9c020dfb (patch)
treee9bd2987d4b21620e9865a904a180714f2ff27b7 /bsie/extractor/generic/path.py
parent49cf03fc212c813862453de5352436dc90d1e458 (diff)
downloadbsie-3b7fee369924eb7704709edeb8c17fff9c020dfb.tar.gz
bsie-3b7fee369924eb7704709edeb8c17fff9c020dfb.tar.bz2
bsie-3b7fee369924eb7704709edeb8c17fff9c020dfb.zip
import fixes
Diffstat (limited to 'bsie/extractor/generic/path.py')
-rw-r--r--bsie/extractor/generic/path.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsie/extractor/generic/path.py b/bsie/extractor/generic/path.py
index e6b901e..2cc592a 100644
--- a/bsie/extractor/generic/path.py
+++ b/bsie/extractor/generic/path.py
@@ -10,8 +10,8 @@ import typing
# bsie imports
from bsie.base import extractor
-from bsie.utils import node, ns
from bsie.utils.bsfs import schema
+from bsie.utils import bsfs, node, ns
# exports
__all__: typing.Sequence[str] = (
@@ -27,10 +27,10 @@ class Path(extractor.Extractor):
CONTENT_READER = 'bsie.reader.path.Path'
# mapping from predicate to handler function.
- _callmap: typing.Dict[schema.Predicate, typing.Callable[[str], typing.Any]]
+ _callmap: typing.Dict[bsfs.schema.Predicate, typing.Callable[[str], typing.Any]]
def __init__(self):
- super().__init__(schema.Schema.from_string(extractor.SCHEMA_PREAMBLE + '''
+ super().__init__(bsfs.schema.Schema.from_string(extractor.SCHEMA_PREAMBLE + '''
bse:filename rdfs:subClassOf bsfs:Predicate ;
rdfs:domain bsfs:Entity ;
rdfs:range xsd:string ;