File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1530,7 +1530,13 @@ class Package(PackageData):
15301530 label = 'datasource ids' ,
15311531 help = 'List of the datasource ids used to create this package.'
15321532 )
1533-
1533+
1534+ license_clarity = List (
1535+ item_type = dict ,
1536+ label = 'License Clarity Information' ,
1537+ help = 'List containing the license clarity score and related elements.'
1538+ )
1539+
15341540 def __attrs_post_init__ (self , * args , ** kwargs ):
15351541 if not self .package_uid :
15361542 self .package_uid = build_package_uid (self .purl )
@@ -1543,6 +1549,7 @@ def to_package_data(self):
15431549 mapping .pop ('package_uid' , None )
15441550 mapping .pop ('datafile_paths' , None )
15451551 mapping .pop ('datasource_ids' , None )
1552+ mapping .pop ('license_clarity' , None )
15461553 return PackageData .from_dict (mapping )
15471554
15481555 @classmethod
You can’t perform that action at this time.
0 commit comments