GoogleSource

class GoogleSource(path: Path, google_file_id: str, force: bool = False)[source]

Bases: EnsuredSource

A mixin source for remote sources that must be downloaded before opening.

Attributes Summary

force

google_file_id

path

The local path where the resource is stored on disk.

Methods Summary

ensure()

Ensure the remote dataset is downloaded.

Attributes Documentation

Parameters:
force: bool = False
google_file_id: str = <dataclasses._MISSING_TYPE object>
path: Path = <dataclasses._MISSING_TYPE object>

The local path where the resource is stored on disk.

Methods Documentation

ensure() → None[source]

Ensure the remote dataset is downloaded.

Return type:

None