neural_compressor.ux.components.db_manager

The db_manager package contains all components used to control local database.

Subpackages

Submodules

Package Contents

Classes

DBManager

Database manager class.

class neural_compressor.ux.components.db_manager.DBManager(database_location: str | None = None, log_level: int | None = None)

Database manager class.

property engine: sqlalchemy.engine.Engine

Ensure that SQLAlchemy engine is created.

initialize_database() None

Initialize database by creating engine and session.

create_sqlalchemy_engine() sqlalchemy.engine.Engine

Create SQLAlchemy engine.

create_all() None

Make a call to database to create all tables.