This commit is contained in:
2025-11-25 18:09:46 +03:00
parent 9eac1da63f
commit 1703d1ed33
266 changed files with 5566 additions and 502 deletions

View File

@@ -2,6 +2,8 @@ from dataclasses import dataclass
import re
from typing import Protocol
from dynamix_sdk.utils import F_DECORATOR
@dataclass(kw_only=True)
class Config:
@@ -11,6 +13,8 @@ class Config:
http503_attempts: int = 10
http503_attempts_interval: int = 5
result_extra_allow: bool = False
wrap_request_exceptions: bool = False
f_decorators: list[F_DECORATOR] | None = None
def get_api_url(self, api_path: str):
substitutions = re.findall(r'\[\w+\]', api_path)