hfutils.entry.download

NoRemotePathAssignedWithDownload

class hfutils.entry.download.NoRemotePathAssignedWithDownload(message: str)[source]

Custom exception class for indicating that no remote path in the repository is assigned.

exit_code = 17

The exit code for this exception.

show(file: IO | None = None) None

Display the error message in red.

Parameters:

file (Optional[IO]) – File to write the output to.