def from_dictionary(cls, dictionary):
        """Parse a dictionary representing all command line parameters."""
        if not isinstance(dictionary, dict):
            raise TypeError('dictionary has to be a dict type, got: {}'.format(type(dictionary)))

        return cls(dictionary)
def from_dictionary ( cls , dictionary ) : if not isinstance ( dictionary , dict ) : raise TypeError ( 'dictionary has to be a dict type, got: {}' . format ( type ( dictionary ) ) ) return cls ( dictionary )
Parse a dictionary representing all command line parameters.