code: def num_shards(request):
      return request.param
  
imports: import uuid
  import pytest
  import jina.excepts
  from jina import Document, DocumentArray, Executor, Flow, requests
  from jina.helper import random_port
  from jina.orchestrate.deployments import Deployment
  from jina.parsers import set_deployment_parser
  from jina.serve.helper import get_server_side_grpc_options
label_desc: Use image node_id 3 for calling a global function with example usage: num_shards(request) and returns: request