code: async def create_session(self, **kwargs):
          
          self.opts.update(kwargs)
          self._session = aiohttp.ClientSession(**self.opts, loop=self._loop)
          if self.redis_opts:
              if aioredis:
                  self._redis = await aioredis.create_redis(**self.redis_opts,
                                                            loop=self._loop)
              else:
                  warnings.warn(no_redis_warning)
docs: Creates an :class:`aiohttp.ClientSession`
  
          Override this or call it with ``kwargs`` to use other :mod:`aiohttp`
          functionality not covered by :class:`~.InfluxDBClient.__init__`