def client(self):
        """Get the DB client associated with the task (open a new one if necessary)

        Returns:
            ozelot.client.Client: DB client
        """
        if self._client is None:
            self._client = client.get_client()

        return self._client