MCPcopy Index your code
hub / github.com/couchbase/couchbase-python-client / ServerDurability

Class ServerDurability

couchbase/durability.py:147–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145
146
147class ServerDurability:
148
149 def __init__(self, # type: ServerDurability
150 level, # type: DurabilityLevel
151 ):
152 # type: (...) -> None
153 """
154 Server-based Durability (Synchronous Replication)
155
156 :param Durability level: durability level
157 """
158 self._level = level
159
160 @property
161 def level(self) -> DurabilityLevel:
162 return self._level
163
164
165DurabilityType = TypeVar('DurabilityType', bound=Union[ClientDurability, ServerDurability])

Calls

no outgoing calls