rasa/model.py
def core_fingerprint_changed(fingerprint1: Fingerprint,
                             fingerprint2: Fingerprint) -> bool:
    """Checks whether the fingerprints of the Core model changed.

    Args:
        fingerprint1: A fingerprint.
        fingerprint2: Another fingerprint.

    Returns:
        `True` if the fingerprint for the Core model changed, else `False`.

    """
    relevant_keys = [FINGERPRINT_CONFIG_KEY, FINGERPRINT_CORE_VERSION_KEY,
                     FINGERPRINT_DOMAIN_KEY, FINGERPRINT_STORIES_KEY,
                     FINGERPRINT_RASA_VERSION_KEY]

    for k in relevant_keys:
        if fingerprint1.get(k) != fingerprint2.get(k):
            logger.info("Data ({}) for dialogue model changed."
                        "".format(k))
            return True
    return False
Checks whether the fingerprints of the Core model changed.

    Args:
        fingerprint1: A fingerprint.
        fingerprint2: Another fingerprint.

    Returns:
        `True` if the fingerprint for the Core model changed, else `False`.

    
Checks whether the fingerprints of the Core model changed.
Checks whether the fingerprints of the Core model changed .
def core_fingerprint_changed(fingerprint1: Fingerprint,
                             fingerprint2: Fingerprint) -> bool:
    relevant_keys = [FINGERPRINT_CONFIG_KEY, FINGERPRINT_CORE_VERSION_KEY,
                     FINGERPRINT_DOMAIN_KEY, FINGERPRINT_STORIES_KEY,
                     FINGERPRINT_RASA_VERSION_KEY]
    for k in relevant_keys:
        if fingerprint1.get(k) != fingerprint2.get(k):
            logger.info("Data ({}) for dialogue model changed."
                        "".format(k))
            return True
    return False
def core_fingerprint_changed ( fingerprint1 : Fingerprint , fingerprint2 : Fingerprint ) -> bool : relevant_keys = [ FINGERPRINT_CONFIG_KEY , FINGERPRINT_CORE_VERSION_KEY , FINGERPRINT_DOMAIN_KEY , FINGERPRINT_STORIES_KEY , FINGERPRINT_RASA_VERSION_KEY ] for k in relevant_keys : if fingerprint1 . get ( k ) != fingerprint2 . get ( k ) : logger . info ( "Data ({}) for dialogue model changed." "" . format ( k ) ) return True return False
Checks whether the fingerprints of the Core model changed.
Checks whether the fingerprints of the Core model changed .
"""Checks whether the fingerprints of the Core model changed.

    Args:
        fingerprint1: A fingerprint.
        fingerprint2: Another fingerprint.

    Returns:
        `True` if the fingerprint for the Core model changed, else `False`.

    """
`True` if the fingerprint for the Core model changed, else `False`.
` True ` if the fingerprint for the Core model changed else ` False ` .
fingerprint1
Fingerprint
None
fingerprint2
Fingerprint
None