Skip to content

Commit

Permalink
fix: Resolve undefined names in shape_collection.py for template infe…
Browse files Browse the repository at this point in the history
…rence
  • Loading branch information
gtfierro committed Dec 17, 2024
1 parent f525260 commit b40079c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildingmotif/dataclasses/shape_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from collections import defaultdict
from dataclasses import dataclass
from pathlib import Path
from typing import TYPE_CHECKING, Dict, List, Optional, Set, Tuple, Union
from typing import TYPE_CHECKING, Dict, List, Optional, Set, Tuple, Union, Any

import rdflib
from pyshacl.helper.path_helper import shacl_path_to_sparql_path
Expand All @@ -14,10 +14,10 @@

from buildingmotif import get_building_motif
from buildingmotif.namespaces import BMOTIF, OWL, SH
from buildingmotif.utils import Triple, copy_graph
from buildingmotif.utils import Triple, copy_graph, get_template_parts_from_shape

if TYPE_CHECKING:
from buildingmotif import BuildingMOTIF
from buildingmotif import BuildingMOTIF, Library

ONTOLOGY_FILE = (
Path(__file__).resolve().parents[1] / "resources" / "building_motif_ontology.ttl"
Expand Down

0 comments on commit b40079c

Please sign in to comment.