Skip to content

Commit

Permalink
fixed decorator sync_impl call
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche committed Jul 12, 2024
1 parent 39ae907 commit fd1fb71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/bigtable/data/_sync/cross_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def __call__(self, *args, **kwargs):
raise ValueError(f"Invalid keyword argument: {kwarg}")
# if async_impl is provided, use the given decorator function
if self.async_impl:
return self.async_impl(**{**self.default_kwargs, **kwargs})
return self.async_impl(*args, **{**self.default_kwargs, **kwargs})
# if no arguments, args[0] will hold the function to be decorated
# return the function as is
if len(args) == 1 and callable(args[0]):
Expand Down

0 comments on commit fd1fb71

Please sign in to comment.