Skip to content

Commit

Permalink
Remove obsolete TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed Aug 10, 2024
1 parent f1a3c67 commit c060b47
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/appose/python_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def _start(self, script: str, inputs: Optional[Args]) -> None:
def execute_script():
# Populate script bindings.
binding = {"task": self}
# TODO: Magically convert shared memory image inputs.
if inputs is not None:
binding.update(inputs)

Expand Down Expand Up @@ -190,8 +189,6 @@ def main() -> None:
case RequestType.CANCEL:
task = tasks.get(uuid)
if task is None:
# TODO: proper logging
# Maybe should stdout the error back to Appose calling process.
print(f"No such task: {uuid}", file=sys.stderr)
continue
task.cancel_requested = True
Expand Down

0 comments on commit c060b47

Please sign in to comment.