code: def test_ranking_question(
      schema_kwargs: Dict[str, Any], server_payload: Dict[str, Any]
  ) -> None:
      ranking_question = RankingQuestion(**schema_kwargs)
      assert ranking_question.type == QuestionTypes.ranking
      assert (
          ranking_question.server_settings == server_payload["settings"]
      )
      assert ranking_question.to_server_payload() == server_payload
  
file_path: argilla/tests/unit/client/feedback/schemas/test_questions.py
imports: from typing import Any, Dict
  import pytest
  from argilla.client.feedback.schemas.enums import QuestionTypes
  from argilla.client.feedback.schemas.questions import LabelQuestion, MultiLabelQuestion, RankingQuestion, RatingQuestion, TextQuestion, _LabelQuestion
  from tests.pydantic_v1 import ValidationError
label_desc: Use image node_id 8 for calling a global function with example usage: test_ranking_question(schema_kwargs, server_payload) without return types