mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Fix typing for optional data argument
Co-Authored-By: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
parent
1ab109ade0
commit
1d09cb5b9c
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class CloudApiClient:
|
|||
# \param cluster_id: The ID of the cluster.
|
||||
# \param cluster_job_id: The ID of the print job within the cluster.
|
||||
# \param action: The name of the action to execute.
|
||||
def doPrintJobAction(self, cluster_id: str, cluster_job_id: str, action: str, data: Dict[str, Any] = None) -> None:
|
||||
def doPrintJobAction(self, cluster_id: str, cluster_job_id: str, action: str, data: Optional[Dict[str, Any]] = None) -> None:
|
||||
body = b""
|
||||
if data:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue