def diff_analysis(using):
    """
    Returns a diff string comparing the analysis defined in ES, with
    the analysis defined in Python land for the connection `using`
    """
    python_analysis = collect_analysis(using)
    es_analysis = existing_analysis(using)
    return compare_dicts(es_analysis, python_analysis)
def diff_analysis ( using ) : python_analysis = collect_analysis ( using ) es_analysis = existing_analysis ( using ) return compare_dicts ( es_analysis , python_analysis )
Returns a diff string comparing the analysis defined in ES, with
    the analysis defined in Python land for the connection `using`