fix: create_client → get_client — POLYGON_ENDPOINT в main/api/runner (v1.2.27)

This commit is contained in:
2026-08-01 09:00:45 +04:00
parent 4a0cfcaa61
commit ca2367724e
4 changed files with 19 additions and 16 deletions
+5
View File
@@ -104,6 +104,11 @@ def run_tests(endpoint, token):
endpoint: str — URL API
token: str — JWT-токен"""
global _current_run
# POLYGON_ENDPOINT проверяется в get_client(), здесь — прямой вызов для CLI
import os
polygon = os.getenv("POLYGON_ENDPOINT", "")
if polygon:
endpoint = polygon
client = HttpClient(endpoint, token)
config = load_config()