def __init__(self, config, tags, params): Command.__init__(self) self.config = config self.tags = tags self.params = params or UpdateCommandParams(False) self.__updating_list = []
def __init__(self, config): Command.__init__(self) self.config = config self.response = { 'invalid_grant': ( False, None, [UsernameOption(), PasswordOption()]), 'invalid_client': ( False, None, [ClientOption(), SecretOption()]) }
def __init__(self, config, params): Command.__init__(self) self.config = config self.params = params self.__get_anno = { AnnoSubcommand.LIST: self.__get_anno_string, AnnoSubcommand.SHOW: self.__get_anno_full }
def __init__(self, config, params=None): Command.__init__(self) self.config = config self.params = params if params else TagsCommandParams() self.runner = { TagsSubcommand.LIST: self.__subcommand_list, TagsSubcommand.ADD: self.__subcommand_add, TagsSubcommand.REMOVE: self.__subcommand_remove }
def __init__(self, config, params): Command.__init__(self) self.config = config self.params = params
def __init__(self, config, params): Command.__init__(self) self.config = config self.params = params if params else InfoCommandParams(None)
def __init__(self, config, params=None): Command.__init__(self) self.config = config self.params = params or ListParams()
def __init__(self, config, entry_id, params): Command.__init__(self) self.config = config self.entry_id = entry_id self.params = params or UpdateCommandParams()
def __init__(self, config, params): Command.__init__(self) self.config = config self.params = params or DeleteCommandParams()
def __init__(self, config, params=None): Command.__init__(self) self.config = config self.params = params if params else DeleteByTagsParams()