Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Remove aiohttp warnings #68

Closed
wants to merge 1 commit into from
Closed

Conversation

ipeluffo
Copy link

In a project using elasticsearch-py-async version 6.2.0, I see the following warning messages:

site-packages/elasticsearch_async/connection.py:73: DeprecationWarning: ssl_context is deprecated, use ssl=context instead
    ssl_context=ssl_context,
site-packages/elasticsearch_async/connection.py:75: DeprecationWarning: conn_timeout is deprecated, use timeout argument instead
    headers=headers

This PR makes this changes so the warning messages disappear and make the code functional with new versions.

@sethmlarson
Copy link
Contributor

Thanks for opening this! This functionality has been captured in elastic/elasticsearch-py#1232

@ipeluffo ipeluffo deleted the warnings-removed branch May 20, 2020 14:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants