ordeq_boto3
S3Object
dataclass
¶
Bases: IO[bytes]
IO for loading and saving objects from S3 using boto3.
Example:
1 2 3 4 5 6 7 8 9 | |
Extra parameters can be passed to the load and save methods, such as:
1 2 3 4 5 | |
When client is not provided, it will be created using
boto3.client("s3"):
1 2 3 4 | |
S3Resource
dataclass
¶
Bases: Input[ServiceResource]
IO object that establishes a boto3 S3 resource connection on load.
Example:
1 2 3 4 5 6 7 8 9 10 | |
load(**load_options)
¶
Establishes and returns a boto3 S3 resource.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
load_options
|
Any
|
Additional options to pass to boto3.resource |
{}
|
Returns:
| Type | Description |
|---|---|
ServiceResource
|
The S3 ServiceResource |