code: def get_dist_args(dist: pm.Distribution) -> list[str]:
      """Get the argument names of a PyMC distribution.
  
      The argument names are the names of the parameters of the distribution.
  
      Parameters
      ----------
      dist : pm.Distribution
          The PyMC distribution for which we want to extract the argument names.
  
      Returns
      -------
      list[str]
          The names of the arguments.
      """
      # Get all args but the first one which is usually 'cls'
      return inspect.getfullargspec(dist.dist).args[1:]
  
file_path: bambi/bambi/backend/utils.py
imports: import inspect
  from functools import partial
  import pytensor.tensor
  import pymc
label_desc: Use image node_id 10 for calling a global function with example usage: get_dist_args(dist) and returns: inspect