mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 16:27:51 -06:00
Remove some TODOs
This commit is contained in:
parent
7398f08b27
commit
64c7b2e737
2 changed files with 0 additions and 7 deletions
|
@ -28,6 +28,5 @@ class CloudPrintJobResponse(BaseModel):
|
||||||
self.upload_url = upload_url
|
self.upload_url = upload_url
|
||||||
self.content_type = content_type
|
self.content_type = content_type
|
||||||
self.status_description = status_description
|
self.status_description = status_description
|
||||||
# TODO: Implement slicing details
|
|
||||||
self.slicing_details = slicing_details
|
self.slicing_details = slicing_details
|
||||||
super().__init__(**kwargs)
|
super().__init__(**kwargs)
|
||||||
|
|
|
@ -59,9 +59,6 @@ class ClusterApiClient:
|
||||||
reply = self._manager.get(self._createEmptyRequest(url))
|
reply = self._manager.get(self._createEmptyRequest(url))
|
||||||
self._addCallback(reply, on_finished, ClusterPrintJobStatus)
|
self._addCallback(reply, on_finished, ClusterPrintJobStatus)
|
||||||
|
|
||||||
def requestPrint(self) -> None:
|
|
||||||
pass # TODO
|
|
||||||
|
|
||||||
## Move a print job to the top of the queue.
|
## Move a print job to the top of the queue.
|
||||||
def movePrintJobToTop(self, print_job_uuid: str) -> None:
|
def movePrintJobToTop(self, print_job_uuid: str) -> None:
|
||||||
url = f"{self.CLUSTER_API_PREFIX}/print_jobs/{print_job_uuid}/action/move"
|
url = f"{self.CLUSTER_API_PREFIX}/print_jobs/{print_job_uuid}/action/move"
|
||||||
|
@ -79,9 +76,6 @@ class ClusterApiClient:
|
||||||
action = "print" if state == "resume" else state
|
action = "print" if state == "resume" else state
|
||||||
self._manager.put(self._createEmptyRequest(url), json.dumps({"action": action}).encode())
|
self._manager.put(self._createEmptyRequest(url), json.dumps({"action": action}).encode())
|
||||||
|
|
||||||
def forcePrintJob(self, print_job_uuid: str) -> None:
|
|
||||||
pass # TODO
|
|
||||||
|
|
||||||
## We override _createEmptyRequest in order to add the user credentials.
|
## We override _createEmptyRequest in order to add the user credentials.
|
||||||
# \param url: The URL to request
|
# \param url: The URL to request
|
||||||
# \param content_type: The type of the body contents.
|
# \param content_type: The type of the body contents.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue