twitter-openapi-python-generated 0.0.25__py3-none-any.whl → 0.0.27__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. twitter_openapi_python_generated/__init__.py +4 -2
  2. twitter_openapi_python_generated/api_client.py +1 -1
  3. twitter_openapi_python_generated/configuration.py +176 -38
  4. twitter_openapi_python_generated/models/__init__.py +3 -1
  5. twitter_openapi_python_generated/models/author_community_relationship.py +2 -2
  6. twitter_openapi_python_generated/models/birdwatch_pivot.py +6 -6
  7. twitter_openapi_python_generated/models/community_actions.py +3 -3
  8. twitter_openapi_python_generated/models/community_data.py +4 -4
  9. twitter_openapi_python_generated/models/{community_join_action_result.py → community_join_action.py} +4 -4
  10. twitter_openapi_python_generated/models/community_join_action_result_union.py +156 -0
  11. twitter_openapi_python_generated/models/community_join_action_unavailable.py +100 -0
  12. twitter_openapi_python_generated/models/error_response.py +1 -1
  13. twitter_openapi_python_generated/models/tweet_legacy.py +2 -2
  14. twitter_openapi_python_generated/models/type_name.py +1 -0
  15. twitter_openapi_python_generated/models/user.py +1 -1
  16. twitter_openapi_python_generated/models/user_legacy_extended_profile_birthdate.py +2 -2
  17. twitter_openapi_python_generated/models/user_tip_jar_settings.py +3 -1
  18. twitter_openapi_python_generated/models/user_verification_info_reason.py +2 -2
  19. {twitter_openapi_python_generated-0.0.25.dist-info → twitter_openapi_python_generated-0.0.27.dist-info}/METADATA +6 -6
  20. {twitter_openapi_python_generated-0.0.25.dist-info → twitter_openapi_python_generated-0.0.27.dist-info}/RECORD +24 -22
  21. {twitter_openapi_python_generated-0.0.25.dist-info → twitter_openapi_python_generated-0.0.27.dist-info}/WHEEL +1 -1
  22. {twitter_openapi_python_generated-0.0.25.dist-info → twitter_openapi_python_generated-0.0.27.dist-info}/LICENSE +0 -0
  23. {twitter_openapi_python_generated-0.0.25.dist-info → twitter_openapi_python_generated-0.0.27.dist-info}/LICENSE.AGPL +0 -0
  24. {twitter_openapi_python_generated-0.0.25.dist-info → twitter_openapi_python_generated-0.0.27.dist-info}/top_level.txt +0 -0
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "0.0.25"
18
+ __version__ = "0.0.27"
19
19
 
20
20
  # import apis into sdk package
21
21
  from twitter_openapi_python_generated.api.default_api import DefaultApi
@@ -74,7 +74,9 @@ from twitter_openapi_python_generated.models.community_actions import CommunityA
74
74
  from twitter_openapi_python_generated.models.community_data import CommunityData
75
75
  from twitter_openapi_python_generated.models.community_delete_action_result import CommunityDeleteActionResult
76
76
  from twitter_openapi_python_generated.models.community_invites_result import CommunityInvitesResult
77
- from twitter_openapi_python_generated.models.community_join_action_result import CommunityJoinActionResult
77
+ from twitter_openapi_python_generated.models.community_join_action import CommunityJoinAction
78
+ from twitter_openapi_python_generated.models.community_join_action_result_union import CommunityJoinActionResultUnion
79
+ from twitter_openapi_python_generated.models.community_join_action_unavailable import CommunityJoinActionUnavailable
78
80
  from twitter_openapi_python_generated.models.community_join_requests_result import CommunityJoinRequestsResult
79
81
  from twitter_openapi_python_generated.models.community_leave_action_result import CommunityLeaveActionResult
80
82
  from twitter_openapi_python_generated.models.community_pin_action_result import CommunityPinActionResult
@@ -91,7 +91,7 @@ class ApiClient:
91
91
  self.default_headers[header_name] = header_value
92
92
  self.cookie = cookie
93
93
  # Set default User-Agent.
94
- self.user_agent = 'OpenAPI-Generator/0.0.25/python'
94
+ self.user_agent = 'OpenAPI-Generator/0.0.27/python'
95
95
  self.client_side_validation = configuration.client_side_validation
96
96
 
97
97
  def __enter__(self):
@@ -14,14 +14,16 @@
14
14
 
15
15
 
16
16
  import copy
17
+ import http.client as httplib
17
18
  import logging
18
19
  from logging import FileHandler
19
20
  import multiprocessing
20
21
  import sys
21
- from typing import Optional
22
+ from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict
23
+ from typing_extensions import NotRequired, Self
24
+
22
25
  import urllib3
23
26
 
24
- import http.client as httplib
25
27
 
26
28
  JSON_SCHEMA_VALIDATION_KEYWORDS = {
27
29
  'multipleOf', 'maximum', 'exclusiveMaximum',
@@ -29,6 +31,129 @@ JSON_SCHEMA_VALIDATION_KEYWORDS = {
29
31
  'minLength', 'pattern', 'maxItems', 'minItems'
30
32
  }
31
33
 
34
+ ServerVariablesT = Dict[str, str]
35
+
36
+ GenericAuthSetting = TypedDict(
37
+ "GenericAuthSetting",
38
+ {
39
+ "type": str,
40
+ "in": str,
41
+ "key": str,
42
+ "value": str,
43
+ },
44
+ )
45
+
46
+
47
+ OAuth2AuthSetting = TypedDict(
48
+ "OAuth2AuthSetting",
49
+ {
50
+ "type": Literal["oauth2"],
51
+ "in": Literal["header"],
52
+ "key": Literal["Authorization"],
53
+ "value": str,
54
+ },
55
+ )
56
+
57
+
58
+ APIKeyAuthSetting = TypedDict(
59
+ "APIKeyAuthSetting",
60
+ {
61
+ "type": Literal["api_key"],
62
+ "in": str,
63
+ "key": str,
64
+ "value": Optional[str],
65
+ },
66
+ )
67
+
68
+
69
+ BasicAuthSetting = TypedDict(
70
+ "BasicAuthSetting",
71
+ {
72
+ "type": Literal["basic"],
73
+ "in": Literal["header"],
74
+ "key": Literal["Authorization"],
75
+ "value": Optional[str],
76
+ },
77
+ )
78
+
79
+
80
+ BearerFormatAuthSetting = TypedDict(
81
+ "BearerFormatAuthSetting",
82
+ {
83
+ "type": Literal["bearer"],
84
+ "in": Literal["header"],
85
+ "format": Literal["JWT"],
86
+ "key": Literal["Authorization"],
87
+ "value": str,
88
+ },
89
+ )
90
+
91
+
92
+ BearerAuthSetting = TypedDict(
93
+ "BearerAuthSetting",
94
+ {
95
+ "type": Literal["bearer"],
96
+ "in": Literal["header"],
97
+ "key": Literal["Authorization"],
98
+ "value": str,
99
+ },
100
+ )
101
+
102
+
103
+ HTTPSignatureAuthSetting = TypedDict(
104
+ "HTTPSignatureAuthSetting",
105
+ {
106
+ "type": Literal["http-signature"],
107
+ "in": Literal["header"],
108
+ "key": Literal["Authorization"],
109
+ "value": None,
110
+ },
111
+ )
112
+
113
+
114
+ AuthSettings = TypedDict(
115
+ "AuthSettings",
116
+ {
117
+ "Accept": APIKeyAuthSetting,
118
+ "AcceptEncoding": APIKeyAuthSetting,
119
+ "AcceptLanguage": APIKeyAuthSetting,
120
+ "ActiveUser": APIKeyAuthSetting,
121
+ "AuthType": APIKeyAuthSetting,
122
+ "BearerAuth": BearerAuthSetting,
123
+ "ClientLanguage": APIKeyAuthSetting,
124
+ "ClientTransactionId": APIKeyAuthSetting,
125
+ "ClientUuid": APIKeyAuthSetting,
126
+ "CookieAuthToken": APIKeyAuthSetting,
127
+ "CookieCt0": APIKeyAuthSetting,
128
+ "CookieGt0": APIKeyAuthSetting,
129
+ "CsrfToken": APIKeyAuthSetting,
130
+ "GuestToken": APIKeyAuthSetting,
131
+ "Priority": APIKeyAuthSetting,
132
+ "Referer": APIKeyAuthSetting,
133
+ "SecChUa": APIKeyAuthSetting,
134
+ "SecChUaMobile": APIKeyAuthSetting,
135
+ "SecChUaPlatform": APIKeyAuthSetting,
136
+ "SecFetchDest": APIKeyAuthSetting,
137
+ "SecFetchMode": APIKeyAuthSetting,
138
+ "SecFetchSite": APIKeyAuthSetting,
139
+ "UserAgent": APIKeyAuthSetting,
140
+ },
141
+ total=False,
142
+ )
143
+
144
+
145
+ class HostSettingVariable(TypedDict):
146
+ description: str
147
+ default_value: str
148
+ enum_values: List[str]
149
+
150
+
151
+ class HostSetting(TypedDict):
152
+ url: str
153
+ description: str
154
+ variables: NotRequired[Dict[str, HostSettingVariable]]
155
+
156
+
32
157
  class Configuration:
33
158
  """This class contains various settings of the API client.
34
159
 
@@ -82,20 +207,26 @@ conf = twitter_openapi_python_generated.Configuration(
82
207
  Cookie: JSESSIONID abc123
83
208
  """
84
209
 
85
- _default = None
86
-
87
- def __init__(self, host=None,
88
- api_key=None, api_key_prefix=None,
89
- username=None, password=None,
90
- access_token=None,
91
- server_index=None, server_variables=None,
92
- server_operation_index=None, server_operation_variables=None,
93
- ignore_operation_servers=False,
94
- ssl_ca_cert=None,
95
- retries=None,
96
- *,
97
- debug: Optional[bool] = None
98
- ) -> None:
210
+ _default: ClassVar[Optional[Self]] = None
211
+
212
+ def __init__(
213
+ self,
214
+ host: Optional[str]=None,
215
+ api_key: Optional[Dict[str, str]]=None,
216
+ api_key_prefix: Optional[Dict[str, str]]=None,
217
+ username: Optional[str]=None,
218
+ password: Optional[str]=None,
219
+ access_token: Optional[str]=None,
220
+ server_index: Optional[int]=None,
221
+ server_variables: Optional[ServerVariablesT]=None,
222
+ server_operation_index: Optional[Dict[int, int]]=None,
223
+ server_operation_variables: Optional[Dict[int, ServerVariablesT]]=None,
224
+ ignore_operation_servers: bool=False,
225
+ ssl_ca_cert: Optional[str]=None,
226
+ retries: Optional[int] = None,
227
+ *,
228
+ debug: Optional[bool] = None,
229
+ ) -> None:
99
230
  """Constructor
100
231
  """
101
232
  self._base_path = "https://x.com/i/api" if host is None else host
@@ -219,7 +350,7 @@ conf = twitter_openapi_python_generated.Configuration(
219
350
  """date format
220
351
  """
221
352
 
222
- def __deepcopy__(self, memo):
353
+ def __deepcopy__(self, memo: Dict[int, Any]) -> Self:
223
354
  cls = self.__class__
224
355
  result = cls.__new__(cls)
225
356
  memo[id(self)] = result
@@ -233,11 +364,11 @@ conf = twitter_openapi_python_generated.Configuration(
233
364
  result.debug = self.debug
234
365
  return result
235
366
 
236
- def __setattr__(self, name, value):
367
+ def __setattr__(self, name: str, value: Any) -> None:
237
368
  object.__setattr__(self, name, value)
238
369
 
239
370
  @classmethod
240
- def set_default(cls, default):
371
+ def set_default(cls, default: Optional[Self]) -> None:
241
372
  """Set default instance of configuration.
242
373
 
243
374
  It stores default configuration, which can be
@@ -248,7 +379,7 @@ conf = twitter_openapi_python_generated.Configuration(
248
379
  cls._default = default
249
380
 
250
381
  @classmethod
251
- def get_default_copy(cls):
382
+ def get_default_copy(cls) -> Self:
252
383
  """Deprecated. Please use `get_default` instead.
253
384
 
254
385
  Deprecated. Please use `get_default` instead.
@@ -258,7 +389,7 @@ conf = twitter_openapi_python_generated.Configuration(
258
389
  return cls.get_default()
259
390
 
260
391
  @classmethod
261
- def get_default(cls):
392
+ def get_default(cls) -> Self:
262
393
  """Return the default configuration.
263
394
 
264
395
  This method returns newly created, based on default constructor,
@@ -268,11 +399,11 @@ conf = twitter_openapi_python_generated.Configuration(
268
399
  :return: The configuration object.
269
400
  """
270
401
  if cls._default is None:
271
- cls._default = Configuration()
402
+ cls._default = cls()
272
403
  return cls._default
273
404
 
274
405
  @property
275
- def logger_file(self):
406
+ def logger_file(self) -> Optional[str]:
276
407
  """The logger file.
277
408
 
278
409
  If the logger_file is None, then add stream handler and remove file
@@ -284,7 +415,7 @@ conf = twitter_openapi_python_generated.Configuration(
284
415
  return self.__logger_file
285
416
 
286
417
  @logger_file.setter
287
- def logger_file(self, value):
418
+ def logger_file(self, value: Optional[str]) -> None:
288
419
  """The logger file.
289
420
 
290
421
  If the logger_file is None, then add stream handler and remove file
@@ -303,7 +434,7 @@ conf = twitter_openapi_python_generated.Configuration(
303
434
  logger.addHandler(self.logger_file_handler)
304
435
 
305
436
  @property
306
- def debug(self):
437
+ def debug(self) -> bool:
307
438
  """Debug status
308
439
 
309
440
  :param value: The debug status, True or False.
@@ -312,7 +443,7 @@ conf = twitter_openapi_python_generated.Configuration(
312
443
  return self.__debug
313
444
 
314
445
  @debug.setter
315
- def debug(self, value):
446
+ def debug(self, value: bool) -> None:
316
447
  """Debug status
317
448
 
318
449
  :param value: The debug status, True or False.
@@ -334,7 +465,7 @@ conf = twitter_openapi_python_generated.Configuration(
334
465
  httplib.HTTPConnection.debuglevel = 0
335
466
 
336
467
  @property
337
- def logger_format(self):
468
+ def logger_format(self) -> str:
338
469
  """The logger format.
339
470
 
340
471
  The logger_formatter will be updated when sets logger_format.
@@ -345,7 +476,7 @@ conf = twitter_openapi_python_generated.Configuration(
345
476
  return self.__logger_format
346
477
 
347
478
  @logger_format.setter
348
- def logger_format(self, value):
479
+ def logger_format(self, value: str) -> None:
349
480
  """The logger format.
350
481
 
351
482
  The logger_formatter will be updated when sets logger_format.
@@ -356,7 +487,7 @@ conf = twitter_openapi_python_generated.Configuration(
356
487
  self.__logger_format = value
357
488
  self.logger_formatter = logging.Formatter(self.__logger_format)
358
489
 
359
- def get_api_key_with_prefix(self, identifier, alias=None):
490
+ def get_api_key_with_prefix(self, identifier: str, alias: Optional[str]=None) -> Optional[str]:
360
491
  """Gets API key (with prefix if set).
361
492
 
362
493
  :param identifier: The identifier of apiKey.
@@ -373,7 +504,9 @@ conf = twitter_openapi_python_generated.Configuration(
373
504
  else:
374
505
  return key
375
506
 
376
- def get_basic_auth_token(self):
507
+ return None
508
+
509
+ def get_basic_auth_token(self) -> Optional[str]:
377
510
  """Gets HTTP basic authentication header (string).
378
511
 
379
512
  :return: The token for basic HTTP authentication.
@@ -388,12 +521,12 @@ conf = twitter_openapi_python_generated.Configuration(
388
521
  basic_auth=username + ':' + password
389
522
  ).get('authorization')
390
523
 
391
- def auth_settings(self):
524
+ def auth_settings(self)-> AuthSettings:
392
525
  """Gets Auth Settings dict for api client.
393
526
 
394
527
  :return: The Auth Settings information dict.
395
528
  """
396
- auth = {}
529
+ auth: AuthSettings = {}
397
530
  if 'Accept' in self.api_key:
398
531
  auth['Accept'] = {
399
532
  'type': 'api_key',
@@ -601,7 +734,7 @@ conf = twitter_openapi_python_generated.Configuration(
601
734
  }
602
735
  return auth
603
736
 
604
- def to_debug_report(self):
737
+ def to_debug_report(self) -> str:
605
738
  """Gets the essential information for debugging.
606
739
 
607
740
  :return: The report for debugging.
@@ -610,10 +743,10 @@ conf = twitter_openapi_python_generated.Configuration(
610
743
  "OS: {env}\n"\
611
744
  "Python Version: {pyversion}\n"\
612
745
  "Version of the API: 0.0.1\n"\
613
- "SDK Package Version: 0.0.25".\
746
+ "SDK Package Version: 0.0.27".\
614
747
  format(env=sys.platform, pyversion=sys.version)
615
748
 
616
- def get_host_settings(self):
749
+ def get_host_settings(self) -> List[HostSetting]:
617
750
  """Gets an array of host settings
618
751
 
619
752
  :return: An array of host settings
@@ -629,7 +762,12 @@ conf = twitter_openapi_python_generated.Configuration(
629
762
  }
630
763
  ]
631
764
 
632
- def get_host_from_settings(self, index, variables=None, servers=None):
765
+ def get_host_from_settings(
766
+ self,
767
+ index: Optional[int],
768
+ variables: Optional[ServerVariablesT]=None,
769
+ servers: Optional[List[HostSetting]]=None,
770
+ ) -> str:
633
771
  """Gets host URL based on the index and variables
634
772
  :param index: array index of the host settings
635
773
  :param variables: hash of variable and the corresponding value
@@ -669,12 +807,12 @@ conf = twitter_openapi_python_generated.Configuration(
669
807
  return url
670
808
 
671
809
  @property
672
- def host(self):
810
+ def host(self) -> str:
673
811
  """Return generated host."""
674
812
  return self.get_host_from_settings(self.server_index, variables=self.server_variables)
675
813
 
676
814
  @host.setter
677
- def host(self, value):
815
+ def host(self, value: str) -> None:
678
816
  """Fix base path."""
679
817
  self._base_path = value
680
818
  self.server_index = None
@@ -48,7 +48,9 @@ from twitter_openapi_python_generated.models.community_actions import CommunityA
48
48
  from twitter_openapi_python_generated.models.community_data import CommunityData
49
49
  from twitter_openapi_python_generated.models.community_delete_action_result import CommunityDeleteActionResult
50
50
  from twitter_openapi_python_generated.models.community_invites_result import CommunityInvitesResult
51
- from twitter_openapi_python_generated.models.community_join_action_result import CommunityJoinActionResult
51
+ from twitter_openapi_python_generated.models.community_join_action import CommunityJoinAction
52
+ from twitter_openapi_python_generated.models.community_join_action_result_union import CommunityJoinActionResultUnion
53
+ from twitter_openapi_python_generated.models.community_join_action_unavailable import CommunityJoinActionUnavailable
52
54
  from twitter_openapi_python_generated.models.community_join_requests_result import CommunityJoinRequestsResult
53
55
  from twitter_openapi_python_generated.models.community_leave_action_result import CommunityLeaveActionResult
54
56
  from twitter_openapi_python_generated.models.community_pin_action_result import CommunityPinActionResult
@@ -40,8 +40,8 @@ class AuthorCommunityRelationship(BaseModel):
40
40
  if value is None:
41
41
  return value
42
42
 
43
- if value not in set(['Member', 'Moderator']):
44
- raise ValueError("must be one of enum values ('Member', 'Moderator')")
43
+ if value not in set(['Member', 'Moderator', 'Admin']):
44
+ raise ValueError("must be one of enum values ('Member', 'Moderator', 'Admin')")
45
45
  return value
46
46
 
47
47
  model_config = ConfigDict(
@@ -33,11 +33,11 @@ class BirdwatchPivot(BaseModel):
33
33
  """ # noqa: E501
34
34
  call_to_action: Optional[BirdwatchPivotCallToAction] = Field(default=None, alias="callToAction")
35
35
  destination_url: StrictStr = Field(alias="destinationUrl")
36
- footer: BirdwatchPivotFooter
36
+ footer: Optional[BirdwatchPivotFooter] = None
37
37
  icon_type: StrictStr = Field(alias="iconType")
38
- note: BirdwatchPivotNote
39
- shorttitle: StrictStr
40
- subtitle: BirdwatchPivotSubtitle
38
+ note: Optional[BirdwatchPivotNote] = None
39
+ shorttitle: Optional[StrictStr] = None
40
+ subtitle: Optional[BirdwatchPivotSubtitle] = None
41
41
  title: StrictStr
42
42
  visual_style: Optional[StrictStr] = Field(default=None, alias="visualStyle")
43
43
  __properties: ClassVar[List[str]] = ["callToAction", "destinationUrl", "footer", "iconType", "note", "shorttitle", "subtitle", "title", "visualStyle"]
@@ -55,8 +55,8 @@ class BirdwatchPivot(BaseModel):
55
55
  if value is None:
56
56
  return value
57
57
 
58
- if value not in set(['Default']):
59
- raise ValueError("must be one of enum values ('Default')")
58
+ if value not in set(['Default', 'Tentative']):
59
+ raise ValueError("must be one of enum values ('Default', 'Tentative')")
60
60
  return value
61
61
 
62
62
  model_config = ConfigDict(
@@ -21,7 +21,7 @@ import json
21
21
  from pydantic import BaseModel, ConfigDict
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
23
  from twitter_openapi_python_generated.models.community_delete_action_result import CommunityDeleteActionResult
24
- from twitter_openapi_python_generated.models.community_join_action_result import CommunityJoinActionResult
24
+ from twitter_openapi_python_generated.models.community_join_action_result_union import CommunityJoinActionResultUnion
25
25
  from twitter_openapi_python_generated.models.community_leave_action_result import CommunityLeaveActionResult
26
26
  from twitter_openapi_python_generated.models.community_pin_action_result import CommunityPinActionResult
27
27
  from twitter_openapi_python_generated.models.community_unpin_action_result import CommunityUnpinActionResult
@@ -33,7 +33,7 @@ class CommunityActions(BaseModel):
33
33
  CommunityActions
34
34
  """ # noqa: E501
35
35
  delete_action_result: Optional[CommunityDeleteActionResult] = None
36
- join_action_result: Optional[CommunityJoinActionResult] = None
36
+ join_action_result: Optional[CommunityJoinActionResultUnion] = None
37
37
  leave_action_result: Optional[CommunityLeaveActionResult] = None
38
38
  pin_action_result: Optional[CommunityPinActionResult] = None
39
39
  unpin_action_result: Optional[CommunityUnpinActionResult] = None
@@ -106,7 +106,7 @@ class CommunityActions(BaseModel):
106
106
 
107
107
  _obj = cls.model_validate({
108
108
  "delete_action_result": CommunityDeleteActionResult.from_dict(obj["delete_action_result"]) if obj.get("delete_action_result") is not None else None,
109
- "join_action_result": CommunityJoinActionResult.from_dict(obj["join_action_result"]) if obj.get("join_action_result") is not None else None,
109
+ "join_action_result": CommunityJoinActionResultUnion.from_dict(obj["join_action_result"]) if obj.get("join_action_result") is not None else None,
110
110
  "leave_action_result": CommunityLeaveActionResult.from_dict(obj["leave_action_result"]) if obj.get("leave_action_result") is not None else None,
111
111
  "pin_action_result": CommunityPinActionResult.from_dict(obj["pin_action_result"]) if obj.get("pin_action_result") is not None else None,
112
112
  "unpin_action_result": CommunityUnpinActionResult.from_dict(obj["unpin_action_result"]) if obj.get("unpin_action_result") is not None else None
@@ -74,15 +74,15 @@ class CommunityData(BaseModel):
74
74
  @field_validator('invites_policy')
75
75
  def invites_policy_validate_enum(cls, value):
76
76
  """Validates the enum"""
77
- if value not in set(['MemberInvitesAllowed']):
78
- raise ValueError("must be one of enum values ('MemberInvitesAllowed')")
77
+ if value not in set(['MemberInvitesAllowed', 'ModeratorInvitesAllowed']):
78
+ raise ValueError("must be one of enum values ('MemberInvitesAllowed', 'ModeratorInvitesAllowed')")
79
79
  return value
80
80
 
81
81
  @field_validator('join_policy')
82
82
  def join_policy_validate_enum(cls, value):
83
83
  """Validates the enum"""
84
- if value not in set(['Open']):
85
- raise ValueError("must be one of enum values ('Open')")
84
+ if value not in set(['Open', 'RestrictedJoinRequestsRequireModeratorApproval']):
85
+ raise ValueError("must be one of enum values ('Open', 'RestrictedJoinRequestsRequireModeratorApproval')")
86
86
  return value
87
87
 
88
88
  @field_validator('role')
@@ -24,9 +24,9 @@ from twitter_openapi_python_generated.models.type_name import TypeName
24
24
  from typing import Optional, Set
25
25
  from typing_extensions import Self
26
26
 
27
- class CommunityJoinActionResult(BaseModel):
27
+ class CommunityJoinAction(BaseModel):
28
28
  """
29
- CommunityJoinActionResult
29
+ CommunityJoinAction
30
30
  """ # noqa: E501
31
31
  typename: TypeName = Field(alias="__typename")
32
32
  __properties: ClassVar[List[str]] = ["__typename"]
@@ -49,7 +49,7 @@ class CommunityJoinActionResult(BaseModel):
49
49
 
50
50
  @classmethod
51
51
  def from_json(cls, json_str: str) -> Optional[Self]:
52
- """Create an instance of CommunityJoinActionResult from a JSON string"""
52
+ """Create an instance of CommunityJoinAction from a JSON string"""
53
53
  return cls.from_dict(json.loads(json_str))
54
54
 
55
55
  def to_dict(self) -> Dict[str, Any]:
@@ -74,7 +74,7 @@ class CommunityJoinActionResult(BaseModel):
74
74
 
75
75
  @classmethod
76
76
  def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
77
- """Create an instance of CommunityJoinActionResult from a dict"""
77
+ """Create an instance of CommunityJoinAction from a dict"""
78
78
  if obj is None:
79
79
  return None
80
80
 
@@ -0,0 +1,156 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Twitter OpenAPI
5
+
6
+ Twitter OpenAPI(Swagger) specification
7
+
8
+ The version of the OpenAPI document: 0.0.1
9
+ Contact: yuki@yuki0311.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import json
18
+ import pprint
19
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
20
+ from typing import Any, List, Optional
21
+ from twitter_openapi_python_generated.models.community_join_action import CommunityJoinAction
22
+ from twitter_openapi_python_generated.models.community_join_action_unavailable import CommunityJoinActionUnavailable
23
+ from pydantic import StrictStr, Field
24
+ from typing import Union, List, Set, Optional, Dict
25
+ from typing_extensions import Literal, Self
26
+
27
+ COMMUNITYJOINACTIONRESULTUNION_ONE_OF_SCHEMAS = ["CommunityJoinAction", "CommunityJoinActionUnavailable"]
28
+
29
+ class CommunityJoinActionResultUnion(BaseModel):
30
+ """
31
+ CommunityJoinActionResultUnion
32
+ """
33
+ # data type: CommunityJoinAction
34
+ oneof_schema_1_validator: Optional[CommunityJoinAction] = None
35
+ # data type: CommunityJoinActionUnavailable
36
+ oneof_schema_2_validator: Optional[CommunityJoinActionUnavailable] = None
37
+ actual_instance: Optional[Union[CommunityJoinAction, CommunityJoinActionUnavailable]] = None
38
+ one_of_schemas: Set[str] = { "CommunityJoinAction", "CommunityJoinActionUnavailable" }
39
+
40
+ model_config = ConfigDict(
41
+ validate_assignment=True,
42
+ protected_namespaces=(),
43
+ )
44
+
45
+
46
+ discriminator_value_class_map: Dict[str, str] = {
47
+ }
48
+
49
+ def __init__(self, *args, **kwargs) -> None:
50
+ if args:
51
+ if len(args) > 1:
52
+ raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
53
+ if kwargs:
54
+ raise ValueError("If a position argument is used, keyword arguments cannot be used.")
55
+ super().__init__(actual_instance=args[0])
56
+ else:
57
+ super().__init__(**kwargs)
58
+
59
+ @field_validator('actual_instance')
60
+ def actual_instance_must_validate_oneof(cls, v):
61
+ instance = CommunityJoinActionResultUnion.model_construct()
62
+ error_messages = []
63
+ match = 0
64
+ # validate data type: CommunityJoinAction
65
+ if not isinstance(v, CommunityJoinAction):
66
+ error_messages.append(f"Error! Input type `{type(v)}` is not `CommunityJoinAction`")
67
+ else:
68
+ match += 1
69
+ # validate data type: CommunityJoinActionUnavailable
70
+ if not isinstance(v, CommunityJoinActionUnavailable):
71
+ error_messages.append(f"Error! Input type `{type(v)}` is not `CommunityJoinActionUnavailable`")
72
+ else:
73
+ match += 1
74
+ if match > 1:
75
+ # more than 1 match
76
+ raise ValueError("Multiple matches found when setting `actual_instance` in CommunityJoinActionResultUnion with oneOf schemas: CommunityJoinAction, CommunityJoinActionUnavailable. Details: " + ", ".join(error_messages))
77
+ elif match == 0:
78
+ # no match
79
+ raise ValueError("No match found when setting `actual_instance` in CommunityJoinActionResultUnion with oneOf schemas: CommunityJoinAction, CommunityJoinActionUnavailable. Details: " + ", ".join(error_messages))
80
+ else:
81
+ return v
82
+
83
+ @classmethod
84
+ def from_dict(cls, obj: Union[str, Dict[str, Any]]) -> Self:
85
+ return cls.from_json(json.dumps(obj))
86
+
87
+ @classmethod
88
+ def from_json(cls, json_str: str) -> Self:
89
+ """Returns the object represented by the json string"""
90
+ instance = cls.model_construct()
91
+ error_messages = []
92
+ match = 0
93
+
94
+ # use oneOf discriminator to lookup the data type
95
+ _data_type = json.loads(json_str).get("__typename")
96
+ if not _data_type:
97
+ raise ValueError("Failed to lookup data type from the field `__typename` in the input.")
98
+
99
+ # check if data type is `CommunityJoinAction`
100
+ if _data_type == "CommunityJoinAction":
101
+ instance.actual_instance = CommunityJoinAction.from_json(json_str)
102
+ return instance
103
+
104
+ # check if data type is `CommunityJoinActionUnavailable`
105
+ if _data_type == "CommunityJoinActionUnavailable":
106
+ instance.actual_instance = CommunityJoinActionUnavailable.from_json(json_str)
107
+ return instance
108
+
109
+ # deserialize data into CommunityJoinAction
110
+ try:
111
+ instance.actual_instance = CommunityJoinAction.from_json(json_str)
112
+ match += 1
113
+ except (ValidationError, ValueError) as e:
114
+ error_messages.append(str(e))
115
+ # deserialize data into CommunityJoinActionUnavailable
116
+ try:
117
+ instance.actual_instance = CommunityJoinActionUnavailable.from_json(json_str)
118
+ match += 1
119
+ except (ValidationError, ValueError) as e:
120
+ error_messages.append(str(e))
121
+
122
+ if match > 1:
123
+ # more than 1 match
124
+ raise ValueError("Multiple matches found when deserializing the JSON string into CommunityJoinActionResultUnion with oneOf schemas: CommunityJoinAction, CommunityJoinActionUnavailable. Details: " + ", ".join(error_messages))
125
+ elif match == 0:
126
+ # no match
127
+ raise ValueError("No match found when deserializing the JSON string into CommunityJoinActionResultUnion with oneOf schemas: CommunityJoinAction, CommunityJoinActionUnavailable. Details: " + ", ".join(error_messages))
128
+ else:
129
+ return instance
130
+
131
+ def to_json(self) -> str:
132
+ """Returns the JSON representation of the actual instance"""
133
+ if self.actual_instance is None:
134
+ return "null"
135
+
136
+ if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
137
+ return self.actual_instance.to_json()
138
+ else:
139
+ return json.dumps(self.actual_instance)
140
+
141
+ def to_dict(self) -> Optional[Union[Dict[str, Any], CommunityJoinAction, CommunityJoinActionUnavailable]]:
142
+ """Returns the dict representation of the actual instance"""
143
+ if self.actual_instance is None:
144
+ return None
145
+
146
+ if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
147
+ return self.actual_instance.to_dict()
148
+ else:
149
+ # primitive type
150
+ return self.actual_instance
151
+
152
+ def to_str(self) -> str:
153
+ """Returns the string representation of the actual instance"""
154
+ return pprint.pformat(self.model_dump())
155
+
156
+
@@ -0,0 +1,100 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Twitter OpenAPI
5
+
6
+ Twitter OpenAPI(Swagger) specification
7
+
8
+ The version of the OpenAPI document: 0.0.1
9
+ Contact: yuki@yuki0311.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
22
+ from typing import Any, ClassVar, Dict, List
23
+ from twitter_openapi_python_generated.models.type_name import TypeName
24
+ from typing import Optional, Set
25
+ from typing_extensions import Self
26
+
27
+ class CommunityJoinActionUnavailable(BaseModel):
28
+ """
29
+ CommunityJoinActionUnavailable
30
+ """ # noqa: E501
31
+ typename: TypeName = Field(alias="__typename")
32
+ message: StrictStr
33
+ reason: StrictStr
34
+ __properties: ClassVar[List[str]] = ["__typename", "message", "reason"]
35
+
36
+ @field_validator('reason')
37
+ def reason_validate_enum(cls, value):
38
+ """Validates the enum"""
39
+ if value not in set(['ViewerRequestRequired']):
40
+ raise ValueError("must be one of enum values ('ViewerRequestRequired')")
41
+ return value
42
+
43
+ model_config = ConfigDict(
44
+ populate_by_name=True,
45
+ validate_assignment=True,
46
+ protected_namespaces=(),
47
+ )
48
+
49
+
50
+ def to_str(self) -> str:
51
+ """Returns the string representation of the model using alias"""
52
+ return pprint.pformat(self.model_dump(by_alias=True))
53
+
54
+ def to_json(self) -> str:
55
+ """Returns the JSON representation of the model using alias"""
56
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
57
+ return json.dumps(self.to_dict())
58
+
59
+ @classmethod
60
+ def from_json(cls, json_str: str) -> Optional[Self]:
61
+ """Create an instance of CommunityJoinActionUnavailable from a JSON string"""
62
+ return cls.from_dict(json.loads(json_str))
63
+
64
+ def to_dict(self) -> Dict[str, Any]:
65
+ """Return the dictionary representation of the model using alias.
66
+
67
+ This has the following differences from calling pydantic's
68
+ `self.model_dump(by_alias=True)`:
69
+
70
+ * `None` is only added to the output dict for nullable fields that
71
+ were set at model initialization. Other fields with value `None`
72
+ are ignored.
73
+ """
74
+ excluded_fields: Set[str] = set([
75
+ ])
76
+
77
+ _dict = self.model_dump(
78
+ by_alias=True,
79
+ exclude=excluded_fields,
80
+ exclude_none=True,
81
+ )
82
+ return _dict
83
+
84
+ @classmethod
85
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
86
+ """Create an instance of CommunityJoinActionUnavailable from a dict"""
87
+ if obj is None:
88
+ return None
89
+
90
+ if not isinstance(obj, dict):
91
+ return cls.model_validate(obj)
92
+
93
+ _obj = cls.model_validate({
94
+ "__typename": obj.get("__typename"),
95
+ "message": obj.get("message"),
96
+ "reason": obj.get("reason")
97
+ })
98
+ return _obj
99
+
100
+
@@ -36,7 +36,7 @@ class ErrorResponse(BaseModel):
36
36
  locations: List[Location]
37
37
  message: StrictStr
38
38
  name: StrictStr
39
- path: List[StrictStr]
39
+ path: List[Any]
40
40
  retry_after: Optional[StrictInt] = None
41
41
  source: StrictStr
42
42
  tracing: Tracing
@@ -113,8 +113,8 @@ class TweetLegacy(BaseModel):
113
113
  if value is None:
114
114
  return value
115
115
 
116
- if value not in set(['limited_replies', 'non_compliant', 'dynamic_product_ad', 'stale_tweet', 'community_tweet_non_member_public_community', 'community_tweet_non_member_closed_community']):
117
- raise ValueError("must be one of enum values ('limited_replies', 'non_compliant', 'dynamic_product_ad', 'stale_tweet', 'community_tweet_non_member_public_community', 'community_tweet_non_member_closed_community')")
116
+ if value not in set(['limited_replies', 'non_compliant', 'dynamic_product_ad', 'stale_tweet', 'community_tweet_non_member_public_community', 'community_tweet_non_member_closed_community', 'blocked_viewer']):
117
+ raise ValueError("must be one of enum values ('limited_replies', 'non_compliant', 'dynamic_product_ad', 'stale_tweet', 'community_tweet_non_member_public_community', 'community_tweet_non_member_closed_community', 'blocked_viewer')")
118
118
  return value
119
119
 
120
120
  @field_validator('quoted_status_id_str')
@@ -45,6 +45,7 @@ class TypeName(str, Enum):
45
45
  COMMUNITY = 'Community'
46
46
  COMMUNITYDELETEACTIONUNAVAILABLE = 'CommunityDeleteActionUnavailable'
47
47
  COMMUNITYJOINACTION = 'CommunityJoinAction'
48
+ COMMUNITYJOINACTIONUNAVAILABLE = 'CommunityJoinActionUnavailable'
48
49
  COMMUNITYLEAVEACTIONUNAVAILABLE = 'CommunityLeaveActionUnavailable'
49
50
  COMMUNITYTWEETPINACTIONUNAVAILABLE = 'CommunityTweetPinActionUnavailable'
50
51
  COMMUNITYTWEETUNPINACTIONUNAVAILABLE = 'CommunityTweetUnpinActionUnavailable'
@@ -36,7 +36,7 @@ class User(BaseModel):
36
36
  User
37
37
  """ # noqa: E501
38
38
  typename: TypeName = Field(alias="__typename")
39
- affiliates_highlighted_label: Dict[str, Any]
39
+ affiliates_highlighted_label: Optional[Dict[str, Any]] = None
40
40
  business_account: Optional[Dict[str, Any]] = None
41
41
  creator_subscriptions_count: Optional[StrictInt] = None
42
42
  has_graduated_access: Optional[StrictBool] = None
@@ -19,7 +19,7 @@ import re # noqa: F401
19
19
  import json
20
20
 
21
21
  from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr, field_validator
22
- from typing import Any, ClassVar, Dict, List
22
+ from typing import Any, ClassVar, Dict, List, Optional
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
@@ -30,7 +30,7 @@ class UserLegacyExtendedProfileBirthdate(BaseModel):
30
30
  day: StrictInt
31
31
  month: StrictInt
32
32
  visibility: StrictStr
33
- year: StrictInt
33
+ year: Optional[StrictInt] = None
34
34
  year_visibility: StrictStr
35
35
  __properties: ClassVar[List[str]] = ["day", "month", "visibility", "year", "year_visibility"]
36
36
 
@@ -34,8 +34,9 @@ class UserTipJarSettings(BaseModel):
34
34
  gofundme_handle: Optional[StrictStr] = None
35
35
  is_enabled: Optional[StrictBool] = None
36
36
  patreon_handle: Optional[StrictStr] = None
37
+ pay_pal_handle: Optional[StrictStr] = None
37
38
  venmo_handle: Optional[StrictStr] = None
38
- __properties: ClassVar[List[str]] = ["bandcamp_handle", "bitcoin_handle", "cash_app_handle", "ethereum_handle", "gofundme_handle", "is_enabled", "patreon_handle", "venmo_handle"]
39
+ __properties: ClassVar[List[str]] = ["bandcamp_handle", "bitcoin_handle", "cash_app_handle", "ethereum_handle", "gofundme_handle", "is_enabled", "patreon_handle", "pay_pal_handle", "venmo_handle"]
39
40
 
40
41
  model_config = ConfigDict(
41
42
  populate_by_name=True,
@@ -95,6 +96,7 @@ class UserTipJarSettings(BaseModel):
95
96
  "gofundme_handle": obj.get("gofundme_handle"),
96
97
  "is_enabled": obj.get("is_enabled"),
97
98
  "patreon_handle": obj.get("patreon_handle"),
99
+ "pay_pal_handle": obj.get("pay_pal_handle"),
98
100
  "venmo_handle": obj.get("venmo_handle")
99
101
  })
100
102
  return _obj
@@ -19,7 +19,7 @@ import re # noqa: F401
19
19
  import json
20
20
 
21
21
  from pydantic import BaseModel, ConfigDict, Field, StrictInt, field_validator
22
- from typing import Any, ClassVar, Dict, List
22
+ from typing import Any, ClassVar, Dict, List, Optional
23
23
  from typing_extensions import Annotated
24
24
  from twitter_openapi_python_generated.models.user_verification_info_reason_description import UserVerificationInfoReasonDescription
25
25
  from typing import Optional, Set
@@ -30,7 +30,7 @@ class UserVerificationInfoReason(BaseModel):
30
30
  UserVerificationInfoReason
31
31
  """ # noqa: E501
32
32
  description: UserVerificationInfoReasonDescription
33
- override_verified_year: StrictInt
33
+ override_verified_year: Optional[StrictInt] = None
34
34
  verified_since_msec: Annotated[str, Field(strict=True)]
35
35
  __properties: ClassVar[List[str]] = ["description", "override_verified_year", "verified_since_msec"]
36
36
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
- Name: twitter_openapi_python_generated
3
- Version: 0.0.25
2
+ Name: twitter-openapi-python-generated
3
+ Version: 0.0.27
4
4
  Summary: Twitter OpenAPI
5
5
  Home-page: https://github.com/fa0311/twitter_openapi_python_generated
6
6
  Author: OpenAPI Generator community
@@ -10,10 +10,10 @@ Keywords: OpenAPI,OpenAPI-Generator,Twitter OpenAPI
10
10
  Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  License-File: LICENSE.AGPL
13
- Requires-Dist: urllib3<3.0.0,>=1.25.3
14
- Requires-Dist: python-dateutil>=2.8.2
15
- Requires-Dist: pydantic>=2
16
- Requires-Dist: typing-extensions>=4.7.1
13
+ Requires-Dist: urllib3 <3.0.0,>=1.25.3
14
+ Requires-Dist: python-dateutil >=2.8.2
15
+ Requires-Dist: pydantic >=2
16
+ Requires-Dist: typing-extensions >=4.7.1
17
17
 
18
18
  Twitter OpenAPI(Swagger) specification
19
19
 
@@ -1,7 +1,7 @@
1
- twitter_openapi_python_generated/__init__.py,sha256=GjpfKDo3vmkLx27xGylxGj21HQtUtYxWctSmLc1-u2E,27009
2
- twitter_openapi_python_generated/api_client.py,sha256=WNNlxPuICxMhDee-RLxPMPDeM7ydi_hRQ78Lh4-vUic,27547
1
+ twitter_openapi_python_generated/__init__.py,sha256=4ycDHbLQRK5HyfCfV9hnvauYa8Snklon7aa8sEIip7o,27231
2
+ twitter_openapi_python_generated/api_client.py,sha256=PNak40w0r5_A27UpFJMT4sWPJgrMk8FN0dpT1sYEMkI,27547
3
3
  twitter_openapi_python_generated/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- twitter_openapi_python_generated/configuration.py,sha256=CckDcsTHL3eeCMSQ6NlCP6hz-o3QBXsmOmpKXVL9MFE,22824
4
+ twitter_openapi_python_generated/configuration.py,sha256=Kag2q3U_suTsnw9lBFBjlCKXJu8zton_p8aNnmNOyvE,26326
5
5
  twitter_openapi_python_generated/exceptions.py,sha256=OsisMZb6wF9a6soxi_1fAHu8I7tykw9fx7fVMIFrl2M,5943
6
6
  twitter_openapi_python_generated/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  twitter_openapi_python_generated/rest.py,sha256=fCm6_WrjfDKpGmoazSWm8kHl8A9yzqRowc5Y7d-3g-s,9401
@@ -16,7 +16,7 @@ twitter_openapi_python_generated/api/users_api.py,sha256=1Lgak85kiJqJ1sFk03t30YL
16
16
  twitter_openapi_python_generated/api/v11_get_api.py,sha256=LMKp0PG25uqh0DiWGmEqLO1Z1YErULD3owMQ8Ar3sYc,36383
17
17
  twitter_openapi_python_generated/api/v11_post_api.py,sha256=eaLcUbGVYo4yIORhC1sgh6VYkL13LnoXQm-vm3dmF20,41451
18
18
  twitter_openapi_python_generated/api/v20_get_api.py,sha256=2gpI9ibES4pP8SS3H-qtZSQKq56ekCd4BonRoOqKzAE,37233
19
- twitter_openapi_python_generated/models/__init__.py,sha256=dQ3TtjglOlrmf4Uxa_PDoe7ve79njqISwPvhUYyOrAE,25604
19
+ twitter_openapi_python_generated/models/__init__.py,sha256=ftUj49LkcbFl_AlMvpKF0L1xoRSdv7EHKB2b-4sSpmI,25826
20
20
  twitter_openapi_python_generated/models/additional_media_info.py,sha256=F4YvWBr_lzTf8-oPx61hHyohAOmR5dzR_qld-sKTyJM,3828
21
21
  twitter_openapi_python_generated/models/additional_media_info_call_to_actions.py,sha256=CzURdzKmFNQ-QCFamn3CT1KXymaWLoNzQqXH91XIobM,3368
22
22
  twitter_openapi_python_generated/models/additional_media_info_call_to_actions_url.py,sha256=7PrKZ33xUc-NOdxSZYeEKuFLEYCuYxJnaIpTaOmj3v4,2523
@@ -31,10 +31,10 @@ twitter_openapi_python_generated/models/article_lifecycle_state.py,sha256=WoPWlc
31
31
  twitter_openapi_python_generated/models/article_metadata.py,sha256=PYwI4KaaEC5P8ZW5Dvmz8UaJLZncV1rA8SVZ1r1w3po,2523
32
32
  twitter_openapi_python_generated/models/article_result.py,sha256=GVGRgymMRc_s5WGtxGPmL7Ai_THWGD8Cbh-EJacOHMc,4425
33
33
  twitter_openapi_python_generated/models/article_results.py,sha256=fDtQzB7DZSuffA5FYM29qbSu5ONv9VG_CybImIIOEQ0,2750
34
- twitter_openapi_python_generated/models/author_community_relationship.py,sha256=vEZWwfIVvobLLfq82p7VWyhNtIVJvwcoQCFRmzrQsH8,3763
34
+ twitter_openapi_python_generated/models/author_community_relationship.py,sha256=Vz_2NcO0SebRyqMtvCGNkBlhFdZKHzqeTQaYdUAkNss,3781
35
35
  twitter_openapi_python_generated/models/birdwatch_entity.py,sha256=zn59-RSsqPQ_ABr2-6lakpfzDKxRRLK2KlWleye1450,2982
36
36
  twitter_openapi_python_generated/models/birdwatch_entity_ref.py,sha256=WuT2WTdt99zW6DyFyYFE_XpA0UhvtFtm3OgRtVbDPD8,3384
37
- twitter_openapi_python_generated/models/birdwatch_pivot.py,sha256=UZVrzWMWerxBPwYP5qIe5_Agv2JBl_vgngUxSxZYxXQ,5321
37
+ twitter_openapi_python_generated/models/birdwatch_pivot.py,sha256=5LV7hxQFfoScwV3FaXDE9FGIU-wR-LqIKuW1r0QZi-Y,5415
38
38
  twitter_openapi_python_generated/models/birdwatch_pivot_call_to_action.py,sha256=O15oJcumMYW8lC6RSrcNcZgjVTZXi0ySaCRDLCFtI90,2713
39
39
  twitter_openapi_python_generated/models/birdwatch_pivot_footer.py,sha256=Om8X5G6WwFtt-aOly-QG0GLWPFaiI3wYyUA4fRB5mSA,3070
40
40
  twitter_openapi_python_generated/models/birdwatch_pivot_note.py,sha256=CvVv6sw8IDT_BF8-0KZSGGQm6bSIa-8Bt3x4bBUfrRM,2833
@@ -46,11 +46,13 @@ twitter_openapi_python_generated/models/callback.py,sha256=mLjCCAc-3hAeJDveJU6tm
46
46
  twitter_openapi_python_generated/models/client_event_info.py,sha256=lR6hDLh-5CJp6z8Z2UfGUbd9KJS53ExhQG_dzby2KeA,2687
47
47
  twitter_openapi_python_generated/models/communities_actions.py,sha256=RNBi0G1XEbeOpfr1UJsnRrNIhzbDBAQLa1xXiCRAJis,2469
48
48
  twitter_openapi_python_generated/models/community.py,sha256=Py9inH_ZUvj4sobDDZWLTZ3BLiUoC2RoozApX4reqQE,2730
49
- twitter_openapi_python_generated/models/community_actions.py,sha256=kpNmYS1P1AfkpbN5BpJQJAQCKYV-KEK0HwPRCYVabn8,5214
50
- twitter_openapi_python_generated/models/community_data.py,sha256=2Fsm5RomqsZ3PELry4khP9VOnfZc1WawXrIhq2BdxEE,9968
49
+ twitter_openapi_python_generated/models/community_actions.py,sha256=wz_CivF0YQHXyCqBxhQy1p0NkqOrqJOrw86fCfDCfjc,5235
50
+ twitter_openapi_python_generated/models/community_data.py,sha256=AfV_WEP35iN4oFrIyzpWqCUvAmWlCHaIW1mqligaEFA,10122
51
51
  twitter_openapi_python_generated/models/community_delete_action_result.py,sha256=rbwTyzFY8ndRqU2qnbUinsY0jP142bBiHKs2Jcbib2w,2961
52
52
  twitter_openapi_python_generated/models/community_invites_result.py,sha256=dimL7W9pd2eOZwf7Oh-N8FDFiikQMYWHKTbCegaoAGw,3018
53
- twitter_openapi_python_generated/models/community_join_action_result.py,sha256=h6YSnO2M2LT_dlYLzIJ-VRKFJhXjBTP7w7AGcTQRHO0,2603
53
+ twitter_openapi_python_generated/models/community_join_action.py,sha256=YFoQsQFlLeXvX4p4SM58ASLj9uFfd3eNTnz5HMI7t-k,2579
54
+ twitter_openapi_python_generated/models/community_join_action_result_union.py,sha256=VCj48XxbKEJVL6GWoavBXme6fzHR4fOHDwid9ffir1Q,6571
55
+ twitter_openapi_python_generated/models/community_join_action_unavailable.py,sha256=XD7zimMPcOEwQLpHdtn6ow-fEsqBsoe5DqdlaCicPx0,3070
54
56
  twitter_openapi_python_generated/models/community_join_requests_result.py,sha256=BxIaM9FwWbhsYJ8R69_TdpBF-AEBCpvf2Dr_TZE_SNI,2611
55
57
  twitter_openapi_python_generated/models/community_leave_action_result.py,sha256=C6dBpNIdFc1YE4DoogHUf2wL8nZzCnfodDvnEt8ZbM4,3042
56
58
  twitter_openapi_python_generated/models/community_pin_action_result.py,sha256=xFAOrTPK-fQJ0KLKiQ5oBfEZCuwwctHZWqtAfbLBUGA,2599
@@ -89,7 +91,7 @@ twitter_openapi_python_generated/models/display_treatment.py,sha256=KI1yVWTL8R8f
89
91
  twitter_openapi_python_generated/models/display_type.py,sha256=l27fwbf5XWYO8gRqZ5Y-ZCx-uGIqky7pCjCotAqv3KA,809
90
92
  twitter_openapi_python_generated/models/entities.py,sha256=fFzAwUl8Co1AmkUXkLQ7znCxN2fh8GYGxPGjncCMiZ4,4313
91
93
  twitter_openapi_python_generated/models/error_extensions.py,sha256=zn4sWvA_Rus6hGGK6zhU9Wkc_2ieSkerc_6nV5l51zU,3148
92
- twitter_openapi_python_generated/models/error_response.py,sha256=TTdk-AWbrhZsDB7uVTd_XmDEhvw65utUVb9wzEFIFJE,4301
94
+ twitter_openapi_python_generated/models/error_response.py,sha256=uAuFsGLjy2NOvqbQP-IbM6n-2hur1x71TxJbtJG7J9Q,4295
93
95
  twitter_openapi_python_generated/models/ext_media_availability.py,sha256=xUEYoUq8TqEcjoretH5qVvwmrsGEw9toXQfE9y_IjxA,2936
94
96
  twitter_openapi_python_generated/models/extended_entities.py,sha256=WHVw6eiJm8Ct-k2whBXHWgWIFXqjCBe2GmWNUm3ixK0,2934
95
97
  twitter_openapi_python_generated/models/favorite_tweet.py,sha256=OEgenABEi2SFtAm77f1aBb1mIv2jEosYCWIye-5sCXE,2506
@@ -228,7 +230,7 @@ twitter_openapi_python_generated/models/tweet_interstitial_reveal_text.py,sha256
228
230
  twitter_openapi_python_generated/models/tweet_interstitial_text.py,sha256=mMjCz8aKA3ewUYMxCixIG8xBgTPtQbwfCI9gThSThz4,3198
229
231
  twitter_openapi_python_generated/models/tweet_interstitial_text_entity.py,sha256=lyp4uCYlGOUlupZxJl150dQfxQ5EpSk8NKYvb52yFTY,3080
230
232
  twitter_openapi_python_generated/models/tweet_interstitial_text_entity_ref.py,sha256=2YhkMJlEwj5L8GuflTCBTZZI2TmIfu-QzomZCRbV-Sg,3193
231
- twitter_openapi_python_generated/models/tweet_legacy.py,sha256=SV4xM0VPR5MhQoqAHtK3QFT-DGhcMgVkm6IDUPAzrnY,11687
233
+ twitter_openapi_python_generated/models/tweet_legacy.py,sha256=EIu_v3pgUfeQJ169cuO8IexOW_n09-AzRybIiTYWCBg,11723
232
234
  twitter_openapi_python_generated/models/tweet_legacy_scopes.py,sha256=cpULC2VexihU9qA5rMHJDzR2Beu9iQ1iXqav4cM6a0o,2477
233
235
  twitter_openapi_python_generated/models/tweet_previous_counts.py,sha256=1Bn_LbzXF5jzS6ohh7cxTi9TeKupb2GWlHdZtf3Opvg,2895
234
236
  twitter_openapi_python_generated/models/tweet_result_by_rest_id_data.py,sha256=1AVd5A7ieKS_llaLt7r9CGUVe60CpDnwu_WUAhL_Qfg,2893
@@ -240,14 +242,14 @@ twitter_openapi_python_generated/models/tweet_unavailable.py,sha256=Kv9bSrKIOj1o
240
242
  twitter_openapi_python_generated/models/tweet_union.py,sha256=l0SZJjjPNivHrYm_sJ1eYvXtC6qgpL5Z6TSz182EmNg,8122
241
243
  twitter_openapi_python_generated/models/tweet_view.py,sha256=v4_oJaSdMmELaGV-8kRxlTY0TDBuGmNQgW4SqfTZHG4,3223
242
244
  twitter_openapi_python_generated/models/tweet_with_visibility_results.py,sha256=rrJpjig_F74MyXJHEdtiZAkQ8Le7wCC5R8hnuv9k6cc,4454
243
- twitter_openapi_python_generated/models/type_name.py,sha256=Iin928wlXMCl8ktm2TexSxLfvusl-6JjmDCWlPD_oo4,1856
245
+ twitter_openapi_python_generated/models/type_name.py,sha256=jZQtroHfpa2sZP-fZMrpCqKrQiw2J59PL89xxCwcOfY,1926
244
246
  twitter_openapi_python_generated/models/unfavorite_tweet.py,sha256=BdbFDu-0E3VprCfIupdgkpoHBo1VFwfWeV5Y7EwfVPc,2522
245
247
  twitter_openapi_python_generated/models/unfavorite_tweet_response.py,sha256=DlVCIy2bysAvU8sQ-hb8JQVtQgZ1k80yB8vgSSewnDo,3374
246
248
  twitter_openapi_python_generated/models/unified_card.py,sha256=Pg3HjE0YsfZBkBjaOGkh9MhaqQQ7FWhGxE-ryFjp7W8,2755
247
249
  twitter_openapi_python_generated/models/url.py,sha256=N-SE7P4q9CmnZgWoWnI5xwznwO_NhiOhYFB5gOi9h4U,2706
248
250
  twitter_openapi_python_generated/models/urt_endpoint_options.py,sha256=axAqNMYa0zizbE2lilQI184EQfcHtrhEXHOpokgCzyo,3209
249
251
  twitter_openapi_python_generated/models/urt_endpoint_request_params.py,sha256=j6OTVZlDz8uvmt-EfSMU5ztZzna-4TMKK_gDKOX4e8A,2548
250
- twitter_openapi_python_generated/models/user.py,sha256=gPtn0MkL1dlnao0wyeuwvHljcEExmEKa0hc_-IBoxeo,8796
252
+ twitter_openapi_python_generated/models/user.py,sha256=egYXLojc83fxMGgyOTVTrYZVD5B8LvCSNqGMmVR-YTY,8813
251
253
  twitter_openapi_python_generated/models/user_features.py,sha256=nyZ62PyKh60SRjsU8Y7wM4gg3Dmdx7lpID7AaVVjqds,2517
252
254
  twitter_openapi_python_generated/models/user_highlights_info.py,sha256=1BUkqYU1W-LL9w-cJitJIEi_hge57Yu2pf6f4Ovvie4,2657
253
255
  twitter_openapi_python_generated/models/user_highlights_tweets_data.py,sha256=fF7GZTI9YyaVPlcSFin0agKVzHUUal1yNNXPM-xFcO0,2845
@@ -257,7 +259,7 @@ twitter_openapi_python_generated/models/user_highlights_tweets_timeline.py,sha25
257
259
  twitter_openapi_python_generated/models/user_highlights_tweets_user.py,sha256=llaOyBE5dcyONm5OB3-g7pbL9T7Z6mllozr_UT4R4Qc,2844
258
260
  twitter_openapi_python_generated/models/user_legacy.py,sha256=VbrmolrQXHlB7a52Saj9YyVCejhnuvlo5eatDfj0DnQ,8111
259
261
  twitter_openapi_python_generated/models/user_legacy_extended_profile.py,sha256=89SRRhOEBXzE4ZLBryqMBmwbdrh7NS1d_L0NAkB4Vlg,2935
260
- twitter_openapi_python_generated/models/user_legacy_extended_profile_birthdate.py,sha256=hyKfWKW7MFNY9VSM71AQflyIZ0-CIlD2BIia7k-5SyM,3583
262
+ twitter_openapi_python_generated/models/user_legacy_extended_profile_birthdate.py,sha256=pfN1g7_9lO_8wtfFtNomI5r-OKbpbmj_-JqryUPnl6I,3610
261
263
  twitter_openapi_python_generated/models/user_professional.py,sha256=eS5Q9GhN7zA6ChJVIwcnnVRU_zHJHxU85-k7ZSSxhHg,3880
262
264
  twitter_openapi_python_generated/models/user_professional_category.py,sha256=1IIeBLBDtn2LcklljonD0fscLrQgdcwQPqmCHE49DM0,2636
263
265
  twitter_openapi_python_generated/models/user_response.py,sha256=pIXggDTsHR0_ZYbnE-2D_TVDPdnPTEKYH9UnANAXV7Y,3335
@@ -267,7 +269,7 @@ twitter_openapi_python_generated/models/user_result_by_screen_name_legacy.py,sha
267
269
  twitter_openapi_python_generated/models/user_result_by_screen_name_result.py,sha256=BS1qcT6f6EuQ4CVKP8HWwbRZ7KOB2YjtqtGfFSdX-Vo,3985
268
270
  twitter_openapi_python_generated/models/user_result_core.py,sha256=TEM3sPdHsmCbaOwECfyzEJuEWcdosMmzLemhTFZQ68Q,2796
269
271
  twitter_openapi_python_generated/models/user_results.py,sha256=9bU03_LO2qhbflpBHzh9mbS-FASErF6fauwp8HXjsXg,2749
270
- twitter_openapi_python_generated/models/user_tip_jar_settings.py,sha256=xSApl_tcZIhWUhoYDJ0DKkPu-HzQnpbRS81tn3P1CPA,3385
272
+ twitter_openapi_python_generated/models/user_tip_jar_settings.py,sha256=5NK54hBj31R4uddmp1Z21kESCU_0xSjjKJtszs7YVqA,3507
271
273
  twitter_openapi_python_generated/models/user_tweets_data.py,sha256=LgpRJ3lztC6Y5hRYIg0uROEOKXqWeWdudHAj23vjD-4,2764
272
274
  twitter_openapi_python_generated/models/user_tweets_response.py,sha256=qd_ePVO0EAgkab-UzJrEioIqDTccqR0619oLZ_Z8cmo,3351
273
275
  twitter_openapi_python_generated/models/user_tweets_result.py,sha256=6Wwzw8crXU08wj7a3qksetNf4ogk8wpJ2PcV1niQlwc,2983
@@ -276,15 +278,15 @@ twitter_openapi_python_generated/models/user_unavailable.py,sha256=j0hILn0hd3Upj
276
278
  twitter_openapi_python_generated/models/user_union.py,sha256=fbeMF-r7fT1CyslPrcW80Fc6WRi1HUrkPHj-EUmaQNQ,5799
277
279
  twitter_openapi_python_generated/models/user_value.py,sha256=Rur_APm79NqmGtCE-8c9XjBms3JriUGhCNItHIVQNEs,2791
278
280
  twitter_openapi_python_generated/models/user_verification_info.py,sha256=X63i3zcAEM9bPQwnp5EpyM8aAokJYeeHhbKWoO2pcSY,2997
279
- twitter_openapi_python_generated/models/user_verification_info_reason.py,sha256=482qrxCH4VuwR2_SF-CX1HYeDmSWvdYC1p4TvJ8erqY,3616
281
+ twitter_openapi_python_generated/models/user_verification_info_reason.py,sha256=7p-w64nv2TS4Jp0E1TWDijVVMUcaNJ2nO4zVFnNzig8,3643
280
282
  twitter_openapi_python_generated/models/user_verification_info_reason_description.py,sha256=RECMEPDRf-UGEZjDLzi-lxhCpLSqtgowoZ9Exd98UDU,3262
281
283
  twitter_openapi_python_generated/models/user_verification_info_reason_description_entities.py,sha256=lW3baBWlhZFOfXbu9E42arim1NRtvOlzog6thOh-qwc,3173
282
284
  twitter_openapi_python_generated/models/user_verification_info_reason_description_entities_ref.py,sha256=di6U-pbh04SsZ2dZjyB2rZrnyJraU_ZjLFau8_IHKwI,2926
283
285
  twitter_openapi_python_generated/models/users_response.py,sha256=UGep5Yb1SGXGVIMABf0DhrIuDMLKwCf69QYpNjlr5rQ,3343
284
286
  twitter_openapi_python_generated/models/users_response_data.py,sha256=XTiDXvnyT5hBzzI8Dqs_vM5EoTJchlCOLaM_A2XVQhc,2957
285
- twitter_openapi_python_generated-0.0.25.dist-info/LICENSE,sha256=xthyYzrtSmRlBu2gnfuIxzsZeHrqtIZgZPL9UPrYiQU,1524
286
- twitter_openapi_python_generated-0.0.25.dist-info/LICENSE.AGPL,sha256=Nv6u1ubULm-E2y6q2-pQPK8s2BzkOltLaVlPKQ3tkcs,35182
287
- twitter_openapi_python_generated-0.0.25.dist-info/METADATA,sha256=tgQTERwbFQKf5PPghDd-X94OBCeBWzk_MZ4YfzvISo0,637
288
- twitter_openapi_python_generated-0.0.25.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
289
- twitter_openapi_python_generated-0.0.25.dist-info/top_level.txt,sha256=_HJ3iFAuiS8tEZxA90EesWYeEj6OB4-sNr_c8tj1uWg,33
290
- twitter_openapi_python_generated-0.0.25.dist-info/RECORD,,
287
+ twitter_openapi_python_generated-0.0.27.dist-info/LICENSE,sha256=xthyYzrtSmRlBu2gnfuIxzsZeHrqtIZgZPL9UPrYiQU,1524
288
+ twitter_openapi_python_generated-0.0.27.dist-info/LICENSE.AGPL,sha256=Nv6u1ubULm-E2y6q2-pQPK8s2BzkOltLaVlPKQ3tkcs,35182
289
+ twitter_openapi_python_generated-0.0.27.dist-info/METADATA,sha256=cgv0J5LgDtVZ7EH7qKIu-jnIJIZaDvajIn_RWS9qnXs,641
290
+ twitter_openapi_python_generated-0.0.27.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
291
+ twitter_openapi_python_generated-0.0.27.dist-info/top_level.txt,sha256=_HJ3iFAuiS8tEZxA90EesWYeEj6OB4-sNr_c8tj1uWg,33
292
+ twitter_openapi_python_generated-0.0.27.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.1.0)
2
+ Generator: bdist_wheel (0.41.3)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5