Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes: #512 Wrong return type hint in async_scan #520

Merged

Conversation

bhavaniravi
Copy link
Contributor

@bhavaniravi bhavaniravi commented Oct 3, 2023

Description

fixes: #512 Wrong return type hint in async_scan
Verified the same with opensearch API

Issues Resolved

Closes #512

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

Merging #520 (559af66) into main (7d3c528) will not change coverage.
The diff coverage is n/a.

❗ Current head 559af66 differs from pull request most recent head 1f1f97f. Consider uploading reports for the commit 1f1f97f to get more accurate results

@@           Coverage Diff           @@
##             main     #520   +/-   ##
=======================================
  Coverage   70.87%   70.87%           
=======================================
  Files          83       83           
  Lines        7790     7790           
=======================================
  Hits         5521     5521           
  Misses       2269     2269           

Signed-off-by: Bhavani Ravi <[email protected]>
@bhavaniravi bhavaniravi force-pushed the 512-fix-async-scan-return-type branch from 30ce136 to 1f1f97f Compare October 3, 2023 14:17
@dblock
Copy link
Member

dblock commented Oct 3, 2023

Is there a way we can test this? I'm thinking if there was a unit test that would exercise this API, then mypy would fail on it?

@dblock dblock merged commit 1a47e6f into opensearch-project:main Oct 3, 2023
48 checks passed
roma2023 pushed a commit to roma2023/opensearch-py that referenced this pull request Dec 28, 2023
…pensearch-project#520)

* fixes: opensearch-project#512 Wrong return type hint in async_scan

Signed-off-by: Bhavani Ravi <[email protected]>

* add: changelog

Signed-off-by: Bhavani Ravi <[email protected]>

---------

Signed-off-by: Bhavani Ravi <[email protected]>
Signed-off-by: roma2023 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Wrong return type hint in async_scan
3 participants