chore: add type hints for ap in telemetry.py

This commit is contained in:
Junyan Qin
2026-01-09 21:50:43 +08:00
parent e17dba0a98
commit ecfb2bfb34

View File

@@ -2,6 +2,7 @@ from __future__ import annotations
import asyncio
import httpx
from ..core import app as core_app
class TelemetryManager:
@@ -14,7 +15,7 @@ class TelemetryManager:
send_tasks: list[asyncio.Task] = []
def __init__(self, ap):
def __init__(self, ap: core_app.Application):
self.ap = ap
self.telemetry_config = {}