code: def test_flow_yaml_override_with_protocol():
      from jina.enums import ProtocolType
  
      path = os.path.join(
          cur_dir.parent.parent.parent,
          "yaml/examples/faiss/flow-index.yml",
      )
      f1 = Flow.load_config(path)
      assert f1.protocol == ProtocolType.GRPC
      f2 = Flow.load_config(path, uses_with={"protocol": "http"})
      assert f2.protocol == ProtocolType.HTTP
      f3 = Flow.load_config(path, uses_with={"protocol": "websocket"})
      assert f3.protocol == ProtocolType.WEBSOCKET
  
imports: import os
  from pathlib import Path
  import numpy
  import pytest
  from docarray.document.generators import from_ndarray
  from jina import Executor, Flow
  from jina.enums import ProtocolType
  from jina.excepts import BadYAMLVersion
  from jina.jaml import JAML
  from jina.jaml.parsers import get_supported_versions
  from jina.parsers.flow import set_flow_parser
label_desc: Use image node_id 14 for calling a global function with example usage: test_flow_yaml_override_with_protocol() without return types