# File: ./src/core.py - **Module:** core - **Defined symbols:** 6 - **Imports:** 2 ## File intent (manual) --- ## Imports & file-level dependencies > Generated. Do not edit inside this block. - sqlite3 - requests --- ## Symbols index > Generated. Do not edit inside this block. - `DatabaseManager` (Class) - `DatabaseManager.__init__` (Method) - `DatabaseManager.connect` (Method) - `DatabaseManager.execute_query` (Method) - `fetch_external_data` (Function) - `process_user_data` (Function) --- ## Symbol details ### `DatabaseManager` - **Kind:** Class - **Signature:** `class DatabaseManager` - **Docstring:** `Manages database connections and operations.` #### What it does extracted from AST #### Relations **Outbound calls (best-effort):** **Inbound (used by) (best-effort):** #### Integrations (heuristic) - HTTP: no - DB: yes - Queue/Tasks: no #### Risk / impact - fan-in: 2 - fan-out: 4 - cycle participant: no - critical: no #### Manual notes ### `DatabaseManager.__init__` - **Kind:** Method - **Signature:** `def __init__(self, db_path: str)` - **Docstring:** `No documentation available` #### What it does extracted from AST #### Relations **Outbound calls (best-effort):** **Inbound (used by) (best-effort):** #### Integrations (heuristic) - HTTP: no - DB: no - Queue/Tasks: no #### Risk / impact - fan-in: 0 - fan-out: 0 - cycle participant: no - critical: no #### Manual notes ### `DatabaseManager.connect` - **Kind:** Method - **Signature:** `def connect(self)` - **Docstring:** `Connect to the database.` #### What it does extracted from AST #### Relations **Outbound calls (best-effort):** **Inbound (used by) (best-effort):** #### Integrations (heuristic) - HTTP: no - DB: yes - Queue/Tasks: no #### Risk / impact - fan-in: 0 - fan-out: 1 - cycle participant: no - critical: no #### Manual notes ### `DatabaseManager.execute_query` - **Kind:** Method - **Signature:** `def execute_query(self, query: str)` - **Docstring:** `Execute a database query.` #### What it does extracted from AST #### Relations **Outbound calls (best-effort):** **Inbound (used by) (best-effort):** #### Integrations (heuristic) - HTTP: no - DB: no - Queue/Tasks: no #### Risk / impact - fan-in: 0 - fan-out: 3 - cycle participant: no - critical: no #### Manual notes ### `fetch_external_data` - **Kind:** Function - **Signature:** `def fetch_external_data(url: str)` - **Docstring:** `Fetch data from an external API.` #### What it does extracted from AST #### Relations **Outbound calls (best-effort):** **Inbound (used by) (best-effort):** #### Integrations (heuristic) - HTTP: yes - DB: no - Queue/Tasks: no #### Risk / impact - fan-in: 2 - fan-out: 2 - cycle participant: no - critical: no #### Manual notes ### `process_user_data` - **Kind:** Function - **Signature:** `def process_user_data(user_id: int)` - **Docstring:** `Process user data with database and external API calls.` #### What it does extracted from AST #### Relations **Outbound calls (best-effort):** **Inbound (used by) (best-effort):** #### Integrations (heuristic) - HTTP: no - DB: no - Queue/Tasks: no #### Risk / impact - fan-in: 0 - fan-out: 4 - cycle participant: no - critical: no #### Manual notes