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
Required
|
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Python