BaseBlobInfo Class

Defines the blob info base class.

When you use an opendatasets class like ChicagoSafety, the BaseBlobInfo class is used internally to access the data.

Initialize Blob Info.

Inheritance
builtins.object
BaseBlobInfo

Constructor

BaseBlobInfo()

Methods

get_blob_metadata

Get the blob metadata for this public data. A remote call to REST API will be invoked.

get_data_wasbs_path

Prepare spark info, including getting blob metadata and setting SPARK configuration.

get_url

Get the URL of the dataset.

get_blob_metadata

Get the blob metadata for this public data. A remote call to REST API will be invoked.

get_blob_metadata() -> Tuple[bool, str, str, str, str]

Returns

Type Description

A tuple including success status, blob account name, container name, relative path, and sas token.

get_data_wasbs_path

Prepare spark info, including getting blob metadata and setting SPARK configuration.

get_data_wasbs_path() -> str

get_url

Get the URL of the dataset.

get_url() -> str