code: def write_requests(
      peer_url,
      first_request_expected_status,
      following_requests_expected_status,
  ):
      TESTS = [
          (
              put,
              "points?wait=true",
              {
                  "points": [
                      {
                          "id": 6942,
                          "payload": {"what": "ever"},
                          "vector": [0.6, 0.9, 0.4, 0.2],
                      },
                  ]
              },
          ),
          (
              put,
              "points?wait=true",
              {
                  "batch": {
                      "ids": [4269],
                      "payloads": [{"ever": "what"}],
                      "vectors": [[0.4, 0.2, 0.6, 0.9]],
                  }
              },
          ),
          (
              put,
              "points/payload?wait=true",
              {
                  "points": [1, 2, 3],
                  "payload": {"what": "ever"},
              },
          ),
          (
              post,
              "points/payload?wait=true",
              {
                  "points": [1, 2, 3],
                  "payload": {"ever": "what"},
              },
          ),
          (
              post,
              "points/payload/delete?wait=true",
              {
                  "points": [1, 2, 3],
                  "keys": ["city", "what"],
              },
          ),
          (
              post,
              "points/payload/clear?wait=true",
              {
                  "points": [1, 2, 3],
              },
          ),
          (
              post,
              "points/delete?wait=true",
              {
                  "points": [1, 2, 3],
              },
          ),
          (
              put,
              "index",
              {
                  "field_name": "city",
                  "field_schema": "keyword",
              },
          ),
          (delete, "index/city"),
      ]
  
      execute_requests(
          peer_url, first_request_expected_status, TESTS[:1]
      )
      execute_requests(
          peer_url, following_requests_expected_status, TESTS[1:]
      )
  
file_path: qdrant/tests/consensus_tests/test_dummy_shard.py
imports: import pathlib
  import shutil
  from requests import get, post, put, delete
  from .fixtures import create_collection, upsert_random_points, random_dense_vector, search
  from .utils import *
  from .assertions import assert_http_ok
label_desc: Use image node_id 6 for calling a global function with example usage: write_requests(peer_url, first_request_expected_status, following_requests_expected_status) without return types