<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def es_client(self):
 """Get Elasticsearch client """

        es_conf = self.campaign.export.elasticsearch
        return Elasticsearch(self.hosts, **es_conf.connection_params)