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

@@ -1,4 +1,5 @@
from dynamix_sdk import base, config
from dynamix_sdk.utils import F_DECORATOR
class DECS3OAuth(config.AuthenticatorProtocol):
@@ -15,6 +16,8 @@ class DECS3OAuth(config.AuthenticatorProtocol):
http503_attempts: int = 10,
http503_attempts_interval: int = 5,
result_extra_allow: bool = True,
wrap_request_exceptions: bool = False,
f_decorators: list[F_DECORATOR] | None = None,
):
self._config = config.Config(
base_api_path='/v1',
@@ -23,6 +26,8 @@ class DECS3OAuth(config.AuthenticatorProtocol):
http503_attempts=http503_attempts,
http503_attempts_interval=http503_attempts_interval,
result_extra_allow=result_extra_allow,
wrap_request_exceptions=wrap_request_exceptions,
f_decorators=f_decorators,
)
self.client_id = client_id