code: def get_pinned_conda_libs(python_version, datastore_type):
      pins = {
          "requests": ">=2.21.0",
      }
      if datastore_type == "s3":
          pins["boto3"] = ">=1.14.0"
      elif datastore_type == "azure":
          pins["azure-identity"] = ">=1.10.0"
          pins["azure-storage-blob"] = ">=12.12.0"
      elif datastore_type == "gs":
          pins["google-cloud-storage"] = ">=2.5.0"
          pins["google-auth"] = ">=2.11.0"
      elif datastore_type == "local":
          pass
      else:
          raise MetaflowException(
              msg="conda lib pins for datastore %s are undefined"
              % (datastore_type,)
          )
      return pins
  
imports: import os
  import sys
  import types
  from metaflow.exception import MetaflowException
  from metaflow.metaflow_config_funcs import from_conf, get_validate_choice_fn
label_desc: Use image node_id 1 for calling a global function with example usage: get_pinned_conda_libs(python_version, datastore_type) and returns: pins