refactor: Add typing stubs for PyYAML and improve type hints in logging utilities and extensions

This commit is contained in:
Илья Глазунов
2025-09-02 14:33:34 +03:00
parent 6b157d7626
commit 72418f6bdb
6 changed files with 31 additions and 22 deletions
Generated
+13 -1
View File
@@ -653,6 +653,18 @@ typing-extensions = {version = ">=4.10.0", markers = "python_version < \"3.13\""
[package.extras]
full = ["httpx (>=0.27.0,<0.29.0)", "itsdangerous", "jinja2", "python-multipart (>=0.0.18)", "pyyaml"]
[[package]]
name = "types-pyyaml"
version = "6.0.12.20250822"
description = "Typing stubs for PyYAML"
optional = false
python-versions = ">=3.9"
groups = ["main"]
files = [
{file = "types_pyyaml-6.0.12.20250822-py3-none-any.whl", hash = "sha256:1fe1a5e146aa315483592d292b72a172b65b946a6d98aa6ddd8e4aa838ab7098"},
{file = "types_pyyaml-6.0.12.20250822.tar.gz", hash = "sha256:259f1d93079d335730a9db7cff2bcaf65d7e04b4a56b5927d49a612199b59413"},
]
[[package]]
name = "typing-extensions"
version = "4.15.0"
@@ -948,4 +960,4 @@ dev = ["black", "flake8", "isort", "mypy", "pytest", "pytest-cov"]
[metadata]
lock-version = "2.1"
python-versions = ">=3.12"
content-hash = "a69856492efdf3ed2272517f43842f06b7199519b2da459c6aadc863e2429c45"
content-hash = "e145aef2574fcda0c0d45b8620988baf25f386a1b6ccf199c56210cbc0e3aa76"