Skip to content

Commit b81d415

Browse files
committed
fix paramspec
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
1 parent 58d5d37 commit b81d415

File tree

1 file changed

+1
-1
lines changed
  • packages/django-dramatiq-postgres/django_dramatiq_postgres

1 file changed

+1
-1
lines changed

packages/django-dramatiq-postgres/django_dramatiq_postgres/broker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def channel_name(queue_name: str, identifier: ChannelIdentifier) -> str:
4848

4949
def raise_connection_error(func: Callable[P, R]) -> Callable[P, R]:
5050
@functools.wraps(func)
51-
def wrapper(*args: Any, **kwargs: Any) -> R:
51+
def wrapper(*args: P.args, **kwargs: P.kwargs) -> R:
5252
try:
5353
return func(*args, **kwargs)
5454
except OperationalError as exc:

0 commit comments

Comments
 (0)