Skip to content

FileSystemCapability

Source code in docs_src/capo_cloudextensions/types/file_system_capability.py
class FileSystemCapability(TypedDict, closed=True):
    directory: NotRequired["capo_cloudextensions.types.string_0_255.String_0_255"]
    """A base directory path. If provided, grants access to this directory and its contents."""
    paths: NotRequired["capo_cloudextensions.types.path_list.PathList"]
    """Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory."""
    access_mode: "capo_cloudextensions.types.access_mode_type.AccessModeType"
    """The level of filesystem access requested."""
    create_mode: NotRequired[
        "capo_cloudextensions.types.create_mode_type.CreateModeType"
    ]
    """Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE."""

access_mode instance-attribute

access_mode: AccessModeType

The level of filesystem access requested.

create_mode instance-attribute

create_mode: NotRequired[CreateModeType]

Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE.

directory instance-attribute

directory: NotRequired[String_0_255]

A base directory path. If provided, grants access to this directory and its contents.

paths instance-attribute

paths: NotRequired[PathList]

Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory.