code: def set_parameter_context(flow_name, echo, datastore):
      global context_proto
      context_proto = ParameterContext(
          flow_name=flow_name,
          user_name=get_username(),
          parameter_name=None,
          logger=echo,
          ds_type=datastore.TYPE,
      )
  
imports: import json
  from typing import Any, Callable, Dict, NamedTuple, Optional, Type, Union
  from metaflow._vendor import click
  from .util import get_username, is_stringish
  from .exception import ParameterFieldFailed, ParameterFieldTypeMismatch, MetaflowException
label_desc: Use image node_id 2 for calling a global function with example usage: set_parameter_context(flow_name, echo, datastore) without return types