#1943: web server + client + tests + a few improvements to syslogging
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
from typing import Any
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class DataPacket(BaseModel):
|
||||
"""Data packet abstract class."""
|
||||
|
||||
payload: Any = None
|
||||
"""Payload content of the packet."""
|
||||
|
||||
packet_payload_size: float = 0
|
||||
"""Size of the packet."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user