code: def test_upsert_partial_vectors():
      response = request_with_validation(
          api="/collections/{collection_name}/points",
          method="PUT",
          path_params={"collection_name": collection_name},
          query_params={"wait": "true"},
          body={
              "points": [
                  {
                      "id": 101,
                      "vector": {
                          "text": [
                              0.05,
                              0.61,
                              0.76,
                              0.74,
                              0.05,
                              0.61,
                              0.76,
                              0.74,
                          ],
                      },
                      "payload": {"city": "Berlin"},
                  },
                  {
                      "id": 102,
                      "vector": {
                          "image": [0.19, 0.81, 0.75, 0.11],
                      },
                      "payload": {"city": ["Berlin", "London"]},
                  },
                  {
                      "id": 103,
                      "vector": {},
                      "payload": {"city": ["Berlin", "Moscow"]},
                  },
              ]
          },
      )
      assert response.ok
  
      response = request_with_validation(
          api="/collections/{collection_name}/points/{id}",
          method="GET",
          path_params={"collection_name": collection_name, "id": 101},
      )
      assert response.ok
      result = response.json()["result"]
      assert result["id"] == 101
      assert "image" not in result["vector"]
      assert "text" in result["vector"]
  
      response = request_with_validation(
          api="/collections/{collection_name}/points/{id}",
          method="GET",
          path_params={"collection_name": collection_name, "id": 102},
      )
      assert response.ok
      result = response.json()["result"]
      assert result["id"] == 102
      assert "image" in result["vector"]
      assert "text" not in result["vector"]
  
      response = request_with_validation(
          api="/collections/{collection_name}/points/{id}",
          method="GET",
          path_params={"collection_name": collection_name, "id": 103},
      )
      assert response.ok
      result = response.json()["result"]
      assert result["id"] == 103
      assert "image" not in result["vector"]
      assert "text" not in result["vector"]
  
file_path: qdrant/openapi/tests/openapi_integration/test_optional_vectors.py
imports: import pytest
  from .helpers.collection_setup import drop_collection, multivec_collection_setup
  from .helpers.helpers import request_with_validation
label_desc: Use image node_id 5 for calling a global function with example usage: test_upsert_partial_vectors() without return types