arthur/tasks.py
def to_dict(self):
        """Returns a dict with the representation of this task configuration object."""

        properties = find_class_properties(self.__class__)
        config = {
            name: self.__getattribute__(name) for name, _ in properties
        }
        return config
def to_dict(self):
        properties = find_class_properties(self.__class__)
        config = {
            name: self.__getattribute__(name) for name, _ in properties
        }
        return config
def to_dict ( self ) : properties = find_class_properties ( self . __class__ ) config = { name : self . __getattribute__ ( name ) for name , _ in properties } return config
Returns a dict with the representation of this task configuration object.
Returns a dict with the representation of this task configuration object .