Remove some TODOs

This commit is contained in:
ChrisTerBeke 2019-07-30 15:32:34 +02:00
parent 7398f08b27
commit 64c7b2e737
2 changed files with 0 additions and 7 deletions

View file

@ -28,6 +28,5 @@ class CloudPrintJobResponse(BaseModel):
self.upload_url = upload_url
self.content_type = content_type
self.status_description = status_description
# TODO: Implement slicing details
self.slicing_details = slicing_details
super().__init__(**kwargs)

View file

@ -59,9 +59,6 @@ class ClusterApiClient:
reply = self._manager.get(self._createEmptyRequest(url))
self._addCallback(reply, on_finished, ClusterPrintJobStatus)
def requestPrint(self) -> None:
pass # TODO
## Move a print job to the top of the queue.
def movePrintJobToTop(self, print_job_uuid: str) -> None:
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
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.
# \param url: The URL to request
# \param content_type: The type of the body contents.