create_database

database_builder.create_database(
    config: Union[str, Path, ConfigModel],
    overwrite,
)

Create a new database from a configuration file or ConfigModel.

Parameters

config : str, Path, or ConfigModel

The path to the configuration file (as a string or Path) or a ConfigModel instance.

overwrite : bool = False

Whether to overwrite the existing database if it exists.

Back to top