Skip to content

Commit

Permalink
Added loop type for async client.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Oct 9, 2023
1 parent 42ff496 commit eb06c53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion opensearchpy/_async/http_aiohttp.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# specific language governing permissions and limitations
# under the License.

from asyncio import AbstractEventLoop
from typing import Any, Collection, Mapping, Optional, Tuple, Union

from ..connection import Connection
Expand Down Expand Up @@ -65,7 +66,7 @@ class AIOHttpConnection(AsyncConnection):
ssl_context: Optional[Any] = ...,
http_compress: Optional[bool] = ...,
opaque_id: Optional[str] = ...,
loop: Any = ...,
loop: Optional[AbstractEventLoop] = ...,
trust_env: bool = ...,
**kwargs: Any
) -> None: ...

0 comments on commit eb06c53

Please sign in to comment.