package documentation

Oxia Client SDK for Python.

Usage example:

    with oxia.Client('localhost:6648') as client:
        key, version = client.put('/my-key', b'my-value')
        key, value, version = client.get('/my-key')
Module ex This module defines custom exception classes used within a system for indicating various error conditions related to operations, options, keys, versions, or sessions.

From __init__.py:

Class Client Synchronous client for the Oxia service.
Class ComparisonType Key comparison mode for the Client.get operation.
Class Notification A single change event in the Oxia database.
Class NotificationType The type of a notification event.
Class SequenceUpdates An iterator over sequential key updates.
Class Version Metadata about the state of an Oxia record.
Constant EXPECTED_RECORD_DOES_NOT_EXIST Pass as ``expected_version_id`` to Client.put to assert the record does not already exist.
EXPECTED_RECORD_DOES_NOT_EXIST: int = (source) ΒΆ

Pass as ``expected_version_id`` to Client.put to assert the record does not already exist.

Value
-1