15 lines
194 B
Python
15 lines
194 B
Python
from typing import *
|
|
from uuid import UUID
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class Computer(BaseModel):
|
|
uuid: UUID
|
|
label: str
|
|
group: str
|
|
|
|
|
|
class State:
|
|
computers: List[Computer]
|