web2api / core /runtime /keys.py
ohmyapi's picture
feat: align hosted Space deployment with latest upstream
77169b4
"""运行时键类型:代理组唯一标识。"""
from typing import NamedTuple
from core.constants import TIMEZONE
class ProxyKey(NamedTuple):
"""唯一标识一个代理组(一个浏览器进程)。"""
proxy_host: str
proxy_user: str
fingerprint_id: str
use_proxy: bool = True
timezone: str = TIMEZONE