tethys.core.regobjs.repositories.repo_json_file

Module Contents

class tethys.core.regobjs.repositories.repo_json_file.JsonFileRepository(f_path: str = None, create: bool = False, storage: dict = None, buff_2: bool = True)[source]

Bases: tethys.core.regobjs.repositories.repo_local.LocalRepository

Helper class that provides a standard way to create an ABC using inheritance.

Initialize self. See help(type(self)) for accurate signature.

class ProxyStorage(self_obj: JsonFileRepository)[source]

Bases: dict

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs

dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v

dict(**kwargs) -> new dictionary initialized with the name=value pairs

in the keyword argument list. For example: dict(one=1, two=2)

Initialize self. See help(type(self)) for accurate signature.

__setitem__(self, key, value)[source]

Set self[key] to value.

__delitem__(self, key)[source]

Delete self[key].