@@ -150,7 +150,6 @@ with Polar() as polar:
150150 payment_processor_metadata = {
151151 " key" : " <value>" ,
152152 },
153- subtotal_amount = 219352 ,
154153 metadata = {
155154 " key" : 366960 ,
156155 " key1" : 961375 ,
@@ -234,40 +233,30 @@ with Polar() as polar:
234233
235234 ],
236235 benefits = [
237- polar_sdk.BenefitBase (
236+ polar_sdk.BenefitPublic (
238237 id = " <value>" ,
239238 created_at = dateutil.parser.isoparse(" 2025-11-18T07:12:26.749Z" ),
240239 modified_at = dateutil.parser.isoparse(" 2024-08-14T14:29:29.201Z" ),
241- metadata = {
242- " key" : 648726 ,
243- },
244240 type = polar_sdk.BenefitType.GITHUB_REPOSITORY ,
245241 description = " phew empty flawed worth radiant anti of blissfully" ,
246242 selectable = False ,
247243 deletable = False ,
248244 organization_id = " <value>" ,
249245 ),
250- polar_sdk.BenefitBase (
246+ polar_sdk.BenefitPublic (
251247 id = " <value>" ,
252248 created_at = dateutil.parser.isoparse(" 2024-03-12T06:20:21.161Z" ),
253249 modified_at = dateutil.parser.isoparse(" 2024-06-27T20:20:27.400Z" ),
254- metadata = {
255- " key" : 8517.45 ,
256- " key1" : " <value>" ,
257- },
258250 type = polar_sdk.BenefitType.LICENSE_KEYS ,
259251 description = " ack neatly jagged as weekly drat nor why" ,
260252 selectable = True ,
261253 deletable = False ,
262254 organization_id = " <value>" ,
263255 ),
264- polar_sdk.BenefitBase (
256+ polar_sdk.BenefitPublic (
265257 id = " <value>" ,
266258 created_at = dateutil.parser.isoparse(" 2024-03-31T07:42:35.077Z" ),
267259 modified_at = dateutil.parser.isoparse(" 2025-04-30T13:13:01.707Z" ),
268- metadata = {
269- " key" : " <value>" ,
270- },
271260 type = polar_sdk.BenefitType.GITHUB_REPOSITORY ,
272261 description = " ironclad chilly seriously finger unbearably and bourgeoisie deplore unless" ,
273262 selectable = False ,
@@ -430,7 +419,6 @@ async def main():
430419 payment_processor_metadata = {
431420 " key" : " <value>" ,
432421 },
433- subtotal_amount = 219352 ,
434422 metadata = {
435423 " key" : 366960 ,
436424 " key1" : 961375 ,
@@ -513,40 +501,30 @@ async def main():
513501
514502 ],
515503 benefits = [
516- polar_sdk.BenefitBase (
504+ polar_sdk.BenefitPublic (
517505 id = " <value>" ,
518506 created_at = dateutil.parser.isoparse(" 2025-11-18T07:12:26.749Z" ),
519507 modified_at = dateutil.parser.isoparse(" 2024-08-14T14:29:29.201Z" ),
520- metadata = {
521- " key" : 648726 ,
522- },
523508 type = polar_sdk.BenefitType.GITHUB_REPOSITORY ,
524509 description = " phew empty flawed worth radiant anti of blissfully" ,
525510 selectable = False ,
526511 deletable = False ,
527512 organization_id = " <value>" ,
528513 ),
529- polar_sdk.BenefitBase (
514+ polar_sdk.BenefitPublic (
530515 id = " <value>" ,
531516 created_at = dateutil.parser.isoparse(" 2024-03-12T06:20:21.161Z" ),
532517 modified_at = dateutil.parser.isoparse(" 2024-06-27T20:20:27.400Z" ),
533- metadata = {
534- " key" : 8517.45 ,
535- " key1" : " <value>" ,
536- },
537518 type = polar_sdk.BenefitType.LICENSE_KEYS ,
538519 description = " ack neatly jagged as weekly drat nor why" ,
539520 selectable = True ,
540521 deletable = False ,
541522 organization_id = " <value>" ,
542523 ),
543- polar_sdk.BenefitBase (
524+ polar_sdk.BenefitPublic (
544525 id = " <value>" ,
545526 created_at = dateutil.parser.isoparse(" 2024-03-31T07:42:35.077Z" ),
546527 modified_at = dateutil.parser.isoparse(" 2025-04-30T13:13:01.707Z" ),
547- metadata = {
548- " key" : " <value>" ,
549- },
550528 type = polar_sdk.BenefitType.GITHUB_REPOSITORY ,
551529 description = " ironclad chilly seriously finger unbearably and bourgeoisie deplore unless" ,
552530 selectable = False ,
0 commit comments