File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
### Bugs Fixed
6
6
- Workspace update no longer broken for older workspaces due to deprecated tags.
7
+ - Support credential-less fileshare datastore
7
8
8
9
## 1.18.0 (2024-07-09)
9
10
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ class AzureFileSchema(AzureStorageSchema):
42
42
[
43
43
NestedField (AccountKeySchema ),
44
44
NestedField (SasTokenSchema ),
45
- ] ,
46
- required = True ,
45
+ NestedField ( NoneCredentialsSchema ) ,
46
+ ]
47
47
)
48
48
49
49
@post_load
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class AzureFileDatastore(Datastore):
49
49
:type protocol: str
50
50
:param properties: The asset property dictionary.
51
51
:type properties: dict[str, str]
52
- :param credentials: Credentials to use for Azure ML workspace to connect to the storage.
52
+ :param credentials: Credentials to use for Azure ML workspace to connect to the storage. Defaults to None.
53
53
:type credentials: Union[~azure.ai.ml.entities.AccountKeyConfiguration,
54
54
~azure.ai.ml.entities.SasTokenConfiguration]
55
55
:param kwargs: A dictionary of additional configuration parameters.
@@ -67,7 +67,7 @@ def __init__(
67
67
endpoint : str = _get_storage_endpoint_from_metadata (),
68
68
protocol : str = HTTPS ,
69
69
properties : Optional [Dict ] = None ,
70
- credentials : Union [AccountKeyConfiguration , SasTokenConfiguration ],
70
+ credentials : Optional [ Union [AccountKeyConfiguration , SasTokenConfiguration ]] = None ,
71
71
** kwargs : Any
72
72
):
73
73
kwargs [TYPE ] = DatastoreType .AZURE_FILE
You can’t perform that action at this time.
0 commit comments