@@ -991,7 +991,7 @@ def to_dict(self) -> dict:
991991 return result
992992
993993
994- class TiltSource :
994+ class Source :
995995 """This refers to an locally unique ID in an arbitrary but deterministic format."""
996996 id : str
997997 """The category the data refer to."""
@@ -1005,12 +1005,12 @@ def __init__(self, id: str, data_category: str, sources: List[SourceSource]) ->
10051005 self .sources = sources
10061006
10071007 @staticmethod
1008- def from_dict (obj : Any ) -> 'TiltSource ' :
1008+ def from_dict (obj : Any ) -> 'Source ' :
10091009 assert isinstance (obj , dict )
10101010 id = from_str (obj .get ("_id" ))
10111011 data_category = from_str (obj .get ("dataCategory" ))
10121012 sources = from_list (SourceSource .from_dict , obj .get ("sources" ))
1013- return TiltSource (id , data_category , sources )
1013+ return Source (id , data_category , sources )
10141014
10151015 def to_dict (self ) -> dict :
10161016 result : dict = {}
@@ -1186,11 +1186,11 @@ class Tilt:
11861186 """This duty to provide information is limited to the collection of personal data that does
11871187 not take place from the data subject (Art. 14).
11881188 """
1189- sources : List [TiltSource ]
1189+ sources : List [Source ]
11901190 """This schema refers to the adequacy decisions of any third country transfers."""
11911191 third_country_transfers : List [ThirdCountryTransferElement ]
11921192
1193- def __init__ (self , access_and_data_portability : AccessAndDataPortability , automated_decision_making : AutomatedDecisionMaking , changes_of_purpose : List [ChangesOfPurposeElement ], controller : Controller , data_disclosed : List [DataDisclosedElement ], data_protection_officer : DataProtectionOfficer , meta : Meta , right_to_complain : RightToComplain , right_to_data_portability : RightToDataPortability , right_to_information : RightToInformation , right_to_rectification_or_deletion : RightToRectificationOrDeletion , right_to_withdraw_consent : RightToWithdrawConsent , sources : List [TiltSource ], third_country_transfers : List [ThirdCountryTransferElement ]) -> None :
1193+ def __init__ (self , access_and_data_portability : AccessAndDataPortability , automated_decision_making : AutomatedDecisionMaking , changes_of_purpose : List [ChangesOfPurposeElement ], controller : Controller , data_disclosed : List [DataDisclosedElement ], data_protection_officer : DataProtectionOfficer , meta : Meta , right_to_complain : RightToComplain , right_to_data_portability : RightToDataPortability , right_to_information : RightToInformation , right_to_rectification_or_deletion : RightToRectificationOrDeletion , right_to_withdraw_consent : RightToWithdrawConsent , sources : List [Source ], third_country_transfers : List [ThirdCountryTransferElement ]) -> None :
11941194 self .access_and_data_portability = access_and_data_portability
11951195 self .automated_decision_making = automated_decision_making
11961196 self .changes_of_purpose = changes_of_purpose
@@ -1221,7 +1221,7 @@ def from_dict(obj: Any) -> 'Tilt':
12211221 right_to_information = RightToInformation .from_dict (obj .get ("rightToInformation" ))
12221222 right_to_rectification_or_deletion = RightToRectificationOrDeletion .from_dict (obj .get ("rightToRectificationOrDeletion" ))
12231223 right_to_withdraw_consent = RightToWithdrawConsent .from_dict (obj .get ("rightToWithdrawConsent" ))
1224- sources = from_list (TiltSource .from_dict , obj .get ("sources" ))
1224+ sources = from_list (Source .from_dict , obj .get ("sources" ))
12251225 third_country_transfers = from_list (ThirdCountryTransferElement .from_dict , obj .get ("thirdCountryTransfers" ))
12261226 return Tilt (access_and_data_portability , automated_decision_making , changes_of_purpose , controller , data_disclosed , data_protection_officer , meta , right_to_complain , right_to_data_portability , right_to_information , right_to_rectification_or_deletion , right_to_withdraw_consent , sources , third_country_transfers )
12271227
@@ -1239,7 +1239,7 @@ def to_dict(self) -> dict:
12391239 result ["rightToInformation" ] = to_class (RightToInformation , self .right_to_information )
12401240 result ["rightToRectificationOrDeletion" ] = to_class (RightToRectificationOrDeletion , self .right_to_rectification_or_deletion )
12411241 result ["rightToWithdrawConsent" ] = to_class (RightToWithdrawConsent , self .right_to_withdraw_consent )
1242- result ["sources" ] = from_list (lambda x : to_class (TiltSource , x ), self .sources )
1242+ result ["sources" ] = from_list (lambda x : to_class (Source , x ), self .sources )
12431243 result ["thirdCountryTransfers" ] = from_list (lambda x : to_class (ThirdCountryTransferElement , x ), self .third_country_transfers )
12441244 return result
12451245
0 commit comments