Skip to content

Commit 6400df9

Browse files
committed
ready for review
1 parent c903d4a commit 6400df9

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
- `position`: to set the position of the respective icon button
1111
in the viewer's sidebar.
1212

13+
### Other changes
14+
* Added a new abstract class `PreloadDataStore` that defines the return type of the
15+
`preload_data` method in `xcube.core.store.DataStore`. The `PreloadDataStore` is a
16+
mutable data store containing a `preload_handle` field, which holds the handle
17+
associated with a preload job.
18+
1319

1420
## Changes in 1.8.3
1521

xcube/core/store/store.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,8 @@ def preload_data(
509509
on the possible options.
510510
511511
Returns:
512-
A handle for the preload process. The default implementation
513-
returns an empty preload handle.
512+
A mutable data store containing the preload handle.
513+
The default implementation contains an empty preload handle.
514514
"""
515515
cache_store = new_data_store("file")
516516
cache_store.preload_handle = NullPreloadHandle()

0 commit comments

Comments
 (0)