def METHOD_NAME(self, attribs, conf):
    config = {}
    for item in attribs:
        value = utils.parse_conf_arg(conf, item)
        if value:
            value = value.strip("'")
            if item == "altitude":
                value = int(value)
            config[item] = value
        else:
            config[item] = None
    return utils.remove_empties(config)