Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Artem 2026-07-02 02:48:33 +02:00 committed by GitHub
parent 2ccf253af1
commit 0f95dd4129
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,7 +99,7 @@ class NodesController(BaseController):
async def restart_node(
self,
uuid: Annotated[str, Path(description="Node UUID")],
body: Annotated[RestartNodeRequestBodyDto, PydanticBody()] = RestartNodeRequestBodyDto(),
body: Annotated[RestartNodeRequestBodyDto | None, PydanticBody()] = None,
) -> RestartNodeResponseDto:
"""Restart Node"""
...