Skip to content

Commit

Permalink
fix: remove formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Oct 13, 2024
1 parent 425f0d4 commit 42b5552
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions saq/queue/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,12 @@ def from_url(url: str, **kwargs: t.Any) -> Queue:
from saq.queue.redis import RedisQueue

return RedisQueue.from_url(url, **kwargs)

if url.startswith("postgres"):
from saq.queue.postgres import PostgresQueue

return PostgresQueue.from_url(url, **kwargs)

from saq.queue.http import HttpQueue

return HttpQueue.from_url(url, **kwargs)
Expand Down

0 comments on commit 42b5552

Please sign in to comment.