ResourcePropertyValue

class pronto.ResourcePropertyValue[source]

A property-value which adds a resource annotation to an entity.

__init__(property: str, resource: str)[source]

Create a new ResourcePropertyValue instance.

Parameters:
  • property (str) – The annotation property, as an OBO identifier.

  • resource (str) – The annotation entity value, as an OBO identifier.

__eq__(other: object) bool[source]

Return self==value.

__ge__(other)

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

__gt__(other)

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

__le__(other)

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

__repr__()

Return a repr string that roundtrips. Computed by @roundrepr.

__lt__(other: object) bool[source]

Return self<value.

__hash__() int[source]

Return hash(self).