hfutils.entry.upload

NoRemotePathAssignedWithUpload

class hfutils.entry.upload.NoRemotePathAssignedWithUpload(message: str)[source]

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

exit_code = 33

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.