code: async def redis(self) -> aioredis.Redis:
          
          # Use thread-safe asyncio Lock because this method without that is not safe
          async with self._connection_lock:
              if self._redis is None:
                  self._redis = await aioredis.create_redis_pool((self._host, self._port),
                                                                 db=self._db, password=self._password, ssl=self._ssl,
                                                                 minsize=1, maxsize=self._pool_size,
                                                                 loop=self._loop, **self._kwargs)
          return self._redis
docs: Get Redis connection
  
          This property is awaitable.