stubber.publish.database
¶
basic interface to the json database
Module Contents¶
Functions¶
|
Open the json database at the given path. |
- stubber.publish.database.get_database(publish_path: pathlib.Path | str, production: bool = False) pysondb.PysonDB ¶
Open the json database at the given path.
The database should be located in a subfolder /publish of the root path. The database name is determined by the production flag as package_data[_test].jsondb
- Parameters:
publish_path (Union[pathlib.Path, str]) –
production (bool) –
- Return type:
pysondb.PysonDB