File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -525,6 +525,13 @@ class Category(DataClassORJSONMixin):
525525 icons : list [Image ]
526526
527527
528+ class ProductType (StrEnum ):
529+ """Product type."""
530+
531+ PREMIUM = "premium"
532+ FREE = "free"
533+
534+
528535@dataclass
529536class BaseUserProfile (DataClassORJSONMixin ):
530537 """Base user profile model."""
@@ -540,6 +547,8 @@ class BaseUserProfile(DataClassORJSONMixin):
540547class UserProfile (BaseUserProfile ):
541548 """User profile model."""
542549
550+ product : ProductType
551+
543552
544553@dataclass
545554class SimplifiedShow (DataClassORJSONMixin ):
Original file line number Diff line number Diff line change 42464246 }),
42474247 ]),
42484248 'object_type': 'user',
4249+ 'product': <ProductType.PREMIUM: 'premium'>,
42494250 'uri': 'spotify:user:1112264649',
42504251 'user_id': '1112264649',
42514252 })
You can’t perform that action at this time.
0 commit comments