ibridges.search.MetaSearch

class ibridges.search.MetaSearch(key=Ellipsis, value=Ellipsis, units=Ellipsis)

Named tuple to search for objects and collections.

The key, value and units default to the elipsis (…), which indicate that the search accepts anything for this slot. This is principally the same as using the iRODS wildcard ‘%’ symbol except that during creation using elipses for key, value and units will raise a ValueError. Note that the None value has a different meaning, where it will actually test for the entry being None/empty.

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

key

Alias for field number 0

units

Alias for field number 2

value

Alias for field number 1