libfidl.py
def load_properties():
    """
    This function is loading the data from the property file and checking if anything is missing.
    
    :return type: dictonary
    """
    with open(PROPERTY_FILE_PATH) as f:
        properties = json.load(f)
        
    required_entries = set({'user','classification','detection'})
    
    missing_entries = required_entries - properties.keys()
    if not len(missing_entries) == 0:
        raise Exception('Propeties corrupted! {} missing.'.format(str(missing_entries)))

    return properties

    This function is loading the data from the property file and checking if anything is missing.
    
    :return type: dictonary
    
This function is loading the data from the property file and checking if anything is missing.
This function is loading the data from the property file and checking if anything is missing .
def load_properties():
    with open(PROPERTY_FILE_PATH) as f:
        properties = json.load(f)
    required_entries = set({'user','classification','detection'})
    missing_entries = required_entries - properties.keys()
    if not len(missing_entries) == 0:
        raise Exception('Propeties corrupted! {} missing.'.format(str(missing_entries)))
    return properties
def load_properties ( ) : with open ( PROPERTY_FILE_PATH ) as f : properties = json . load ( f ) required_entries = set ( { 'user' , 'classification' , 'detection' } ) missing_entries = required_entries - properties . keys ( ) if not len ( missing_entries ) == 0 : raise Exception ( 'Propeties corrupted! {} missing.' . format ( str ( missing_entries ) ) ) return properties
This function is loading the data from the property file and checking if anything is missing.
This function is loading the data from the property file and checking if anything is missing .
"""
    This function is loading the data from the property file and checking if anything is missing.
    
    :return type: dictonary
    """
None
type