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 is the main entry point to the Oxia Python client |
Class |
|
ComparisonType is an enumeration of the possible comparison types for the `get()` operation. |
Class |
|
Notification represents one change in the Oxia database. |
Class |
|
NotificationType represents the type of the notification event. |
Class |
|
Represents an iterable sequence of key updates that can be closed when the caller is done. |
Class |
|
Version includes some information regarding the state of a record. |
Constant | EXPECTED |
When doing a `put()`, this value can be used to indicate that the record should not exist. |