We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0150e9 commit 4cd5128Copy full SHA for 4cd5128
scanpipe/pipes/d2d.py
@@ -1677,6 +1677,7 @@ def map_paths_resource(
1677
relations_to_create = {}
1678
1679
for map_type in map_types:
1680
+ # These are of type string
1681
paths_in_binary = to_resource.extra_data.get(map_type, [])
1682
paths_not_mapped = to_resource.extra_data[f"{map_type}_not_mapped"] = []
1683
for item in process_paths_in_binary(
@@ -1686,7 +1687,7 @@ def map_paths_resource(
1686
1687
map_type=map_type,
1688
paths_in_binary=paths_in_binary,
1689
):
- if isinstance(item, Path):
1690
+ if isinstance(item, str):
1691
paths_not_mapped.append(item)
1692
else:
1693
rel_key, relation = item
0 commit comments