code: def params(self, hidden=True):
          
          param_names = self.class_param_names(hidden=hidden)
          return dict(
              (name, getattr(self, name))
              for name in param_names
          )
docs: Gets all instance parameters, and their *cast* values.
  
          :return: dict of the form: ``{<name>: <value>, ... }``
          :rtype: :class:`dict`