Coverage for lode / models / restriction.py: 100%
4 statements
« prev ^ index » next coverage.py v7.13.0, created at 2026-11-22 15:54 +0000
« prev ^ index » next coverage.py v7.13.0, created at 2026-11-22 15:54 +0000
1"""Restriction: base class of OWL restrictions and anonymous class expressions."""
2from .concept import Concept
4class Restriction(Concept):
5 """Base of the anonymous classes built by restrictions and logical operators."""
7 def __init__(self, **kwargs):
8 """Create a restriction; all state comes from Concept."""
9 super().__init__(**kwargs)