kapps_ogm.utils.class_scope#

class kapps_ogm.utils.class_scope.ClassScope[source]#

Bases: dict[IRI, ClassScope]

classmethod from_node_data(node: Node) → ClassScope[source]#
classmethod from_data_dict(data: dict) → ClassScope[source]#
classmethod from_property_chains(property_chains: list[list[str | IRI]]) → ClassScope[source]#
to_property_chains() → list[list[IRI]][source]#

Convert the ClassScope to a list of property chains.

Returns:

The property chains representing the ClassScope.

Return type:

list[list[IRI]]