def get_client(self, **kwargs) -> redis.Redis:
        """
        Get a redis client.

        Args:
            **kwargs: Keyword arguments passed to `redis.Redis`.

        Returns:
            client: Redis client to connect to the container.
        """
        return redis.Redis(
            host=self.get_container_host_ip(),
            port=self.get_exposed_port(self.port),
            password=self.password,
            **kwargs,
        )

        Get a redis client.

        Args:
            **kwargs: Keyword arguments passed to `redis.Redis`.

        Returns:
            client: Redis client to connect to the container.
        
modules/redis/testcontainers/redis/__init__.py