# Where is elasticsearch.client module on python?

**URL:** <https://discuss.elastic.co/t/where-is-elasticsearch-client-module-on-python/306070>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [June 1, 2022, 12:59am UTC](https://discuss.elastic.co/t/where-is-elasticsearch-client-module-on-python/306070 "2022-06-01T00:59:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkojouri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kkojouri/32/106412_2.png) [@kkojouri](https://discuss.elastic.co/u/kkojouri)\
**Post date:** [June 1, 2022, 12:59am UTC](https://discuss.elastic.co/t/where-is-elasticsearch-client-module-on-python/306070/1 "2022-06-01T00:59:32Z")

</div>

Hello,

We have upgraded our clusters to 8.2.0 but are currently having issues with our python scripts for cluster management. Previously, we were using Elasticsearch.client module to manage users, roles, and role mappings using the SecurityClient class as outlined [here](https://elasticsearch-py.readthedocs.io/en/v8.2.2/api.html#security). Since version 8.0.0, we're no longer seeing the Elasticsearch.client module in Elasticsearch client for python.

The [release notes](https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/release-notes.html#_deprecated) for 8.0.0 list the module as deprecated but provide no guidance as to where the classes have been moved to. Can someone from Elastic please advise on the changes?

Thanks,  
Kam

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 29, 2022, 12:59am UTC](https://discuss.elastic.co/t/where-is-elasticsearch-client-module-on-python/306070/2 "2022-06-29T00:59:47Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
