code: def get_args(func, skip=0):
      
  
      code = getattr(func, '__code__', None)
      if code is None:
          code = func.__call__.__code__
  
      return code.co_varnames[skip:code.co_argcount]
docs: Hackish way to get the arguments of a function
  
      Parameters
      ----------
      func : callable
          Function to get the arguments from
      skip : int, optional
          Arguments to skip, defaults to 0 set it to 1 to skip the
          ``self`` argument of a method.
  
      Returns
      -------
      tuple
          Function's arguments