Utils

Use utility functionalities of the SDK.


Overview

Utils provide access to utility functionalities of the SDK.

View repository

Class: ImageFile

A class that enables access to files, including authenticated ones.

Attributes
AttributeDescription
urlstr
The URL of the file to be downloaded.
file_namestr
The name of the file to be saved locally. If not provided by the server or specified by the user, defaults to output.

Methods

download

Downloads the file into the specified folder. Returns pathlib.Path.

ParameterDescription
output_directoryUnion[str, pathlib.Path]
The file output directory.