Skip to content

Commit 4e9a029

Browse files
committed
Add a missed hint in _yielded_function
1 parent d8d2783 commit 4e9a029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helpscout/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def __getitem__(self, resource_id:int|str) -> HelpScoutEndpointRequester:
394394
True,
395395
)
396396

397-
def _yielded_function(self, method, *args, **kwargs):
397+
def _yielded_function(self, method:str, *args, **kwargs):
398398
"""Calls a generator function and calls next.
399399
It is intended to be used with post, put, patch and delete which do not
400400
return objects, but as hit is a generator, still have to be nexted.

0 commit comments

Comments
 (0)