<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_document(id, index=INDEX_NAME, doc_type=DOC_TYPE, **kwargs):
 """ Thin wrapper to get a single document by ID. https://elasticsearch-py.readthedocs.io/en/master/api.html#elasticsearch.Elasticsearch.get https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html """

    result = es_conn.get(index=index, doc_type=doc_type, id=id, **kwargs)
    return result['_source']