def params(self, hidden=True):
        """
        Gets all instance parameters, and their *cast* values.

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

        :return: dict of the form: ``{<name>: <value>, ... }``
        :rtype: :class:`dict`