Raw

class RawEndpoint(req_handler)

Note

This is the raw path in the storage backend and not the logical path that is exposed via the mount system.

task read(key)

Reads the value of the key at the given path.

Parameters:path (str) – The key name
Returns:Value – The key value
task write(key, value)

Update the value of the key at the given path.

Parameters:
  • path (str) – The key name
  • value (obj) – The value of the key.
Returns:

bool – The key has been written

task delete(key)

Ensure that key is absent with given path.

Parameters:path (str) – The key name
Returns:bool – The key does not exists in storage

Objects

class Value(*, lease_duration, auth, renewable, lease_id, data)