Skip to content

Commit

Permalink
Fix signature
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-zenk committed Jun 10, 2024
1 parent 16206e9 commit c727e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onboardapis/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def store(name: str | Callable[..., T] = None) -> Callable[..., T]:
"""
def decorator(method: Callable[..., T]) -> Callable[..., T]:
@wraps(method)
def wrapper(self: API, args: tuple[any, ...], kwargs: dict[str, any]) -> T:
def wrapper(self: API, *args: any, **kwargs: any) -> T:
if isinstance(self, API):
self[name or method.__name__] = method(self, *args, **kwargs)
return self[name or method.__name__]
Expand Down

0 comments on commit c727e45

Please sign in to comment.