Capability#
- class opendal.capability.Capability#
Capability defines the supported operations and their constraints for an Operator.
This structure provides a comprehensive description of an Operator’s capabilities, including:
Basic operations support (read, write, delete, etc.)
Advanced operation variants (conditional operations, metadata handling)
Operational constraints (size limits, batch limitations)
These flags describe the underlying OpenDAL operator. A flag can be true even when the Python binding does not expose the matching method (for example, restore).
- compose#
Indicates if the operator supports composing complete source objects.
- compose_with_cache_control#
Indicates if Cache-Control can be specified during composition.
- compose_with_content_disposition#
Indicates if Content-Disposition can be specified during composition.
- compose_with_content_encoding#
Indicates if Content-Encoding can be specified during composition.
- compose_with_content_type#
Indicates if Content-Type can be specified during composition.
- compose_with_if_match#
Indicates if composition supports a destination ETag match condition.
- compose_with_if_none_match#
Indicates if composition supports a destination ETag non-match condition.
- compose_with_if_not_exists#
Indicates if composition can require a missing destination.
- compose_with_if_version_match#
Indicates if composition supports a destination version match condition.
- compose_with_if_version_not_match#
Indicates if composition supports a destination version non-match condition.
- compose_with_source_if_match#
Indicates if composition supports a source ETag match condition.
- compose_with_source_version#
Indicates if composition can select a specific source version.
- compose_with_user_metadata#
Indicates if custom user metadata can be attached during composition.
- copy#
Indicates if copy operations are supported.
- copy_can_multi#
Indicates if copy operations can be split into multiple server-side tasks.
- copy_multi_max_size#
Maximum size supported for segmented copy tasks.
- copy_multi_min_size#
Minimum size required for segmented copy tasks.
- copy_with_content_language#
Indicates if copy operations can replace the destination’s Content-Language.
- copy_with_content_type#
Indicates if copy operations can replace the destination’s Content-Type.
- copy_with_if_match#
Indicates if conditional copy operations with if-match are supported.
- copy_with_if_none_match#
Indicates if conditional copy operations with if-none-match are supported.
- copy_with_if_not_exists#
Indicates if conditional copy operations with if-not-exists are supported.
- copy_with_if_version_match#
Indicates if conditional copy operations using version match are supported.
- copy_with_if_version_not_match#
Indicates if conditional copy operations using version non-match are supported.
- copy_with_source_version#
Indicates if copy operations from a specific source version are supported.
- copy_with_user_metadata#
Indicates if copy operations can replace the destination’s user metadata.
- create_dir#
Indicates if directory creation is supported.
- delete#
Indicates if delete operations are supported.
- delete_max_size#
Maximum size supported for single delete operations.
- delete_with_if_match#
Indicates if conditional delete operations using If-Match are supported.
- delete_with_if_none_match#
Indicates if conditional delete operations using If-None-Match are supported.
- delete_with_if_version_match#
Indicates if conditional delete operations using version match are supported.
- delete_with_if_version_not_match#
Indicates if conditional delete operations using version non-match are supported.
- delete_with_recursive#
Indicates if recursive delete operations are supported.
- delete_with_version#
Indicates if versions delete operations are supported.
- list#
Indicates if list operations are supported.
- list_with_deleted#
Indicates if listing with deleted files included is supported.
- list_with_glob#
Indicates if listing with a glob pattern is supported by this service stack.
- list_with_limit#
Indicates if list operations support result limiting.
- list_with_recursive#
Indicates if recursive listing is supported.
- list_with_start_after#
Indicates if list operations support continuation from a specific point.
- list_with_versions#
Indicates if listing with versions included is supported.
- presign#
Indicates if presigned URL generation is supported.
- presign_delete#
Indicates if presigned URLs for delete operations are supported.
- presign_read#
Indicates if presigned URLs for read operations are supported.
- presign_stat#
Indicates if presigned URLs for stat operations are supported.
- presign_write#
Indicates if presigned URLs for write operations are supported.
- read#
Indicates if the operator supports read operations.
- read_with_checksum#
Indicates if the operator supports requesting stored full-file checksum metadata. Stat and read responses may include that metadata when requested.
- read_with_if_match#
Indicates if conditional read operations using If-Match are supported.
- read_with_if_modified_since#
Indicates if conditional read operations using If-Modified-Since are supported.
- read_with_if_none_match#
Indicates if conditional read operations using If-None-Match are supported.
- read_with_if_unmodified_since#
Indicates if conditional read operations using If-Unmodified-Since are supported.
- read_with_if_version_match#
Indicates if conditional read operations using version match are supported.
- read_with_if_version_not_match#
Indicates if conditional read operations using version non-match are supported.
- read_with_override_cache_control#
Indicates if Cache-Control header override is supported during read operations.
- read_with_override_content_disposition#
Indicates if Content-Disposition header override is supported during read operations.
- read_with_override_content_type#
Indicates if Content-Type header override is supported during read operations.
- read_with_suffix#
Indicates if suffix read operations are supported.
- read_with_version#
Indicates if versions read operations are supported.
- rename#
Indicates if rename operations are supported.
- rename_with_if_not_exists#
Indicates if conditional rename operations with if-not-exists are supported.
- restore#
Indicates if restore operations are supported.
- restore_with_if_not_exists#
Indicates if conditional restore operations using if-not-exists are supported.
- restore_with_version#
Indicates if restoring a specific version is supported.
Indicate if the operator supports shared access.
- stat#
Indicates if the operator supports metadata retrieval operations.
- stat_with_if_match#
Indicates if conditional stat operations using If-Match are supported.
- stat_with_if_modified_since#
Indicates if conditional stat operations using If-Modified-Since are supported.
- stat_with_if_none_match#
Indicates if conditional stat operations using If-None-Match are supported.
- stat_with_if_unmodified_since#
Indicates if conditional stat operations using If-Unmodified-Since are supported.
- stat_with_if_version_match#
Indicates if conditional stat operations using version match are supported.
- stat_with_if_version_not_match#
Indicates if conditional stat operations using version non-match are supported.
- stat_with_override_cache_control#
Indicates if Cache-Control header override is supported during stat operations.
- stat_with_override_content_disposition#
Indicates if Content-Disposition header override is supported during stat operations.
- stat_with_override_content_type#
Indicates if Content-Type header override is supported during stat operations.
- stat_with_version#
Indicates if versions stat operations are supported.
- write#
Indicates if the operator supports write operations.
- write_can_append#
Indicates if append operations are supported.
- write_can_copy_from#
Indicates if an open, non-append writer can copy eligible byte ranges from existing objects without transferring the copied bytes through the client. Whole-object copy is a separate capability.
- write_can_empty#
Indicates if writing empty content is supported.
- write_can_multi#
Indicates if multiple write operations can be performed on the same object.
- write_multi_max_size#
Maximum size supported for multipart uploads. For example, AWS S3 supports up to 5GiB per part in multipart uploads.
- write_multi_min_size#
Minimum size required for multipart uploads (except for the last part). For example, AWS S3 requires at least 5MiB per part.
- write_total_max_size#
Maximum total size supported for write operations. For example, Cloudflare D1 has a 1MB total size limit.
- write_with_cache_control#
Indicates if Cache-Control can be specified during write operations.
- write_with_checksum#
Indicates if non-append writes support native verification with a checksum algorithm selected by the service. Verification may cover only individual upload requests, parts, or blocks. Support for caller-selected algorithms and full-object verification depends on the service and write mode. OpenDAL rejects unsupported explicit checksum requests before performing I/O.
- write_with_content_disposition#
Indicates if Content-Disposition can be specified during write operations.
- write_with_content_encoding#
Indicates if Content-Encoding can be specified during write operations.
- write_with_content_language#
Indicates if a write can store Content-Language and a subsequent stat can retrieve it.
- write_with_content_type#
Indicates if Content-Type can be specified during write operations.
- write_with_expires#
Indicates if writes can set a lifetime for the new file.
- write_with_if_match#
Indicates if conditional write operations using If-Match are supported.
- write_with_if_none_match#
Indicates if conditional write operations using If-None-Match are supported.
- write_with_if_not_exists#
Indicates if write operations can be conditional on object non-existence.
- write_with_if_version_match#
Indicates if conditional write operations using version match are supported.
- write_with_if_version_not_match#
Indicates if conditional write operations using version non-match are supported.
- write_with_user_metadata#
Indicates if custom user metadata can be attached during write operations.