@@ -140,7 +140,6 @@ def __init__(
140140 dba : Optional [str ],
141141 sole_proprietorship : Optional [bool ],
142142 business_vertical : Optional [BusinessVertical ],
143- operating_address : Optional [Address ],
144143 tags : Optional [Dict [str , str ]],
145144 relationships : Optional [Dict [str , Relationship ]],
146145 ):
@@ -161,7 +160,6 @@ def __init__(
161160 "dba" : dba ,
162161 "soleProprietorship" : sole_proprietorship ,
163162 "businessVertical" : business_vertical ,
164- "operatingAddress" : operating_address ,
165163 "tags" : tags ,
166164 }
167165 self .relationships = relationships
@@ -184,7 +182,6 @@ def from_json_api(_id, _type, attributes, relationships):
184182 attributes .get ("dba" ),
185183 attributes .get ("soleProprietorship" ),
186184 attributes .get ("businessVertical" ),
187- attributes .get ("operatingAddress" ),
188185 attributes .get ("tags" ),
189186 relationships ,
190187 )
@@ -307,7 +304,6 @@ def __init__(
307304 annual_revenue : Optional [AnnualRevenue ] = None ,
308305 number_of_employees : Optional [NumberOfEmployees ] = None ,
309306 business_vertical : Optional [BusinessVertical ] = None ,
310- operating_address : Optional [Address ] = None ,
311307 ):
312308 self .full_name = full_name
313309 self .date_of_birth = date_of_birth
@@ -328,7 +324,6 @@ def __init__(
328324 self .number_of_employees = number_of_employees
329325 self .business_vertical = business_vertical
330326 self .website = website
331- self .operating_address = operating_address
332327
333328 def to_json_api (self ) -> Dict :
334329 payload = {
@@ -390,9 +385,6 @@ def to_json_api(self) -> Dict:
390385 if self .business_vertical :
391386 payload ["data" ]["attributes" ]["businessVertical" ] = self .business_vertical
392387
393- if self .operating_address :
394- payload ["data" ]["attributes" ]["operatingAddress" ] = self .operating_address
395-
396388 return payload
397389
398390 def __repr__ (self ):
0 commit comments