code: def _get_redis_kwargs():
      arg_spec = inspect.getfullargspec(redis.Redis)
  
      # Only allow primitive arguments
      exclude_args = {
          "self",
          "connection_pool",
          "retry",
      }
  
      include_args = ["url"]
  
      available_args = [
          x for x in arg_spec.args if x not in exclude_args
      ] + include_args
  
      return available_args
  
file_path: litellm/litellm/_redis.py
imports: import os
  import inspect
  import redis, litellm
  from typing import List, Optional
label_desc: Use image node_id 1 for calling a global function with example usage: _get_redis_kwargs() and returns: available_args