# Where is the Alias data type in the elasticsearch python client?

**URL:** <https://discuss.elastic.co/t/where-is-the-alias-data-type-in-the-elasticsearch-python-client/189245>\
**Category:** Elasticsearch\
**Created:** [July 7, 2019, 12:21pm UTC](https://discuss.elastic.co/t/where-is-the-alias-data-type-in-the-elasticsearch-python-client/189245 "2019-07-07T12:21:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticpatrick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticpatrick/32/49939_2.png) [@elasticpatrick](https://discuss.elastic.co/u/elasticpatrick)\
**Post date:** [July 7, 2019, 12:21pm UTC](https://discuss.elastic.co/t/where-is-the-alias-data-type-in-the-elasticsearch-python-client/189245/1 "2019-07-07T12:21:11Z")

</div>

I'm creating a Document class in python and the Alias field is nowhere found neither in docs nor in your python client. How can I implement the Alias data type in python?

Thanks.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 7, 2019, 1:54pm UTC](https://discuss.elastic.co/t/where-is-the-alias-data-type-in-the-elasticsearch-python-client/189245/2 "2019-07-07T13:54:53Z")

</div>

I don't think you need anything special for that but I'm not a Python dev.

It's just part or the mapping as any other field. See [https://www.elastic.co/guide/en/elasticsearch/reference/7.2/alias.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.2/alias.html)

---

<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:** [August 4, 2019, 1:55pm UTC](https://discuss.elastic.co/t/where-is-the-alias-data-type-in-the-elasticsearch-python-client/189245/3 "2019-08-04T13:55:01Z")

</div>

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