1.3.0
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user