MCPcopy Create free account
hub / github.com/chatbi/chatbi / init_database

Function init_database

chatbi/database/database.py:655–704  ·  view source on GitHub ↗

Initialize database connections and verify functionality. This function should be called during application startup. Returns: bool: True if initialization is successful Raises: DatabaseError: If database initialization fails

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

startup_eventFunction · 0.90

Calls 5

check_healthMethod · 0.95
check_healthMethod · 0.95
DatabaseErrorClass · 0.90
PostgresDBClass · 0.85
AsyncPostgresDBClass · 0.85

Tested by

no test coverage detected