def as_dict(self):
        """ returns a dictionary view of the option
        
        :returns: the option converted in a dict
        :rtype: dict
        """
        info = {}
        info["type"] = self.__class__.__name__
        info["help"] = self.help
        info["default"] = self.default
        info["multi"] = self.multi
        info["uniq"] = self.uniq
        info["choices"] = self.choices
        # TODO appel rec sur les attrs
        #info["attrs"] = self.attrs
        return info
def as_dict ( self ) : info = { } info [ "type" ] = self . __class__ . __name__ info [ "help" ] = self . help info [ "default" ] = self . default info [ "multi" ] = self . multi info [ "uniq" ] = self . uniq info [ "choices" ] = self . choices return info
returns a dictionary view of the option
        
        :returns: the option converted in a dict
        :rtype: dict