code: def _exclude_params_from_envs(params, envs):
      """Params passed at inference time should override envs."""
      return (
          {k: v for k, v in envs.items() if k not in params}
          if params
          else envs
      )
  
imports: import json
  import os
  import time
  from contextlib import contextmanager
  from enum import Enum
  from typing import NamedTuple, Optional
  from unittest import mock
  import requests
  import mlflow
label_desc: Use image node_id 12 for calling a global function with example usage: _exclude_params_from_envs(params, envs) and returns: unknown