API: Added endpoint & test for /api/flake/attrs

This commit is contained in:
Qubasa
2023-10-01 12:45:01 +02:00
parent cf1f413bdd
commit 912d6428a3
7 changed files with 110 additions and 68 deletions

View File

@@ -53,6 +53,10 @@ class VmCreateResponse(BaseModel):
uuid: str
class FlakeAttrResponse(BaseModel):
flake_attrs: list[str]
class VmInspectResponse(BaseModel):
config: VmConfig