Skip to content

Commit

Permalink
mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ankona committed Aug 29, 2024
1 parent 1c7c281 commit ad07c93
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def backend_channel(self) -> t.Optional[str]:
:returns: a stringified channel descriptor"""
if self.MLI_NOTIFY_CONSUMERS in self:
return self[self.MLI_NOTIFY_CONSUMERS]
return str(self[self.MLI_NOTIFY_CONSUMERS])
return None

@backend_channel.setter
Expand All @@ -125,7 +125,7 @@ def worker_queue(self) -> t.Optional[str]:
:returns: a stringified channel descriptor"""
if self.MLI_WORKER_QUEUE in self:
return self[self.MLI_WORKER_QUEUE]
return str(self[self.MLI_WORKER_QUEUE])
return None

@worker_queue.setter
Expand Down

0 comments on commit ad07c93

Please sign in to comment.