src/license_expression/__init__.py
def build_licensing(license_index):
    """
    Return a Licensing object that has been loaded with license keys and
    attributes from a ``license_index`` list of simple ScanCode license mappings.
    """
    lics = [
        {
            'key': l.get('license_key', ''),
            'is_exception': l.get('is_exception', ''),
        } for l in license_index if not l.get('is_deprecated', False)
    ]
    return load_licensing_from_license_index(lics)

    Return a Licensing object that has been loaded with license keys and
    attributes from a ``license_index`` list of simple ScanCode license mappings.
    
Return a Licensing object that has been loaded with license keys and
attributes from a ``license_index`` list of simple ScanCode license mappings.
Return a Licensing object that has been loaded with license keys and attributes from a ` ` license_index ` ` list of simple ScanCode license mappings .
def build_licensing(license_index):
    lics = [
        {
            'key': l.get('license_key', ''),
            'is_exception': l.get('is_exception', ''),
        } for l in license_index if not l.get('is_deprecated', False)
    ]
    return load_licensing_from_license_index(lics)
def build_licensing ( license_index ) : lics = [ { 'key' : l . get ( 'license_key' , '' ) , 'is_exception' : l . get ( 'is_exception' , '' ) , } for l in license_index if not l . get ( 'is_deprecated' , False ) ] return load_licensing_from_license_index ( lics )
Return a Licensing object that has been loaded with license keys and
attributes from a ``license_index`` list of simple ScanCode license mappings.
Return a Licensing object that has been loaded with license keys and attributes from a ` ` license_index ` ` list of simple ScanCode license mappings .
"""
    Return a Licensing object that has been loaded with license keys and
    attributes from a ``license_index`` list of simple ScanCode license mappings.
    """
license_index