Add support for Polls

Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
Co-authored-by: Josh <8677174+bijij@users.noreply.github.com>
Co-authored-by: Trevor Flahardy <75498301+trevorflahardy@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2024-05-10 06:14:12 -04:00
1 parent a1206dfde8
commit e43bd8692c
19 files changed
+1097 -1

No files matched your search

+5
View File
@@ -73,6 +73,7 @@ __all__ = (
'SKUType',
'EntitlementType',
'EntitlementOwnerType',
'PollLayoutType',
)
@@ -818,6 +819,10 @@ class EntitlementOwnerType(Enum):
user = 2
class PollLayoutType(Enum):
default = 1
def create_unknown_value(cls: Type[E], val: Any) -> E:
value_cls = cls._enum_value_cls_ # type: ignore # This is narrowed below
name = f'unknown_{val}'