MCPcopy Create free account
hub / github.com/couchbase/couchbase-python-client / order

Method order

couchbase/logic/views.py:347–354  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

345
346 @property
347 def order(self) -> ViewOrdering:
348 value = self._params.get(
349 'order', None
350 )
351 if value is None:
352 return ViewOrdering.DESCENDING
353 if isinstance(value, str):
354 return ViewOrdering.from_str(value)
355
356 @order.setter
357 def order(self, value # type: Union[ViewOrdering, str]

Callers

nothing calls this directly

Calls 6

set_optionMethod · 0.95
ViewOrderingClass · 0.85
getMethod · 0.45
from_strMethod · 0.45
to_strMethod · 0.45

Tested by

no test coverage detected