Skip to main content
🚀
SAM 3
is available now.
Encord home page
Search...
⌘K
Status
Blog
Search...
Navigation
Platform
SDK
Agents
End-to-End
Release Notes
Get Started
Encord SDK Introduction
1. Prerequisites and Installation
2. Authentication Basics
3. Register Cloud Data
4. Set Up Your Project and Team
General
Entities and Relationships
SDK Quick Peek
Network Configurations
Bulk Action Best Practices
User Groups
Workspace-Wide Actions
Custom Embeddings with the SDK
SDK Reference
Start here
Projects and Teams
Datasets and Storage
Schemas
Labels and Logs
Ontologies
Models and ML
HTTP (advanced)
Http.bundle
Http.constants
Http.error utils
Http.querier
Http.request
Http.utils
Http.v2.api client
Http.v2.error utils
ORM (advanced)
Utilities
Index
Add Data to Encord and Create Folders
Custom Metadata
Data Groups
Add Files to Datasets
Cloud-synced Folders with the SDK
Moving Files and Folders
Edit and Delete Files and Folders
Index Collections
Ontologies
Ontologies Basics
Create Ontologies
Copy Ontologies
Projects
Projects and Workflows
Attaching and Removing Datasets
Converting Ontology Shapes
Split Projects
Convert Manual QA Projects into Workflow Projects
Merge Projects
Copy Labels between Projects
Import CVAT
Label / Activity logs
Labels
Import / Create Labels
Delete & Edit Labels
Export Labels
Datasets
Create Datasets
Verify Where Files are Stored (Dataset)
Remove Data from Datasets
Re-encoding Videos (SDK)
Import and Verify Custom Metadata
DICOM
SDK DICOM Basics
Reading DICOM Metadata
De-identifying DICOM Files
Active API & SDK
Import Prediction Sets
Active Collections
Active Import and Sync Projects
On this page
DEFAULT_READ_TIMEOUT
DEFAULT_WRITE_TIMEOUT
DEFAULT_CONNECT_TIMEOUT
RequestsSettings Objects
max_retries
backoff_factor
connection_retries
connect_timeout
read_timeout
write_timeout
trace_id_provider
General
SDK Reference
HTTP (advanced)
Http.constants
​
DEFAULT_READ_TIMEOUT
In seconds
​
DEFAULT_WRITE_TIMEOUT
In seconds
​
DEFAULT_CONNECT_TIMEOUT
In seconds
​
RequestsSettings Objects
Copy
@dataclass
class
RequestsSettings
()
The settings for all outgoing network requests. These apply for each individual request.
​
max_retries
Number of allowed retries when a request is sent. It only affects idempotent retryable requests.
​
backoff_factor
With each retry, there will be a sleep of backoff_factor * (2 ** (retry_number - 1) )
​
connection_retries
Number of allowed retries to establish TCP connection when a request is sent.
​
connect_timeout
Maximum number of seconds from connection establishment to the first byte of response received
​
read_timeout
Maximum number of seconds to obtain full response
​
write_timeout
Maximum number of seconds to send request payload
​
trace_id_provider
Function that supplies trace id for every request issued by the library. Random if not provided.
Was this page helpful?
Yes
No
Http.bundle
Http.error utils
⌘I