code: async def ping(self) -> dict:
          
          if not self._session:
              await self.create_session()
          async with self._session.get(self.url.format(endpoint='ping')) as resp:
              logger.debug(f'{resp.status}: {resp.reason}')
              return dict(resp.headers.items())
docs: Pings InfluxDB
  
           Returns a dictionary containing the headers of the response from ``influxd``.