Skip to content

Commit

Permalink
fix type again
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnagara committed Oct 9, 2024
1 parent 6e20e03 commit 36308f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/utils/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def make_split_task_queues(config: Mapping[str, SplitQueueTaskRoute]) -> list[Qu
Generates the split queues definitions from the mapping between
a task name and a config expressed as `SplitQueueTaskRoute`.
"""
ret: MutableSequence[Queue] = []
ret: list[Queue] = []
for conf in config.values():
if "queues_config" in conf:
ret.extend(_build_queues(conf["default_queue"], conf["queues_config"]["total"]))
Expand Down

0 comments on commit 36308f7

Please sign in to comment.