BaseClient
Base class for all Synapse SDK clients.
Overview
The BaseClient
provides common functionality for HTTP operations, error handling, and request management used by all other clients.
Features
- HTTP request handling with retry logic
- Automatic timeout management
- File upload/download capabilities
- Pydantic model validation
- Connection pooling
Usage
from synapse_sdk.clients.base import BaseClient
# BaseClient is typically not used directly
# Use BackendClient or AgentClient instead
See Also
- BackendClient - Main client implementation
- AgentClient - Agent-specific operations