swagger_server/controllers/inputs_controller.py
def delete_data_source_all(id):  # noqa: E501
    """Deletes all loaded data

     # noqa: E501

    :param id: Id of the data source to be deleted
    :type id: str

    :rtype: None
    """
    result_file = delete_data(id, "Input.registry.file", "file")
    result_mqtt = delete_data(id, "Input.registry.mqtt", "mqtt")
    if result_file == "error" or result_mqtt == "error":
        return "error", 400
    elif result_file == "success" or result_mqtt == "success":
        return "success", 200
    elif result_file == "Id not existing" and result_mqtt == "Id not existing":
        return "Id not existing"
    else:
        return "error", 400
Deletes all loaded data

     # noqa: E501

    :param id: Id of the data source to be deleted
    :type id: str

    :rtype: None
    
Deletes all loaded data
noqa: E501
Deletes all loaded data noqa : E501
def delete_data_source_all(id):  
    """Deletes all loaded data
    :param id: Id of the data source to be deleted
    :type id: str
    :rtype: None
    """
    result_file = delete_data(id, "Input.registry.file", "file")
    result_mqtt = delete_data(id, "Input.registry.mqtt", "mqtt")
    if result_file == "error" or result_mqtt == "error":
        return "error", 400
    elif result_file == "success" or result_mqtt == "success":
        return "success", 200
    elif result_file == "Id not existing" and result_mqtt == "Id not existing":
        return "Id not existing"
    else:
        return "error", 400
def delete_data_source_all ( id ) : result_file = delete_data ( id , "Input.registry.file" , "file" ) result_mqtt = delete_data ( id , "Input.registry.mqtt" , "mqtt" ) if result_file == "error" or result_mqtt == "error" : return "error" , 400 elif result_file == "success" or result_mqtt == "success" : return "success" , 200 elif result_file == "Id not existing" and result_mqtt == "Id not existing" : return "Id not existing" else : return "error" , 400
Deletes all loaded data
 noqa: E501
Deletes all loaded data noqa : E501
# noqa: E501 """Deletes all loaded data

     # noqa: E501

    :param id: Id of the data source to be deleted
    :type id: str

    :rtype: None
    """
None
None
id
Id of the data source to be deleted
Id of the data source to be deleted