client.exceptions ¶
Classes:
| Name | Description |
|---|---|
CommunicationException | Server communication exception base class. |
MetricsUploadException | Global model metrics upload (to the server) exception. |
ModelDownloadException | Global model download (from the server) exception. |
ModelUploadException | Local model upload (to the server) exception. |
Classes¶
CommunicationException ¶
Bases: Exception
flowchart TD
client.exceptions.CommunicationException[CommunicationException]
click client.exceptions.CommunicationException href "" "client.exceptions.CommunicationException"
Server communication exception base class.
Subclassed by:
- API Reference
clientexceptions Classes
Methods:
| Name | Description |
|---|---|
__init__ | Create a new communication exception. |
Attributes:
| Name | Type | Description |
|---|---|---|
response | |
Source code in dlr/fl/client/exceptions.py
Attributes¶
Functions¶
__init__ ¶
__init__(response: Response, *args, **kwargs) -> None
Create a new communication exception.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
| Response | http response from the server | required |
Source code in dlr/fl/client/exceptions.py
MetricsUploadException ¶
Bases: CommunicationException
flowchart TD
client.exceptions.MetricsUploadException[MetricsUploadException]
client.exceptions.CommunicationException[CommunicationException]
client.exceptions.CommunicationException --> client.exceptions.MetricsUploadException
click client.exceptions.MetricsUploadException href "" "client.exceptions.MetricsUploadException"
click client.exceptions.CommunicationException href "" "client.exceptions.CommunicationException"
Global model metrics upload (to the server) exception.
Raised by:
- API Reference
clientcommunication ClassesCommunication Functionsupload_metrics
Source code in dlr/fl/client/exceptions.py
ModelDownloadException ¶
Bases: CommunicationException
flowchart TD
client.exceptions.ModelDownloadException[ModelDownloadException]
client.exceptions.CommunicationException[CommunicationException]
client.exceptions.CommunicationException --> client.exceptions.ModelDownloadException
click client.exceptions.ModelDownloadException href "" "client.exceptions.ModelDownloadException"
click client.exceptions.CommunicationException href "" "client.exceptions.CommunicationException"
Global model download (from the server) exception.
Raised by:
- API Reference
clientcommunication ClassesCommunication Functionsdownload_model
Source code in dlr/fl/client/exceptions.py
ModelUploadException ¶
Bases: CommunicationException
flowchart TD
client.exceptions.ModelUploadException[ModelUploadException]
client.exceptions.CommunicationException[CommunicationException]
client.exceptions.CommunicationException --> client.exceptions.ModelUploadException
click client.exceptions.ModelUploadException href "" "client.exceptions.ModelUploadException"
click client.exceptions.CommunicationException href "" "client.exceptions.CommunicationException"
Local model upload (to the server) exception.
Raised by:
- API Reference
clientcommunication ClassesCommunication Functionsupload_model