neural_compressor.ux.web.communication
¶
Objects to communicate between domain logic and outside layers.
Module Contents¶
Classes¶
Domain defined parameters. |
|
Domain defined response. |
|
Message used to send data to GUI. |
|
Queue for passing messages to GUI. |
Functions¶
|
Create new Response object with only data set. |
- class neural_compressor.ux.web.communication.Request(method: str, operation: str, data: dict)¶
Domain defined parameters.
- class neural_compressor.ux.web.communication.Response¶
Domain defined response.
- neural_compressor.ux.web.communication.create_simple_response(data: Dict[str, Any] | List[Dict[str, Any]]) Response ¶
Create new Response object with only data set.
- class neural_compressor.ux.web.communication.Message(status: str, subject: str, data: Any)¶
Message used to send data to GUI.
- property subject: str¶
Get the subject.
- property status: str¶
Get the status.
- property data: Any¶
Get the data.