file_system
BucketFileSystemLocator
dataclass
Source code in zendriver/cdp/file_system.py
bucket_name: typing.Optional[str] = None
class-attribute
instance-attribute
path_components: typing.List[str]
instance-attribute
storage_key: storage.SerializedStorageKey
instance-attribute
__init__(storage_key, path_components, bucket_name=None)
from_json(json)
classmethod
Source code in zendriver/cdp/file_system.py
to_json()
Source code in zendriver/cdp/file_system.py
Directory
dataclass
Source code in zendriver/cdp/file_system.py
name: str
instance-attribute
nested_directories: typing.List[str]
instance-attribute
nested_files: typing.List[File]
instance-attribute
__init__(name, nested_directories, nested_files)
from_json(json)
classmethod
File
dataclass
Source code in zendriver/cdp/file_system.py
last_modified: network.TimeSinceEpoch
instance-attribute
name: str
instance-attribute
size: float
instance-attribute
type_: str
instance-attribute
__init__(name, last_modified, size, type_)
from_json(json)
classmethod
get_directory(bucket_file_system_locator)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
bucket_file_system_locator
|
BucketFileSystemLocator
|
|
required |
Returns:
Type | Description |
---|---|
Generator[T_JSON_DICT, T_JSON_DICT, Directory]
|
Returns the directory object at the path. |