EnsuredSource
- class EnsuredSource(path: Path)[source]
-
A source that needs to be ensured before opening.
Attributes Summary
The local path where the resource is stored on disk.
Methods Summary
ensure()Ensure the remote dataset is downloaded.
open()Download the file and open it using polymorphism.
Attributes Documentation
- Parameters:
path (Path)
- path: Path = <dataclasses._MISSING_TYPE object>
The local path where the resource is stored on disk.
Methods Documentation