def zpopmax(self, name: KeyT, count: Optional[int] = None) -> Awaitable:
        """
        Remove and return up to ``count`` members with the highest scores
        from the sorted set ``name``.
        """
        args = (count is not None) and [count] or []
        options = {"withscores": True}
        return self.execute_command("ZPOPMAX", name, *args, **options)

        Remove and return up to ``count`` members with the highest scores
        from the sorted set ``name``.
        
aioredis/client.py