code: def test_init_from_collection(
      ok,
      source,
      size,
      distance,
      on_disk_vectors,
      on_disk_payload,
  ):
      advanced_collection_setup(
          source_collection_name,
          4,
          "Dot",
          on_disk_vectors,
          on_disk_payload,
      )
      response = create_from_collection(
          collection_name,
          source,
          size,
          distance,
          on_disk_vectors,
          on_disk_payload,
      )
      assert response.ok == ok
  
file_path: qdrant/openapi/tests/openapi_integration/test_init_from_collection.py
imports: import pytest
  from .helpers.collection_setup import drop_collection
  from .helpers.helpers import request_with_validation
label_desc: Use image node_id 6 for calling a global function with example usage: test_init_from_collection(ok, source, size, distance, on_disk_vectors, on_disk_payload) without return types