Subset

class pronto.Subset[source]

A definition of a subset in an ontology.

__init__(name: str, description: str)[source]

Initialize self. See help(type(self)) for accurate signature.

__eq__(other: object) → bool[source]

Return self==value.

__lt__(other: object) → bool[source]

Return self<value.

__hash__() → int[source]

Return hash(self).

__ge__(other, NotImplemented=NotImplemented)

Return a >= b. Computed by @total_ordering from (not a < b).

__gt__(other, NotImplemented=NotImplemented)

Return a > b. Computed by @total_ordering from (not a < b) and (a != b).

__le__(other, NotImplemented=NotImplemented)

Return a <= b. Computed by @total_ordering from (a < b) or (a == b).