Skip to content

Commit 31aafc9

Browse files
committed
Fixed an issue with new xcube data store abfs for the Azure Blob filesystem
1 parent e794e29 commit 31aafc9

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

CHANGES.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
## Changes in 1.0.2 (in development)
22

3+
* xcube is now compatible with Python 3.10. (#583)
4+
35
* The `Viewer.add_dataset()` method of the xcube JupyterLab integration
46
has been enhanced by two optional keyword arguments `style` and
57
`color_mappings` to allow for customized, initial color mapping
68
of dataset variables. The example notebook
79
[xcube-viewer-in-jl.ipynb](examples/notebooks/viewer/xcube-viewer-in-jl.ipynb)
810
has been updated to reflect the enhancement.
911

12+
* Fixed an issue with new xcube data store `abfs`
13+
for the Azure Blob filesystem. (#798)
14+
1015
## Changes in 1.0.1
1116

1217
### Fixes

xcube/core/store/fs/impl/fs.py

+14-7
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ def get_storage_options_schema(cls) -> JsonObjectSchema:
137137
additional_properties=True,
138138
)
139139

140+
140141
class AzureFsAccessor(FsAccessor):
141142
@classmethod
142143
def get_protocol(cls) -> str:
@@ -148,27 +149,33 @@ def get_storage_options_schema(cls) -> JsonObjectSchema:
148149
return JsonObjectSchema(
149150
properties=dict(
150151
anon=JsonBooleanSchema(
151-
title='Whether to anonymously connect to Azure Blob Storage.'
152+
title='Whether to anonymously connect to'
153+
' Azure Blob Storage.'
152154
),
153155
account_name=JsonStringSchema(
154156
min_length=1,
155157
title='Azure storage account name.',
156158
description='Must be used with the account key parameter.'
157-
' This is not required when using a connection string.'
159+
' This is not required when using a'
160+
' connection string.'
158161

159162
),
160163
account_key=JsonStringSchema(
161164
min_length=1,
162165
title='Azure storage account key.',
163-
description='Must be used with the account name parameter.'
164-
' This is not required when using a connection string'
166+
description='Must be used with the account'
167+
' name parameter.'
168+
' This is not required when using a'
169+
' connection string'
165170
),
166171
connection_string=JsonStringSchema(
167172
min_length=1,
168173
title='Connection string for Azure blob storage.',
169-
description='Use this parameter inplace of both account name and key'
170-
' because they are both contained in the string.'
171-
)
174+
description='Use this parameter inplace of both'
175+
' account name and key'
176+
' because they are both contained'
177+
' in the string.'
178+
),
172179
**COMMON_STORAGE_OPTIONS_SCHEMA_PROPERTIES,
173180
),
174181
additional_properties=True,

0 commit comments

Comments
 (0)