Skip to content

Commit

Permalink
fixes: #512 Wrong return type hint in async_scan
Browse files Browse the repository at this point in the history
Signed-off-by: Bhavani Ravi <[email protected]>
  • Loading branch information
bhavaniravi committed Oct 3, 2023
1 parent 7d3c528 commit 559af66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opensearchpy/_async/helpers/actions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def async_scan(
clear_scroll: bool = ...,
scroll_kwargs: Optional[Mapping[str, Any]] = ...,
**kwargs: Any
) -> AsyncGenerator[int, None]: ...
) -> AsyncGenerator[dict[str, Any], None]: ...
async def async_reindex(
client: AsyncOpenSearch,
source_index: Union[str, Collection[str]],
Expand Down

0 comments on commit 559af66

Please sign in to comment.