twitter-openapi-python-generated 0.0.29__py3-none-any.whl → 0.0.31__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.
- twitter_openapi_python_generated/__init__.py +5 -1
- twitter_openapi_python_generated/api_client.py +2 -2
- twitter_openapi_python_generated/configuration.py +10 -3
- twitter_openapi_python_generated/exceptions.py +17 -0
- twitter_openapi_python_generated/models/__init__.py +4 -0
- twitter_openapi_python_generated/models/item_content_union.py +27 -8
- twitter_openapi_python_generated/models/module_item.py +5 -3
- twitter_openapi_python_generated/models/thumbnail_image.py +92 -0
- twitter_openapi_python_generated/models/timeline_trend.py +130 -0
- twitter_openapi_python_generated/models/trend_image.py +88 -0
- twitter_openapi_python_generated/models/trend_metadata.py +92 -0
- twitter_openapi_python_generated/models/type_name.py +1 -0
- twitter_openapi_python_generated/rest.py +1 -0
- {twitter_openapi_python_generated-0.0.29.dist-info → twitter_openapi_python_generated-0.0.31.dist-info}/METADATA +1 -1
- {twitter_openapi_python_generated-0.0.29.dist-info → twitter_openapi_python_generated-0.0.31.dist-info}/RECORD +19 -15
- {twitter_openapi_python_generated-0.0.29.dist-info → twitter_openapi_python_generated-0.0.31.dist-info}/LICENSE +0 -0
- {twitter_openapi_python_generated-0.0.29.dist-info → twitter_openapi_python_generated-0.0.31.dist-info}/LICENSE.AGPL +0 -0
- {twitter_openapi_python_generated-0.0.29.dist-info → twitter_openapi_python_generated-0.0.31.dist-info}/WHEEL +0 -0
- {twitter_openapi_python_generated-0.0.29.dist-info → twitter_openapi_python_generated-0.0.31.dist-info}/top_level.txt +0 -0
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
""" # noqa: E501
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
__version__ = "0.0.
|
|
18
|
+
__version__ = "0.0.31"
|
|
19
19
|
|
|
20
20
|
# import apis into sdk package
|
|
21
21
|
from twitter_openapi_python_generated.api.default_api import DefaultApi
|
|
@@ -206,6 +206,7 @@ from twitter_openapi_python_generated.models.text import Text
|
|
|
206
206
|
from twitter_openapi_python_generated.models.text_entity import TextEntity
|
|
207
207
|
from twitter_openapi_python_generated.models.text_entity_ref import TextEntityRef
|
|
208
208
|
from twitter_openapi_python_generated.models.text_highlight import TextHighlight
|
|
209
|
+
from twitter_openapi_python_generated.models.thumbnail_image import ThumbnailImage
|
|
209
210
|
from twitter_openapi_python_generated.models.timeline import Timeline
|
|
210
211
|
from twitter_openapi_python_generated.models.timeline_add_entries import TimelineAddEntries
|
|
211
212
|
from twitter_openapi_python_generated.models.timeline_add_entry import TimelineAddEntry
|
|
@@ -230,6 +231,7 @@ from twitter_openapi_python_generated.models.timeline_timeline_item import Timel
|
|
|
230
231
|
from twitter_openapi_python_generated.models.timeline_timeline_module import TimelineTimelineModule
|
|
231
232
|
from twitter_openapi_python_generated.models.timeline_tombstone import TimelineTombstone
|
|
232
233
|
from twitter_openapi_python_generated.models.timeline_topic_context import TimelineTopicContext
|
|
234
|
+
from twitter_openapi_python_generated.models.timeline_trend import TimelineTrend
|
|
233
235
|
from twitter_openapi_python_generated.models.timeline_tweet import TimelineTweet
|
|
234
236
|
from twitter_openapi_python_generated.models.timeline_user import TimelineUser
|
|
235
237
|
from twitter_openapi_python_generated.models.timeline_v2 import TimelineV2
|
|
@@ -240,6 +242,8 @@ from twitter_openapi_python_generated.models.tombstone_ref import TombstoneRef
|
|
|
240
242
|
from twitter_openapi_python_generated.models.tombstone_rich_text import TombstoneRichText
|
|
241
243
|
from twitter_openapi_python_generated.models.topic_context import TopicContext
|
|
242
244
|
from twitter_openapi_python_generated.models.tracing import Tracing
|
|
245
|
+
from twitter_openapi_python_generated.models.trend_image import TrendImage
|
|
246
|
+
from twitter_openapi_python_generated.models.trend_metadata import TrendMetadata
|
|
243
247
|
from twitter_openapi_python_generated.models.trend_results import TrendResults
|
|
244
248
|
from twitter_openapi_python_generated.models.tweet import Tweet
|
|
245
249
|
from twitter_openapi_python_generated.models.tweet_card import TweetCard
|
|
@@ -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.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/0.0.31/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -518,7 +518,7 @@ class ApiClient:
|
|
|
518
518
|
if k in collection_formats:
|
|
519
519
|
collection_format = collection_formats[k]
|
|
520
520
|
if collection_format == 'multi':
|
|
521
|
-
new_params.extend((k, str(value)) for value in v)
|
|
521
|
+
new_params.extend((k, quote(str(value))) for value in v)
|
|
522
522
|
else:
|
|
523
523
|
if collection_format == 'ssv':
|
|
524
524
|
delimiter = ' '
|
|
@@ -19,7 +19,7 @@ import logging
|
|
|
19
19
|
from logging import FileHandler
|
|
20
20
|
import multiprocessing
|
|
21
21
|
import sys
|
|
22
|
-
from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict, Union
|
|
23
23
|
from typing_extensions import NotRequired, Self
|
|
24
24
|
|
|
25
25
|
import urllib3
|
|
@@ -184,6 +184,8 @@ class Configuration:
|
|
|
184
184
|
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
|
|
185
185
|
in PEM format.
|
|
186
186
|
:param retries: Number of retries for API requests.
|
|
187
|
+
:param ca_cert_data: verify the peer using concatenated CA certificate data
|
|
188
|
+
in PEM (str) or DER (bytes) format.
|
|
187
189
|
|
|
188
190
|
:Example:
|
|
189
191
|
|
|
@@ -217,13 +219,14 @@ conf = twitter_openapi_python_generated.Configuration(
|
|
|
217
219
|
username: Optional[str]=None,
|
|
218
220
|
password: Optional[str]=None,
|
|
219
221
|
access_token: Optional[str]=None,
|
|
220
|
-
server_index: Optional[int]=None,
|
|
222
|
+
server_index: Optional[int]=None,
|
|
221
223
|
server_variables: Optional[ServerVariablesT]=None,
|
|
222
224
|
server_operation_index: Optional[Dict[int, int]]=None,
|
|
223
225
|
server_operation_variables: Optional[Dict[int, ServerVariablesT]]=None,
|
|
224
226
|
ignore_operation_servers: bool=False,
|
|
225
227
|
ssl_ca_cert: Optional[str]=None,
|
|
226
228
|
retries: Optional[int] = None,
|
|
229
|
+
ca_cert_data: Optional[Union[str, bytes]] = None,
|
|
227
230
|
*,
|
|
228
231
|
debug: Optional[bool] = None,
|
|
229
232
|
) -> None:
|
|
@@ -301,6 +304,10 @@ conf = twitter_openapi_python_generated.Configuration(
|
|
|
301
304
|
self.ssl_ca_cert = ssl_ca_cert
|
|
302
305
|
"""Set this to customize the certificate file to verify the peer.
|
|
303
306
|
"""
|
|
307
|
+
self.ca_cert_data = ca_cert_data
|
|
308
|
+
"""Set this to verify the peer using PEM (str) or DER (bytes)
|
|
309
|
+
certificate data.
|
|
310
|
+
"""
|
|
304
311
|
self.cert_file = None
|
|
305
312
|
"""client certificate file
|
|
306
313
|
"""
|
|
@@ -743,7 +750,7 @@ conf = twitter_openapi_python_generated.Configuration(
|
|
|
743
750
|
"OS: {env}\n"\
|
|
744
751
|
"Python Version: {pyversion}\n"\
|
|
745
752
|
"Version of the API: 0.0.1\n"\
|
|
746
|
-
"SDK Package Version: 0.0.
|
|
753
|
+
"SDK Package Version: 0.0.31".\
|
|
747
754
|
format(env=sys.platform, pyversion=sys.version)
|
|
748
755
|
|
|
749
756
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -151,6 +151,13 @@ class ApiException(OpenApiException):
|
|
|
151
151
|
if http_resp.status == 404:
|
|
152
152
|
raise NotFoundException(http_resp=http_resp, body=body, data=data)
|
|
153
153
|
|
|
154
|
+
# Added new conditions for 409 and 422
|
|
155
|
+
if http_resp.status == 409:
|
|
156
|
+
raise ConflictException(http_resp=http_resp, body=body, data=data)
|
|
157
|
+
|
|
158
|
+
if http_resp.status == 422:
|
|
159
|
+
raise UnprocessableEntityException(http_resp=http_resp, body=body, data=data)
|
|
160
|
+
|
|
154
161
|
if 500 <= http_resp.status <= 599:
|
|
155
162
|
raise ServiceException(http_resp=http_resp, body=body, data=data)
|
|
156
163
|
raise ApiException(http_resp=http_resp, body=body, data=data)
|
|
@@ -189,6 +196,16 @@ class ServiceException(ApiException):
|
|
|
189
196
|
pass
|
|
190
197
|
|
|
191
198
|
|
|
199
|
+
class ConflictException(ApiException):
|
|
200
|
+
"""Exception for HTTP 409 Conflict."""
|
|
201
|
+
pass
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
class UnprocessableEntityException(ApiException):
|
|
205
|
+
"""Exception for HTTP 422 Unprocessable Entity."""
|
|
206
|
+
pass
|
|
207
|
+
|
|
208
|
+
|
|
192
209
|
def render_path(path_to_item):
|
|
193
210
|
"""Returns a string representation of a path"""
|
|
194
211
|
result = ""
|
|
@@ -180,6 +180,7 @@ from twitter_openapi_python_generated.models.text import Text
|
|
|
180
180
|
from twitter_openapi_python_generated.models.text_entity import TextEntity
|
|
181
181
|
from twitter_openapi_python_generated.models.text_entity_ref import TextEntityRef
|
|
182
182
|
from twitter_openapi_python_generated.models.text_highlight import TextHighlight
|
|
183
|
+
from twitter_openapi_python_generated.models.thumbnail_image import ThumbnailImage
|
|
183
184
|
from twitter_openapi_python_generated.models.timeline import Timeline
|
|
184
185
|
from twitter_openapi_python_generated.models.timeline_add_entries import TimelineAddEntries
|
|
185
186
|
from twitter_openapi_python_generated.models.timeline_add_entry import TimelineAddEntry
|
|
@@ -204,6 +205,7 @@ from twitter_openapi_python_generated.models.timeline_timeline_item import Timel
|
|
|
204
205
|
from twitter_openapi_python_generated.models.timeline_timeline_module import TimelineTimelineModule
|
|
205
206
|
from twitter_openapi_python_generated.models.timeline_tombstone import TimelineTombstone
|
|
206
207
|
from twitter_openapi_python_generated.models.timeline_topic_context import TimelineTopicContext
|
|
208
|
+
from twitter_openapi_python_generated.models.timeline_trend import TimelineTrend
|
|
207
209
|
from twitter_openapi_python_generated.models.timeline_tweet import TimelineTweet
|
|
208
210
|
from twitter_openapi_python_generated.models.timeline_user import TimelineUser
|
|
209
211
|
from twitter_openapi_python_generated.models.timeline_v2 import TimelineV2
|
|
@@ -214,6 +216,8 @@ from twitter_openapi_python_generated.models.tombstone_ref import TombstoneRef
|
|
|
214
216
|
from twitter_openapi_python_generated.models.tombstone_rich_text import TombstoneRichText
|
|
215
217
|
from twitter_openapi_python_generated.models.topic_context import TopicContext
|
|
216
218
|
from twitter_openapi_python_generated.models.tracing import Tracing
|
|
219
|
+
from twitter_openapi_python_generated.models.trend_image import TrendImage
|
|
220
|
+
from twitter_openapi_python_generated.models.trend_metadata import TrendMetadata
|
|
217
221
|
from twitter_openapi_python_generated.models.trend_results import TrendResults
|
|
218
222
|
from twitter_openapi_python_generated.models.tweet import Tweet
|
|
219
223
|
from twitter_openapi_python_generated.models.tweet_card import TweetCard
|
|
@@ -23,13 +23,14 @@ from twitter_openapi_python_generated.models.timeline_message_prompt import Time
|
|
|
23
23
|
from twitter_openapi_python_generated.models.timeline_prompt import TimelinePrompt
|
|
24
24
|
from twitter_openapi_python_generated.models.timeline_timeline_cursor import TimelineTimelineCursor
|
|
25
25
|
from twitter_openapi_python_generated.models.timeline_tombstone import TimelineTombstone
|
|
26
|
+
from twitter_openapi_python_generated.models.timeline_trend import TimelineTrend
|
|
26
27
|
from twitter_openapi_python_generated.models.timeline_tweet import TimelineTweet
|
|
27
28
|
from twitter_openapi_python_generated.models.timeline_user import TimelineUser
|
|
28
29
|
from pydantic import StrictStr, Field
|
|
29
30
|
from typing import Union, List, Set, Optional, Dict
|
|
30
31
|
from typing_extensions import Literal, Self
|
|
31
32
|
|
|
32
|
-
ITEMCONTENTUNION_ONE_OF_SCHEMAS = ["TimelineCommunity", "TimelineMessagePrompt", "TimelinePrompt", "TimelineTimelineCursor", "TimelineTombstone", "TimelineTweet", "TimelineUser"]
|
|
33
|
+
ITEMCONTENTUNION_ONE_OF_SCHEMAS = ["TimelineCommunity", "TimelineMessagePrompt", "TimelinePrompt", "TimelineTimelineCursor", "TimelineTombstone", "TimelineTrend", "TimelineTweet", "TimelineUser"]
|
|
33
34
|
|
|
34
35
|
class ItemContentUnion(BaseModel):
|
|
35
36
|
"""
|
|
@@ -49,8 +50,10 @@ class ItemContentUnion(BaseModel):
|
|
|
49
50
|
oneof_schema_6_validator: Optional[TimelineCommunity] = None
|
|
50
51
|
# data type: TimelineTombstone
|
|
51
52
|
oneof_schema_7_validator: Optional[TimelineTombstone] = None
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
# data type: TimelineTrend
|
|
54
|
+
oneof_schema_8_validator: Optional[TimelineTrend] = None
|
|
55
|
+
actual_instance: Optional[Union[TimelineCommunity, TimelineMessagePrompt, TimelinePrompt, TimelineTimelineCursor, TimelineTombstone, TimelineTrend, TimelineTweet, TimelineUser]] = None
|
|
56
|
+
one_of_schemas: Set[str] = { "TimelineCommunity", "TimelineMessagePrompt", "TimelinePrompt", "TimelineTimelineCursor", "TimelineTombstone", "TimelineTrend", "TimelineTweet", "TimelineUser" }
|
|
54
57
|
|
|
55
58
|
model_config = ConfigDict(
|
|
56
59
|
validate_assignment=True,
|
|
@@ -111,12 +114,17 @@ class ItemContentUnion(BaseModel):
|
|
|
111
114
|
error_messages.append(f"Error! Input type `{type(v)}` is not `TimelineTombstone`")
|
|
112
115
|
else:
|
|
113
116
|
match += 1
|
|
117
|
+
# validate data type: TimelineTrend
|
|
118
|
+
if not isinstance(v, TimelineTrend):
|
|
119
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `TimelineTrend`")
|
|
120
|
+
else:
|
|
121
|
+
match += 1
|
|
114
122
|
if match > 1:
|
|
115
123
|
# more than 1 match
|
|
116
|
-
raise ValueError("Multiple matches found when setting `actual_instance` in ItemContentUnion with oneOf schemas: TimelineCommunity, TimelineMessagePrompt, TimelinePrompt, TimelineTimelineCursor, TimelineTombstone, TimelineTweet, TimelineUser. Details: " + ", ".join(error_messages))
|
|
124
|
+
raise ValueError("Multiple matches found when setting `actual_instance` in ItemContentUnion with oneOf schemas: TimelineCommunity, TimelineMessagePrompt, TimelinePrompt, TimelineTimelineCursor, TimelineTombstone, TimelineTrend, TimelineTweet, TimelineUser. Details: " + ", ".join(error_messages))
|
|
117
125
|
elif match == 0:
|
|
118
126
|
# no match
|
|
119
|
-
raise ValueError("No match found when setting `actual_instance` in ItemContentUnion with oneOf schemas: TimelineCommunity, TimelineMessagePrompt, TimelinePrompt, TimelineTimelineCursor, TimelineTombstone, TimelineTweet, TimelineUser. Details: " + ", ".join(error_messages))
|
|
127
|
+
raise ValueError("No match found when setting `actual_instance` in ItemContentUnion with oneOf schemas: TimelineCommunity, TimelineMessagePrompt, TimelinePrompt, TimelineTimelineCursor, TimelineTombstone, TimelineTrend, TimelineTweet, TimelineUser. Details: " + ", ".join(error_messages))
|
|
120
128
|
else:
|
|
121
129
|
return v
|
|
122
130
|
|
|
@@ -161,6 +169,11 @@ class ItemContentUnion(BaseModel):
|
|
|
161
169
|
instance.actual_instance = TimelineTombstone.from_json(json_str)
|
|
162
170
|
return instance
|
|
163
171
|
|
|
172
|
+
# check if data type is `TimelineTrend`
|
|
173
|
+
if _data_type == "TimelineTrend":
|
|
174
|
+
instance.actual_instance = TimelineTrend.from_json(json_str)
|
|
175
|
+
return instance
|
|
176
|
+
|
|
164
177
|
# check if data type is `TimelineTweet`
|
|
165
178
|
if _data_type == "TimelineTweet":
|
|
166
179
|
instance.actual_instance = TimelineTweet.from_json(json_str)
|
|
@@ -213,13 +226,19 @@ class ItemContentUnion(BaseModel):
|
|
|
213
226
|
match += 1
|
|
214
227
|
except (ValidationError, ValueError) as e:
|
|
215
228
|
error_messages.append(str(e))
|
|
229
|
+
# deserialize data into TimelineTrend
|
|
230
|
+
try:
|
|
231
|
+
instance.actual_instance = TimelineTrend.from_json(json_str)
|
|
232
|
+
match += 1
|
|
233
|
+
except (ValidationError, ValueError) as e:
|
|
234
|
+
error_messages.append(str(e))
|
|
216
235
|
|
|
217
236
|
if match > 1:
|
|
218
237
|
# more than 1 match
|
|
219
|
-
raise ValueError("Multiple matches found when deserializing the JSON string into ItemContentUnion with oneOf schemas: TimelineCommunity, TimelineMessagePrompt, TimelinePrompt, TimelineTimelineCursor, TimelineTombstone, TimelineTweet, TimelineUser. Details: " + ", ".join(error_messages))
|
|
238
|
+
raise ValueError("Multiple matches found when deserializing the JSON string into ItemContentUnion with oneOf schemas: TimelineCommunity, TimelineMessagePrompt, TimelinePrompt, TimelineTimelineCursor, TimelineTombstone, TimelineTrend, TimelineTweet, TimelineUser. Details: " + ", ".join(error_messages))
|
|
220
239
|
elif match == 0:
|
|
221
240
|
# no match
|
|
222
|
-
raise ValueError("No match found when deserializing the JSON string into ItemContentUnion with oneOf schemas: TimelineCommunity, TimelineMessagePrompt, TimelinePrompt, TimelineTimelineCursor, TimelineTombstone, TimelineTweet, TimelineUser. Details: " + ", ".join(error_messages))
|
|
241
|
+
raise ValueError("No match found when deserializing the JSON string into ItemContentUnion with oneOf schemas: TimelineCommunity, TimelineMessagePrompt, TimelinePrompt, TimelineTimelineCursor, TimelineTombstone, TimelineTrend, TimelineTweet, TimelineUser. Details: " + ", ".join(error_messages))
|
|
223
242
|
else:
|
|
224
243
|
return instance
|
|
225
244
|
|
|
@@ -233,7 +252,7 @@ class ItemContentUnion(BaseModel):
|
|
|
233
252
|
else:
|
|
234
253
|
return json.dumps(self.actual_instance)
|
|
235
254
|
|
|
236
|
-
def to_dict(self) -> Optional[Union[Dict[str, Any], TimelineCommunity, TimelineMessagePrompt, TimelinePrompt, TimelineTimelineCursor, TimelineTombstone, TimelineTweet, TimelineUser]]:
|
|
255
|
+
def to_dict(self) -> Optional[Union[Dict[str, Any], TimelineCommunity, TimelineMessagePrompt, TimelinePrompt, TimelineTimelineCursor, TimelineTombstone, TimelineTrend, TimelineTweet, TimelineUser]]:
|
|
237
256
|
"""Returns the dict representation of the actual instance"""
|
|
238
257
|
if self.actual_instance is None:
|
|
239
258
|
return None
|
|
@@ -18,8 +18,8 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, Field, field_validator
|
|
22
|
-
from typing import Any, ClassVar, Dict, List
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from typing_extensions import Annotated
|
|
24
24
|
from twitter_openapi_python_generated.models.module_entry import ModuleEntry
|
|
25
25
|
from typing import Optional, Set
|
|
@@ -29,9 +29,10 @@ class ModuleItem(BaseModel):
|
|
|
29
29
|
"""
|
|
30
30
|
ModuleItem
|
|
31
31
|
""" # noqa: E501
|
|
32
|
+
dispensable: Optional[StrictBool] = None
|
|
32
33
|
entry_id: Annotated[str, Field(strict=True)] = Field(alias="entryId")
|
|
33
34
|
item: ModuleEntry
|
|
34
|
-
__properties: ClassVar[List[str]] = ["entryId", "item"]
|
|
35
|
+
__properties: ClassVar[List[str]] = ["dispensable", "entryId", "item"]
|
|
35
36
|
|
|
36
37
|
@field_validator('entry_id')
|
|
37
38
|
def entry_id_validate_regular_expression(cls, value):
|
|
@@ -94,6 +95,7 @@ class ModuleItem(BaseModel):
|
|
|
94
95
|
return cls.model_validate(obj)
|
|
95
96
|
|
|
96
97
|
_obj = cls.model_validate({
|
|
98
|
+
"dispensable": obj.get("dispensable"),
|
|
97
99
|
"entryId": obj.get("entryId"),
|
|
98
100
|
"item": ModuleEntry.from_dict(obj["item"]) if obj.get("item") is not None else None
|
|
99
101
|
})
|
|
@@ -0,0 +1,92 @@
|
|
|
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, StrictInt, StrictStr
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class ThumbnailImage(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
ThumbnailImage
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
original_img_height: Optional[StrictInt] = None
|
|
31
|
+
original_img_url: Optional[StrictStr] = None
|
|
32
|
+
original_img_width: Optional[StrictInt] = None
|
|
33
|
+
__properties: ClassVar[List[str]] = ["original_img_height", "original_img_url", "original_img_width"]
|
|
34
|
+
|
|
35
|
+
model_config = ConfigDict(
|
|
36
|
+
populate_by_name=True,
|
|
37
|
+
validate_assignment=True,
|
|
38
|
+
protected_namespaces=(),
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def to_str(self) -> str:
|
|
43
|
+
"""Returns the string representation of the model using alias"""
|
|
44
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
45
|
+
|
|
46
|
+
def to_json(self) -> str:
|
|
47
|
+
"""Returns the JSON representation of the model using alias"""
|
|
48
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
49
|
+
return json.dumps(self.to_dict())
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
53
|
+
"""Create an instance of ThumbnailImage from a JSON string"""
|
|
54
|
+
return cls.from_dict(json.loads(json_str))
|
|
55
|
+
|
|
56
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
57
|
+
"""Return the dictionary representation of the model using alias.
|
|
58
|
+
|
|
59
|
+
This has the following differences from calling pydantic's
|
|
60
|
+
`self.model_dump(by_alias=True)`:
|
|
61
|
+
|
|
62
|
+
* `None` is only added to the output dict for nullable fields that
|
|
63
|
+
were set at model initialization. Other fields with value `None`
|
|
64
|
+
are ignored.
|
|
65
|
+
"""
|
|
66
|
+
excluded_fields: Set[str] = set([
|
|
67
|
+
])
|
|
68
|
+
|
|
69
|
+
_dict = self.model_dump(
|
|
70
|
+
by_alias=True,
|
|
71
|
+
exclude=excluded_fields,
|
|
72
|
+
exclude_none=True,
|
|
73
|
+
)
|
|
74
|
+
return _dict
|
|
75
|
+
|
|
76
|
+
@classmethod
|
|
77
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
78
|
+
"""Create an instance of ThumbnailImage from a dict"""
|
|
79
|
+
if obj is None:
|
|
80
|
+
return None
|
|
81
|
+
|
|
82
|
+
if not isinstance(obj, dict):
|
|
83
|
+
return cls.model_validate(obj)
|
|
84
|
+
|
|
85
|
+
_obj = cls.model_validate({
|
|
86
|
+
"original_img_height": obj.get("original_img_height"),
|
|
87
|
+
"original_img_url": obj.get("original_img_url"),
|
|
88
|
+
"original_img_width": obj.get("original_img_width")
|
|
89
|
+
})
|
|
90
|
+
return _obj
|
|
91
|
+
|
|
92
|
+
|
|
@@ -0,0 +1,130 @@
|
|
|
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, StrictBool, StrictStr
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from twitter_openapi_python_generated.models.content_item_type import ContentItemType
|
|
24
|
+
from twitter_openapi_python_generated.models.social_context_landing_url import SocialContextLandingUrl
|
|
25
|
+
from twitter_openapi_python_generated.models.social_context_union import SocialContextUnion
|
|
26
|
+
from twitter_openapi_python_generated.models.thumbnail_image import ThumbnailImage
|
|
27
|
+
from twitter_openapi_python_generated.models.trend_image import TrendImage
|
|
28
|
+
from twitter_openapi_python_generated.models.trend_metadata import TrendMetadata
|
|
29
|
+
from twitter_openapi_python_generated.models.type_name import TypeName
|
|
30
|
+
from typing import Optional, Set
|
|
31
|
+
from typing_extensions import Self
|
|
32
|
+
|
|
33
|
+
class TimelineTrend(BaseModel):
|
|
34
|
+
"""
|
|
35
|
+
TimelineTrend
|
|
36
|
+
""" # noqa: E501
|
|
37
|
+
typename: TypeName = Field(alias="__typename")
|
|
38
|
+
images: List[TrendImage]
|
|
39
|
+
is_ai_trend: Optional[StrictBool] = None
|
|
40
|
+
item_type: ContentItemType = Field(alias="itemType")
|
|
41
|
+
name: StrictStr
|
|
42
|
+
social_context: Optional[SocialContextUnion] = None
|
|
43
|
+
thumbnail_image: ThumbnailImage
|
|
44
|
+
trend_metadata: TrendMetadata
|
|
45
|
+
trend_url: SocialContextLandingUrl
|
|
46
|
+
__properties: ClassVar[List[str]] = ["__typename", "images", "is_ai_trend", "itemType", "name", "social_context", "thumbnail_image", "trend_metadata", "trend_url"]
|
|
47
|
+
|
|
48
|
+
model_config = ConfigDict(
|
|
49
|
+
populate_by_name=True,
|
|
50
|
+
validate_assignment=True,
|
|
51
|
+
protected_namespaces=(),
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def to_str(self) -> str:
|
|
56
|
+
"""Returns the string representation of the model using alias"""
|
|
57
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
58
|
+
|
|
59
|
+
def to_json(self) -> str:
|
|
60
|
+
"""Returns the JSON representation of the model using alias"""
|
|
61
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
62
|
+
return json.dumps(self.to_dict())
|
|
63
|
+
|
|
64
|
+
@classmethod
|
|
65
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
66
|
+
"""Create an instance of TimelineTrend from a JSON string"""
|
|
67
|
+
return cls.from_dict(json.loads(json_str))
|
|
68
|
+
|
|
69
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
70
|
+
"""Return the dictionary representation of the model using alias.
|
|
71
|
+
|
|
72
|
+
This has the following differences from calling pydantic's
|
|
73
|
+
`self.model_dump(by_alias=True)`:
|
|
74
|
+
|
|
75
|
+
* `None` is only added to the output dict for nullable fields that
|
|
76
|
+
were set at model initialization. Other fields with value `None`
|
|
77
|
+
are ignored.
|
|
78
|
+
"""
|
|
79
|
+
excluded_fields: Set[str] = set([
|
|
80
|
+
])
|
|
81
|
+
|
|
82
|
+
_dict = self.model_dump(
|
|
83
|
+
by_alias=True,
|
|
84
|
+
exclude=excluded_fields,
|
|
85
|
+
exclude_none=True,
|
|
86
|
+
)
|
|
87
|
+
# override the default output from pydantic by calling `to_dict()` of each item in images (list)
|
|
88
|
+
_items = []
|
|
89
|
+
if self.images:
|
|
90
|
+
for _item_images in self.images:
|
|
91
|
+
if _item_images:
|
|
92
|
+
_items.append(_item_images.to_dict())
|
|
93
|
+
_dict['images'] = _items
|
|
94
|
+
# override the default output from pydantic by calling `to_dict()` of social_context
|
|
95
|
+
if self.social_context:
|
|
96
|
+
_dict['social_context'] = self.social_context.to_dict()
|
|
97
|
+
# override the default output from pydantic by calling `to_dict()` of thumbnail_image
|
|
98
|
+
if self.thumbnail_image:
|
|
99
|
+
_dict['thumbnail_image'] = self.thumbnail_image.to_dict()
|
|
100
|
+
# override the default output from pydantic by calling `to_dict()` of trend_metadata
|
|
101
|
+
if self.trend_metadata:
|
|
102
|
+
_dict['trend_metadata'] = self.trend_metadata.to_dict()
|
|
103
|
+
# override the default output from pydantic by calling `to_dict()` of trend_url
|
|
104
|
+
if self.trend_url:
|
|
105
|
+
_dict['trend_url'] = self.trend_url.to_dict()
|
|
106
|
+
return _dict
|
|
107
|
+
|
|
108
|
+
@classmethod
|
|
109
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
110
|
+
"""Create an instance of TimelineTrend from a dict"""
|
|
111
|
+
if obj is None:
|
|
112
|
+
return None
|
|
113
|
+
|
|
114
|
+
if not isinstance(obj, dict):
|
|
115
|
+
return cls.model_validate(obj)
|
|
116
|
+
|
|
117
|
+
_obj = cls.model_validate({
|
|
118
|
+
"__typename": obj.get("__typename"),
|
|
119
|
+
"images": [TrendImage.from_dict(_item) for _item in obj["images"]] if obj.get("images") is not None else None,
|
|
120
|
+
"is_ai_trend": obj.get("is_ai_trend"),
|
|
121
|
+
"itemType": obj.get("itemType"),
|
|
122
|
+
"name": obj.get("name"),
|
|
123
|
+
"social_context": SocialContextUnion.from_dict(obj["social_context"]) if obj.get("social_context") is not None else None,
|
|
124
|
+
"thumbnail_image": ThumbnailImage.from_dict(obj["thumbnail_image"]) if obj.get("thumbnail_image") is not None else None,
|
|
125
|
+
"trend_metadata": TrendMetadata.from_dict(obj["trend_metadata"]) if obj.get("trend_metadata") is not None else None,
|
|
126
|
+
"trend_url": SocialContextLandingUrl.from_dict(obj["trend_url"]) if obj.get("trend_url") is not None else None
|
|
127
|
+
})
|
|
128
|
+
return _obj
|
|
129
|
+
|
|
130
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
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, StrictStr
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class TrendImage(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
TrendImage
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
url: Optional[StrictStr] = None
|
|
31
|
+
__properties: ClassVar[List[str]] = ["url"]
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(
|
|
34
|
+
populate_by_name=True,
|
|
35
|
+
validate_assignment=True,
|
|
36
|
+
protected_namespaces=(),
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of TrendImage from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
"""
|
|
64
|
+
excluded_fields: Set[str] = set([
|
|
65
|
+
])
|
|
66
|
+
|
|
67
|
+
_dict = self.model_dump(
|
|
68
|
+
by_alias=True,
|
|
69
|
+
exclude=excluded_fields,
|
|
70
|
+
exclude_none=True,
|
|
71
|
+
)
|
|
72
|
+
return _dict
|
|
73
|
+
|
|
74
|
+
@classmethod
|
|
75
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
76
|
+
"""Create an instance of TrendImage from a dict"""
|
|
77
|
+
if obj is None:
|
|
78
|
+
return None
|
|
79
|
+
|
|
80
|
+
if not isinstance(obj, dict):
|
|
81
|
+
return cls.model_validate(obj)
|
|
82
|
+
|
|
83
|
+
_obj = cls.model_validate({
|
|
84
|
+
"url": obj.get("url")
|
|
85
|
+
})
|
|
86
|
+
return _obj
|
|
87
|
+
|
|
88
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from twitter_openapi_python_generated.models.social_context_landing_url import SocialContextLandingUrl
|
|
24
|
+
from typing import Optional, Set
|
|
25
|
+
from typing_extensions import Self
|
|
26
|
+
|
|
27
|
+
class TrendMetadata(BaseModel):
|
|
28
|
+
"""
|
|
29
|
+
TrendMetadata
|
|
30
|
+
""" # noqa: E501
|
|
31
|
+
url: Optional[SocialContextLandingUrl] = None
|
|
32
|
+
__properties: ClassVar[List[str]] = ["url"]
|
|
33
|
+
|
|
34
|
+
model_config = ConfigDict(
|
|
35
|
+
populate_by_name=True,
|
|
36
|
+
validate_assignment=True,
|
|
37
|
+
protected_namespaces=(),
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def to_str(self) -> str:
|
|
42
|
+
"""Returns the string representation of the model using alias"""
|
|
43
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
44
|
+
|
|
45
|
+
def to_json(self) -> str:
|
|
46
|
+
"""Returns the JSON representation of the model using alias"""
|
|
47
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
48
|
+
return json.dumps(self.to_dict())
|
|
49
|
+
|
|
50
|
+
@classmethod
|
|
51
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
52
|
+
"""Create an instance of TrendMetadata from a JSON string"""
|
|
53
|
+
return cls.from_dict(json.loads(json_str))
|
|
54
|
+
|
|
55
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
+
"""Return the dictionary representation of the model using alias.
|
|
57
|
+
|
|
58
|
+
This has the following differences from calling pydantic's
|
|
59
|
+
`self.model_dump(by_alias=True)`:
|
|
60
|
+
|
|
61
|
+
* `None` is only added to the output dict for nullable fields that
|
|
62
|
+
were set at model initialization. Other fields with value `None`
|
|
63
|
+
are ignored.
|
|
64
|
+
"""
|
|
65
|
+
excluded_fields: Set[str] = set([
|
|
66
|
+
])
|
|
67
|
+
|
|
68
|
+
_dict = self.model_dump(
|
|
69
|
+
by_alias=True,
|
|
70
|
+
exclude=excluded_fields,
|
|
71
|
+
exclude_none=True,
|
|
72
|
+
)
|
|
73
|
+
# override the default output from pydantic by calling `to_dict()` of url
|
|
74
|
+
if self.url:
|
|
75
|
+
_dict['url'] = self.url.to_dict()
|
|
76
|
+
return _dict
|
|
77
|
+
|
|
78
|
+
@classmethod
|
|
79
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
80
|
+
"""Create an instance of TrendMetadata from a dict"""
|
|
81
|
+
if obj is None:
|
|
82
|
+
return None
|
|
83
|
+
|
|
84
|
+
if not isinstance(obj, dict):
|
|
85
|
+
return cls.model_validate(obj)
|
|
86
|
+
|
|
87
|
+
_obj = cls.model_validate({
|
|
88
|
+
"url": SocialContextLandingUrl.from_dict(obj["url"]) if obj.get("url") is not None else None
|
|
89
|
+
})
|
|
90
|
+
return _obj
|
|
91
|
+
|
|
92
|
+
|
|
@@ -39,6 +39,7 @@ class TypeName(str, Enum):
|
|
|
39
39
|
TIMELINEMESSAGEPROMPT = 'TimelineMessagePrompt'
|
|
40
40
|
TIMELINECOMMUNITY = 'TimelineCommunity'
|
|
41
41
|
TIMELINETOMBSTONE = 'TimelineTombstone'
|
|
42
|
+
TIMELINETREND = 'TimelineTrend'
|
|
42
43
|
TWEETUNAVAILABLE = 'TweetUnavailable'
|
|
43
44
|
TWEETPREVIEWDISPLAY = 'TweetPreviewDisplay'
|
|
44
45
|
TWEET = 'Tweet'
|
|
@@ -77,6 +77,7 @@ class RESTClientObject:
|
|
|
77
77
|
"ca_certs": configuration.ssl_ca_cert,
|
|
78
78
|
"cert_file": configuration.cert_file,
|
|
79
79
|
"key_file": configuration.key_file,
|
|
80
|
+
"ca_cert_data": configuration.ca_cert_data,
|
|
80
81
|
}
|
|
81
82
|
if configuration.assert_hostname is not None:
|
|
82
83
|
pool_args['assert_hostname'] = (
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
twitter_openapi_python_generated/__init__.py,sha256=
|
|
2
|
-
twitter_openapi_python_generated/api_client.py,sha256=
|
|
1
|
+
twitter_openapi_python_generated/__init__.py,sha256=dKqs3Pc8Scb_DyDglhf0E1YNgMt9GTrhtRhFq6SmGZM,28996
|
|
2
|
+
twitter_openapi_python_generated/api_client.py,sha256=EGIq-YCRupa9v5P7X-lDBs7tiaHFYpsgAqKQjbV2W3g,27554
|
|
3
3
|
twitter_openapi_python_generated/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
twitter_openapi_python_generated/configuration.py,sha256=
|
|
5
|
-
twitter_openapi_python_generated/exceptions.py,sha256=
|
|
4
|
+
twitter_openapi_python_generated/configuration.py,sha256=ueBLkCqGrsuG_Fxqtr8wuswcXKEjYxU-XXboheRwIpI,26664
|
|
5
|
+
twitter_openapi_python_generated/exceptions.py,sha256=DLusUo_Nzgjil6GG-rp3ebZfASQU6iIjCDT40sD94h8,6442
|
|
6
6
|
twitter_openapi_python_generated/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
twitter_openapi_python_generated/rest.py,sha256=
|
|
7
|
+
twitter_openapi_python_generated/rest.py,sha256=yKdXzZOrUl8wM8FUaRqV_0Ahv1m2KEPfQUfXl-nyFUQ,9457
|
|
8
8
|
twitter_openapi_python_generated/api/__init__.py,sha256=zAml0EP4OMYX4VTZR71tgo7_oX_o2hiISFm9bbEnmms,746
|
|
9
9
|
twitter_openapi_python_generated/api/default_api.py,sha256=1aldDxki1z-Owp_oigXvo4GuJdvqV-uljj5WpFfRjOk,25151
|
|
10
10
|
twitter_openapi_python_generated/api/other_api.py,sha256=ttrHkc03YYjkZpIUquHlbYNteul2FuO6h-fxq1Exnbg,10891
|
|
@@ -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=
|
|
19
|
+
twitter_openapi_python_generated/models/__init__.py,sha256=K_rGS6aYTS2gfbDp4t46OKCQ9p0AYEbySvYfieNbjCI,27591
|
|
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
|
|
@@ -109,7 +109,7 @@ twitter_openapi_python_generated/models/home_timeline_home.py,sha256=CgGGHrEXo-N
|
|
|
109
109
|
twitter_openapi_python_generated/models/home_timeline_response_data.py,sha256=9g0PantOvcqM2lxHUru80uBkRESOfrji2B51erB8UJ8,2812
|
|
110
110
|
twitter_openapi_python_generated/models/instruction_type.py,sha256=yHqW19Qi5vTZTcsQ8ZAH-mspICe6j4Y1r4tfZunH0c8,1065
|
|
111
111
|
twitter_openapi_python_generated/models/instruction_union.py,sha256=JQqqWrBGr8DYR_i20EeNSd9oYslgNluP75tcJ0nE_sA,12637
|
|
112
|
-
twitter_openapi_python_generated/models/item_content_union.py,sha256
|
|
112
|
+
twitter_openapi_python_generated/models/item_content_union.py,sha256=-kRwO9Hk14oxMbPS-x27KBJHZswDCB04b9dUu4qwBQg,12222
|
|
113
113
|
twitter_openapi_python_generated/models/item_result.py,sha256=Xriw7CidSS3v-mncEOrIXte_0vqaPkVYxFUA4NQICHU,3050
|
|
114
114
|
twitter_openapi_python_generated/models/limited_action_results_data.py,sha256=lM4VZYgo6kgDenhQbgZB6X4vMouAJLlcV0yyDTyuT5w,3153
|
|
115
115
|
twitter_openapi_python_generated/models/list_latest_tweets_timeline_response.py,sha256=ZmHwx2v7kTHkvvwkXCGXHkNm1R2-CxVlkwZjjAfSSr4,3440
|
|
@@ -131,7 +131,7 @@ twitter_openapi_python_generated/models/media_video_info_variant.py,sha256=MFcGT
|
|
|
131
131
|
twitter_openapi_python_generated/models/media_visibility_results.py,sha256=IUGga-zcOx78ABYncJg5_uCUzmaZ-KrLWQ4QPN40YCI,3098
|
|
132
132
|
twitter_openapi_python_generated/models/media_visibility_results_blurred_image_interstitial.py,sha256=00DR1MatuvfPYorU822IFyQCFrFJq_-Hu87JQKqWsnM,3330
|
|
133
133
|
twitter_openapi_python_generated/models/module_entry.py,sha256=HP6-B-SQOkMQfQdru2vHzl3VyasCGl96puKp3QAMh3c,3875
|
|
134
|
-
twitter_openapi_python_generated/models/module_item.py,sha256=
|
|
134
|
+
twitter_openapi_python_generated/models/module_item.py,sha256=bjmUCCWomDykxXTyqfAqXJ5khn_8_PzEXOEDzhdTxU0,3371
|
|
135
135
|
twitter_openapi_python_generated/models/note_tweet.py,sha256=KDUsqUSlk92IH5OIJyGRKGMmlkjqJnG9Du-H0-rzUgs,2961
|
|
136
136
|
twitter_openapi_python_generated/models/note_tweet_result.py,sha256=9Fh-qyTPLmnVkLzoGuLgNsTsSFEU2zohBEwupspdJS4,2780
|
|
137
137
|
twitter_openapi_python_generated/models/note_tweet_result_data.py,sha256=YOhp94dyHsipoaVFMPjRv5UsEYdPA8kvq6emS-qAp2c,4283
|
|
@@ -182,6 +182,7 @@ twitter_openapi_python_generated/models/text.py,sha256=DTxik0aYJxKSHtkGZsqwy4-du
|
|
|
182
182
|
twitter_openapi_python_generated/models/text_entity.py,sha256=rAt8J8irxPBmh8_eJ4GMLH4ZU5AaSPJHCHmolZEazMU,2942
|
|
183
183
|
twitter_openapi_python_generated/models/text_entity_ref.py,sha256=6uqAHOu-B38w_9-1NsuR6fOg8fobzqL1R65YGi7OwOA,3125
|
|
184
184
|
twitter_openapi_python_generated/models/text_highlight.py,sha256=u4h9XpswsZaNOr0qI0g-u4LGHMb_2V2hVXfT3EE82K8,2607
|
|
185
|
+
twitter_openapi_python_generated/models/thumbnail_image.py,sha256=V-WJvPtZy6WpcTsdFvFxwUw9bSDik32QbJ4TTMhfdz8,2809
|
|
185
186
|
twitter_openapi_python_generated/models/timeline.py,sha256=vCmpiRyRAUhDeHDQ5BqfPTruSLQIxG0wf7YWwfqavmQ,3290
|
|
186
187
|
twitter_openapi_python_generated/models/timeline_add_entries.py,sha256=uWOCMx6XAB3Vzk_Y-OfaWWCPsFMQ4zLbbFVLLgH58h4,3135
|
|
187
188
|
twitter_openapi_python_generated/models/timeline_add_entry.py,sha256=Cw5fQ4ny5s7YcJHuAJtnUG1npNTiutdPXrZ4XiUri5Q,3719
|
|
@@ -206,6 +207,7 @@ twitter_openapi_python_generated/models/timeline_timeline_item.py,sha256=O9igAZq
|
|
|
206
207
|
twitter_openapi_python_generated/models/timeline_timeline_module.py,sha256=57ZF8OmAkWjyEO4rKgpQjhAjg4Yx4UfQwrYDjXQsHA4,4814
|
|
207
208
|
twitter_openapi_python_generated/models/timeline_tombstone.py,sha256=YsHtbfy9Xs90xnySN_Qjlct3NC7XlSRgL9YVmVo-lPQ,3878
|
|
208
209
|
twitter_openapi_python_generated/models/timeline_topic_context.py,sha256=OegTLFoDnbTovUtawZHgf4T5DR2MdM0DQSxpjODdKao,3509
|
|
210
|
+
twitter_openapi_python_generated/models/timeline_trend.py,sha256=H1n0DxLEjx6tAV4mQAEdDtW0BZLhcYzlplKX_R3rgf0,5391
|
|
209
211
|
twitter_openapi_python_generated/models/timeline_tweet.py,sha256=NnMwhU6GODC5ZuZvADer4aySZWYklXaXJrftM4DJ3pw,5050
|
|
210
212
|
twitter_openapi_python_generated/models/timeline_user.py,sha256=WIGlZ9y9FzeFoLu8UzWdcNI2m2R3a0-zvhKpRFC6j20,4217
|
|
211
213
|
twitter_openapi_python_generated/models/timeline_v2.py,sha256=kIlescfRjFd1i2mDsKILeL5NGbIWxWoglurpdxCT_3E,2758
|
|
@@ -216,6 +218,8 @@ twitter_openapi_python_generated/models/tombstone_ref.py,sha256=2ZPWnKxxgNIyNm0N
|
|
|
216
218
|
twitter_openapi_python_generated/models/tombstone_rich_text.py,sha256=u1eEut7GCea0X2CfAfnKDRWsqIjHUqp_quCHc0B7SP0,3193
|
|
217
219
|
twitter_openapi_python_generated/models/topic_context.py,sha256=7K6F_kT9R3-4OaJEGtMVIFQe4vQ497c_u8yUaT_ALWs,3080
|
|
218
220
|
twitter_openapi_python_generated/models/tracing.py,sha256=dvT8WY1xkGErHd9bKuR98fTFjCnYvhvbM-uW1ec3-k0,2807
|
|
221
|
+
twitter_openapi_python_generated/models/trend_image.py,sha256=KNzbhV6yNQrwZnrjvfc23dYdxgYjkdmgmX2LEzBJsUk,2450
|
|
222
|
+
twitter_openapi_python_generated/models/trend_metadata.py,sha256=t5YiyWIc5YHoXb8qeoYAML6NOEHJiFLQZvs61-fZrxU,2788
|
|
219
223
|
twitter_openapi_python_generated/models/trend_results.py,sha256=dxQ0wsvrjs_SBcDxpYE84er3hDUfxaPEAYcKPn4XmTg,2809
|
|
220
224
|
twitter_openapi_python_generated/models/tweet.py,sha256=tsgUKjc1SeYzXQ8RNW4Az2mFgGBdE6cv_6DS9ovCtpg,13328
|
|
221
225
|
twitter_openapi_python_generated/models/tweet_card.py,sha256=_OjlOlrYy_09iYiO6ESjNdSvZ1C5FD83Q648rZ0eJFY,2871
|
|
@@ -257,7 +261,7 @@ twitter_openapi_python_generated/models/tweet_unavailable.py,sha256=Kv9bSrKIOj1o
|
|
|
257
261
|
twitter_openapi_python_generated/models/tweet_union.py,sha256=G-JbR8YurkcCzUmlkOshLliX0scQf_SAaFn50QU6yYM,9197
|
|
258
262
|
twitter_openapi_python_generated/models/tweet_view.py,sha256=v4_oJaSdMmELaGV-8kRxlTY0TDBuGmNQgW4SqfTZHG4,3223
|
|
259
263
|
twitter_openapi_python_generated/models/tweet_with_visibility_results.py,sha256=rrJpjig_F74MyXJHEdtiZAkQ8Le7wCC5R8hnuv9k6cc,4454
|
|
260
|
-
twitter_openapi_python_generated/models/type_name.py,sha256=
|
|
264
|
+
twitter_openapi_python_generated/models/type_name.py,sha256=bHTOlnXy5deOsgrxxbjGhaMM6eoAYM350_xZZxVQ-o0,2054
|
|
261
265
|
twitter_openapi_python_generated/models/unfavorite_tweet.py,sha256=BdbFDu-0E3VprCfIupdgkpoHBo1VFwfWeV5Y7EwfVPc,2522
|
|
262
266
|
twitter_openapi_python_generated/models/unfavorite_tweet_response.py,sha256=DlVCIy2bysAvU8sQ-hb8JQVtQgZ1k80yB8vgSSewnDo,3374
|
|
263
267
|
twitter_openapi_python_generated/models/unified_card.py,sha256=Pg3HjE0YsfZBkBjaOGkh9MhaqQQ7FWhGxE-ryFjp7W8,2755
|
|
@@ -299,9 +303,9 @@ twitter_openapi_python_generated/models/user_verification_info_reason_descriptio
|
|
|
299
303
|
twitter_openapi_python_generated/models/user_verification_info_reason_description_entities_ref.py,sha256=di6U-pbh04SsZ2dZjyB2rZrnyJraU_ZjLFau8_IHKwI,2926
|
|
300
304
|
twitter_openapi_python_generated/models/users_response.py,sha256=UGep5Yb1SGXGVIMABf0DhrIuDMLKwCf69QYpNjlr5rQ,3343
|
|
301
305
|
twitter_openapi_python_generated/models/users_response_data.py,sha256=XTiDXvnyT5hBzzI8Dqs_vM5EoTJchlCOLaM_A2XVQhc,2957
|
|
302
|
-
twitter_openapi_python_generated-0.0.
|
|
303
|
-
twitter_openapi_python_generated-0.0.
|
|
304
|
-
twitter_openapi_python_generated-0.0.
|
|
305
|
-
twitter_openapi_python_generated-0.0.
|
|
306
|
-
twitter_openapi_python_generated-0.0.
|
|
307
|
-
twitter_openapi_python_generated-0.0.
|
|
306
|
+
twitter_openapi_python_generated-0.0.31.dist-info/LICENSE,sha256=xthyYzrtSmRlBu2gnfuIxzsZeHrqtIZgZPL9UPrYiQU,1524
|
|
307
|
+
twitter_openapi_python_generated-0.0.31.dist-info/LICENSE.AGPL,sha256=Nv6u1ubULm-E2y6q2-pQPK8s2BzkOltLaVlPKQ3tkcs,35182
|
|
308
|
+
twitter_openapi_python_generated-0.0.31.dist-info/METADATA,sha256=gHfbfA_B10RAS1vGEDrS8dHhSY2GhHUPcKO9WNGG9w0,637
|
|
309
|
+
twitter_openapi_python_generated-0.0.31.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
310
|
+
twitter_openapi_python_generated-0.0.31.dist-info/top_level.txt,sha256=_HJ3iFAuiS8tEZxA90EesWYeEj6OB4-sNr_c8tj1uWg,33
|
|
311
|
+
twitter_openapi_python_generated-0.0.31.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|