From 171f8b5c2187c32d1054971b529d59624617c0c4 Mon Sep 17 00:00:00 2001 From: banteg <4562643+banteg@users.noreply.github.com> Date: Mon, 29 Dec 2025 02:35:23 +0400 Subject: [PATCH] chore: drop typing from config --- codex_telegram_bridge/src/codex_telegram_bridge/config.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/codex_telegram_bridge/src/codex_telegram_bridge/config.py b/codex_telegram_bridge/src/codex_telegram_bridge/config.py index 9bb8e4e..255968d 100644 --- a/codex_telegram_bridge/src/codex_telegram_bridge/config.py +++ b/codex_telegram_bridge/src/codex_telegram_bridge/config.py @@ -1,12 +1,9 @@ -from __future__ import annotations - import tomllib from pathlib import Path -from typing import Any from .constants import TELEGRAM_CONFIG_PATH -def load_telegram_config(path: str | None = None) -> dict[str, Any]: +def load_telegram_config(path=None): cfg_path = Path(path) if path else TELEGRAM_CONFIG_PATH return tomllib.loads(cfg_path.read_text(encoding="utf-8"))