Source code for multiversx_sdk.network_providers.config
from typing import Any, Optional
[docs]
class NetworkProviderConfig:
def __init__(self,
client_name: Optional[str] = None,
requests_options: Optional[dict[str, Any]] = None) -> None:
self.client_name = client_name
self.requests_options = requests_options or {}
self.requests_options.setdefault("timeout", 5)
self.requests_options.setdefault("auth", tuple())