API: handle functions with multiple arguments
This commit is contained in:
@@ -12,7 +12,7 @@ log = logging.getLogger(__name__)
|
||||
@dataclass
|
||||
class MachineCreateRequest:
|
||||
name: str
|
||||
config: dict
|
||||
config: dict[str, int]
|
||||
|
||||
|
||||
@API.register
|
||||
|
||||
Reference in New Issue
Block a user