package documentation

Oxia Client SDK for Python.

Usage example:

    client = oxia.Client('oxia://localhost:6648', namespace='default')
    key, version = client.put('my-key', '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 Client is the main entry point to the Oxia Python client
Class ComparisonType ComparisonType is an enumeration of the possible comparison types for the `get()` operation.
Class Notification Notification represents one change in the Oxia database.
Class NotificationType NotificationType represents the type of the notification event.
Class SequenceUpdates Represents an iterable sequence of key updates that can be closed when the caller is done.
Class Version Version includes some information regarding the state of a record.
Constant EXPECTED_RECORD_DOES_NOT_EXIST When doing a `put()`, this value can be used to indicate that the record should not exist.
EXPECTED_RECORD_DOES_NOT_EXIST: int = (source) ΒΆ

When doing a `put()`, this value can be used to indicate that the record should not exist.

Value
-1