mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-11 08:16:03 +00:00
chore: add type hints for ap in telemetry.py
This commit is contained in:
@@ -2,6 +2,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
import httpx
|
import httpx
|
||||||
|
from ..core import app as core_app
|
||||||
|
|
||||||
|
|
||||||
class TelemetryManager:
|
class TelemetryManager:
|
||||||
@@ -14,7 +15,7 @@ class TelemetryManager:
|
|||||||
|
|
||||||
send_tasks: list[asyncio.Task] = []
|
send_tasks: list[asyncio.Task] = []
|
||||||
|
|
||||||
def __init__(self, ap):
|
def __init__(self, ap: core_app.Application):
|
||||||
self.ap = ap
|
self.ap = ap
|
||||||
|
|
||||||
self.telemetry_config = {}
|
self.telemetry_config = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user