Skip to content

Commit

Permalink
#96 type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DarylDohner committed Nov 15, 2023
1 parent 721f4a9 commit ad4080b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions EosLib/format/formats/health/driver_health_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ class ThreadStatus(IntEnum):
@dataclass
class DriverHealthReport(BaseFormat):

is_healthy: bool # true if healthy (bool)
custom_state_bitvector: int # may be used by the driver for any custom purpose (uchar)
num_threads: int # of threads, including main and mqtt (uchar)
thread_statuses: list[int] # list of ThreadStatuses of size num_threads - 1, starting with (uchar[])
# mqtt and then registered threads in order of registration
is_healthy: bool # true if healthy (bool)
custom_state_bitvector: int # may be used by the driver for any custom purpose (uchar)
num_threads: int # of threads, including main and mqtt (uchar)
thread_statuses: list[ThreadStatus] # list of ThreadStatuses of size num_threads - 1, starting (uchar[])
# witb mqtt and then registered threads in order of
# registration

@staticmethod
def _i_promise_all_abstract_methods_are_implemented() -> bool:
Expand Down

0 comments on commit ad4080b

Please sign in to comment.