FileSystem Class
Define a file system class of a DataTransfer Component or Job.
e.g. source_s3 = FileSystem(path='s3://my_bucket/my_folder', connection='azureml:my_s3_connection')
- Inheritance
-
azure.ai.ml.entities._mixins.DictMixinFileSystemazure.ai.ml.entities._mixins.RestTranslatableMixinFileSystem
Constructor
FileSystem(*, path: str | None = None, connection: str | None = None)
Parameters
Name | Description |
---|---|
path
Required
|
The path to which the input is pointing. Could be pointing to the path of file system. Default is None. |
connection
Required
|
Connection is workspace, we didn't support storage connection here, need leverage workspace connection to store these credential info. Default is None. |
Keyword-Only Parameters
Name | Description |
---|---|
path
Required
|
|
connection
Required
|
|
Methods
get | |
has_key | |
items | |
keys | |
update | |
values |
get
get(key: Any, default: Any | None = None) -> Any
Parameters
Name | Description |
---|---|
key
Required
|
|
default
|
Default value: None
|
has_key
has_key(k: Any) -> bool
Parameters
Name | Description |
---|---|
k
Required
|
|
items
items() -> list
keys
keys() -> list
update
update(*args: Any, **kwargs: Any) -> None
values
values() -> list
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python