cloudmesh-common.cloudmesh.common.strdb

Module Contents

Classes

YamlDB

A YAML-backed Key-Value database to store strings

Functions

yaml_construct_unicode(self, node)

cloudmesh-common.cloudmesh.common.strdb.yaml_construct_unicode(self, node)
class cloudmesh-common.cloudmesh.common.strdb.YamlDB(path)

Bases: object

A YAML-backed Key-Value database to store strings

flush(self)
__setitem__(self, k, v)
__getitem__(self, k)
__delitem__(self, k)
__contains__(self, k)
__iter__(self)
__len__(self)
close(self)

This is a NoOP for backwards compatibility

clear(self)

Truncate the database

set(self, **kwargs)
dict(self)