twitter-openapi-python-generated 0.0.26__py3-none-any.whl → 0.0.28__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 +13 -3
- twitter_openapi_python_generated/api/tweet_api.py +17 -0
- twitter_openapi_python_generated/api_client.py +1 -1
- twitter_openapi_python_generated/configuration.py +1 -1
- twitter_openapi_python_generated/models/__init__.py +12 -2
- twitter_openapi_python_generated/models/community_actions.py +3 -3
- twitter_openapi_python_generated/models/community_data.py +24 -15
- twitter_openapi_python_generated/models/{community_join_action_result.py → community_join_action.py} +4 -4
- twitter_openapi_python_generated/models/{community_join_action_union.py → community_join_action_result_union.py} +21 -26
- twitter_openapi_python_generated/models/grok_share_attachment.py +96 -0
- twitter_openapi_python_generated/models/grok_share_attachment_item.py +90 -0
- twitter_openapi_python_generated/models/limited_action_results_data.py +95 -0
- twitter_openapi_python_generated/models/timeline_tweet.py +4 -2
- twitter_openapi_python_generated/models/trend_results.py +96 -0
- twitter_openapi_python_generated/models/tweet.py +15 -1
- twitter_openapi_python_generated/models/tweet_limited_action_results.py +96 -0
- twitter_openapi_python_generated/models/tweet_preview_display.py +107 -0
- twitter_openapi_python_generated/models/tweet_preview_display_cta.py +94 -0
- twitter_openapi_python_generated/models/tweet_preview_display_cta_url.py +97 -0
- twitter_openapi_python_generated/models/tweet_preview_display_tweet.py +131 -0
- twitter_openapi_python_generated/models/tweet_preview_display_tweet_view_count.py +96 -0
- twitter_openapi_python_generated/models/tweet_union.py +27 -8
- twitter_openapi_python_generated/models/type_name.py +1 -0
- twitter_openapi_python_generated/models/user.py +3 -1
- {twitter_openapi_python_generated-0.0.26.dist-info → twitter_openapi_python_generated-0.0.28.dist-info}/METADATA +6 -6
- {twitter_openapi_python_generated-0.0.26.dist-info → twitter_openapi_python_generated-0.0.28.dist-info}/RECORD +30 -20
- {twitter_openapi_python_generated-0.0.26.dist-info → twitter_openapi_python_generated-0.0.28.dist-info}/WHEEL +1 -1
- {twitter_openapi_python_generated-0.0.26.dist-info → twitter_openapi_python_generated-0.0.28.dist-info}/LICENSE +0 -0
- {twitter_openapi_python_generated-0.0.26.dist-info → twitter_openapi_python_generated-0.0.28.dist-info}/LICENSE.AGPL +0 -0
- {twitter_openapi_python_generated-0.0.26.dist-info → twitter_openapi_python_generated-0.0.28.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,97 @@
|
|
|
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 typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class TweetPreviewDisplayCtaUrl(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
TweetPreviewDisplayCtaUrl
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
url: StrictStr
|
|
31
|
+
url_type: StrictStr = Field(alias="urlType")
|
|
32
|
+
__properties: ClassVar[List[str]] = ["url", "urlType"]
|
|
33
|
+
|
|
34
|
+
@field_validator('url_type')
|
|
35
|
+
def url_type_validate_enum(cls, value):
|
|
36
|
+
"""Validates the enum"""
|
|
37
|
+
if value not in set(['DeepLink', 'UrtEndpoint', 'ExternalUrl']):
|
|
38
|
+
raise ValueError("must be one of enum values ('DeepLink', 'UrtEndpoint', 'ExternalUrl')")
|
|
39
|
+
return value
|
|
40
|
+
|
|
41
|
+
model_config = ConfigDict(
|
|
42
|
+
populate_by_name=True,
|
|
43
|
+
validate_assignment=True,
|
|
44
|
+
protected_namespaces=(),
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def to_str(self) -> str:
|
|
49
|
+
"""Returns the string representation of the model using alias"""
|
|
50
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
51
|
+
|
|
52
|
+
def to_json(self) -> str:
|
|
53
|
+
"""Returns the JSON representation of the model using alias"""
|
|
54
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
55
|
+
return json.dumps(self.to_dict())
|
|
56
|
+
|
|
57
|
+
@classmethod
|
|
58
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
59
|
+
"""Create an instance of TweetPreviewDisplayCtaUrl from a JSON string"""
|
|
60
|
+
return cls.from_dict(json.loads(json_str))
|
|
61
|
+
|
|
62
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
63
|
+
"""Return the dictionary representation of the model using alias.
|
|
64
|
+
|
|
65
|
+
This has the following differences from calling pydantic's
|
|
66
|
+
`self.model_dump(by_alias=True)`:
|
|
67
|
+
|
|
68
|
+
* `None` is only added to the output dict for nullable fields that
|
|
69
|
+
were set at model initialization. Other fields with value `None`
|
|
70
|
+
are ignored.
|
|
71
|
+
"""
|
|
72
|
+
excluded_fields: Set[str] = set([
|
|
73
|
+
])
|
|
74
|
+
|
|
75
|
+
_dict = self.model_dump(
|
|
76
|
+
by_alias=True,
|
|
77
|
+
exclude=excluded_fields,
|
|
78
|
+
exclude_none=True,
|
|
79
|
+
)
|
|
80
|
+
return _dict
|
|
81
|
+
|
|
82
|
+
@classmethod
|
|
83
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
84
|
+
"""Create an instance of TweetPreviewDisplayCtaUrl from a dict"""
|
|
85
|
+
if obj is None:
|
|
86
|
+
return None
|
|
87
|
+
|
|
88
|
+
if not isinstance(obj, dict):
|
|
89
|
+
return cls.model_validate(obj)
|
|
90
|
+
|
|
91
|
+
_obj = cls.model_validate({
|
|
92
|
+
"url": obj.get("url"),
|
|
93
|
+
"urlType": obj.get("urlType")
|
|
94
|
+
})
|
|
95
|
+
return _obj
|
|
96
|
+
|
|
97
|
+
|
|
@@ -0,0 +1,131 @@
|
|
|
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, StrictInt, StrictStr, field_validator
|
|
22
|
+
from typing import Any, ClassVar, Dict, List
|
|
23
|
+
from typing_extensions import Annotated
|
|
24
|
+
from twitter_openapi_python_generated.models.tweet_preview_display_tweet_view_count import TweetPreviewDisplayTweetViewCount
|
|
25
|
+
from twitter_openapi_python_generated.models.user_result_core import UserResultCore
|
|
26
|
+
from typing import Optional, Set
|
|
27
|
+
from typing_extensions import Self
|
|
28
|
+
|
|
29
|
+
class TweetPreviewDisplayTweet(BaseModel):
|
|
30
|
+
"""
|
|
31
|
+
TweetPreviewDisplayTweet
|
|
32
|
+
""" # noqa: E501
|
|
33
|
+
bookmark_count: StrictInt
|
|
34
|
+
core: UserResultCore
|
|
35
|
+
created_at: Annotated[str, Field(strict=True)]
|
|
36
|
+
entities: Dict[str, Any]
|
|
37
|
+
favorite_count: StrictInt
|
|
38
|
+
quote_count: StrictInt
|
|
39
|
+
reply_count: StrictInt
|
|
40
|
+
rest_id: Annotated[str, Field(strict=True)]
|
|
41
|
+
retweet_count: StrictInt
|
|
42
|
+
text: StrictStr
|
|
43
|
+
view_count: TweetPreviewDisplayTweetViewCount
|
|
44
|
+
__properties: ClassVar[List[str]] = ["bookmark_count", "core", "created_at", "entities", "favorite_count", "quote_count", "reply_count", "rest_id", "retweet_count", "text", "view_count"]
|
|
45
|
+
|
|
46
|
+
@field_validator('created_at')
|
|
47
|
+
def created_at_validate_regular_expression(cls, value):
|
|
48
|
+
"""Validates the regular expression"""
|
|
49
|
+
if not re.match(r"^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (0[1-9]|[12][0-9]|3[01]) (0[0-9]|1[0-9]|2[0-3])(: ?)([0-5][0-9])(: ?)([0-5][0-9]) ([+-][0-9]{4}) ([0-9]{4})$", value):
|
|
50
|
+
raise ValueError(r"must validate the regular expression /^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (0[1-9]|[12][0-9]|3[01]) (0[0-9]|1[0-9]|2[0-3])(: ?)([0-5][0-9])(: ?)([0-5][0-9]) ([+-][0-9]{4}) ([0-9]{4})$/")
|
|
51
|
+
return value
|
|
52
|
+
|
|
53
|
+
@field_validator('rest_id')
|
|
54
|
+
def rest_id_validate_regular_expression(cls, value):
|
|
55
|
+
"""Validates the regular expression"""
|
|
56
|
+
if not re.match(r"^[0-9]+$", value):
|
|
57
|
+
raise ValueError(r"must validate the regular expression /^[0-9]+$/")
|
|
58
|
+
return value
|
|
59
|
+
|
|
60
|
+
model_config = ConfigDict(
|
|
61
|
+
populate_by_name=True,
|
|
62
|
+
validate_assignment=True,
|
|
63
|
+
protected_namespaces=(),
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def to_str(self) -> str:
|
|
68
|
+
"""Returns the string representation of the model using alias"""
|
|
69
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
70
|
+
|
|
71
|
+
def to_json(self) -> str:
|
|
72
|
+
"""Returns the JSON representation of the model using alias"""
|
|
73
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
74
|
+
return json.dumps(self.to_dict())
|
|
75
|
+
|
|
76
|
+
@classmethod
|
|
77
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
78
|
+
"""Create an instance of TweetPreviewDisplayTweet from a JSON string"""
|
|
79
|
+
return cls.from_dict(json.loads(json_str))
|
|
80
|
+
|
|
81
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
82
|
+
"""Return the dictionary representation of the model using alias.
|
|
83
|
+
|
|
84
|
+
This has the following differences from calling pydantic's
|
|
85
|
+
`self.model_dump(by_alias=True)`:
|
|
86
|
+
|
|
87
|
+
* `None` is only added to the output dict for nullable fields that
|
|
88
|
+
were set at model initialization. Other fields with value `None`
|
|
89
|
+
are ignored.
|
|
90
|
+
"""
|
|
91
|
+
excluded_fields: Set[str] = set([
|
|
92
|
+
])
|
|
93
|
+
|
|
94
|
+
_dict = self.model_dump(
|
|
95
|
+
by_alias=True,
|
|
96
|
+
exclude=excluded_fields,
|
|
97
|
+
exclude_none=True,
|
|
98
|
+
)
|
|
99
|
+
# override the default output from pydantic by calling `to_dict()` of core
|
|
100
|
+
if self.core:
|
|
101
|
+
_dict['core'] = self.core.to_dict()
|
|
102
|
+
# override the default output from pydantic by calling `to_dict()` of view_count
|
|
103
|
+
if self.view_count:
|
|
104
|
+
_dict['view_count'] = self.view_count.to_dict()
|
|
105
|
+
return _dict
|
|
106
|
+
|
|
107
|
+
@classmethod
|
|
108
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
109
|
+
"""Create an instance of TweetPreviewDisplayTweet from a dict"""
|
|
110
|
+
if obj is None:
|
|
111
|
+
return None
|
|
112
|
+
|
|
113
|
+
if not isinstance(obj, dict):
|
|
114
|
+
return cls.model_validate(obj)
|
|
115
|
+
|
|
116
|
+
_obj = cls.model_validate({
|
|
117
|
+
"bookmark_count": obj.get("bookmark_count"),
|
|
118
|
+
"core": UserResultCore.from_dict(obj["core"]) if obj.get("core") is not None else None,
|
|
119
|
+
"created_at": obj.get("created_at"),
|
|
120
|
+
"entities": obj.get("entities"),
|
|
121
|
+
"favorite_count": obj.get("favorite_count"),
|
|
122
|
+
"quote_count": obj.get("quote_count"),
|
|
123
|
+
"reply_count": obj.get("reply_count"),
|
|
124
|
+
"rest_id": obj.get("rest_id"),
|
|
125
|
+
"retweet_count": obj.get("retweet_count"),
|
|
126
|
+
"text": obj.get("text"),
|
|
127
|
+
"view_count": TweetPreviewDisplayTweetViewCount.from_dict(obj["view_count"]) if obj.get("view_count") is not None else None
|
|
128
|
+
})
|
|
129
|
+
return _obj
|
|
130
|
+
|
|
131
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
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, field_validator
|
|
22
|
+
from typing import Any, ClassVar, Dict, List
|
|
23
|
+
from typing_extensions import Annotated
|
|
24
|
+
from typing import Optional, Set
|
|
25
|
+
from typing_extensions import Self
|
|
26
|
+
|
|
27
|
+
class TweetPreviewDisplayTweetViewCount(BaseModel):
|
|
28
|
+
"""
|
|
29
|
+
TweetPreviewDisplayTweetViewCount
|
|
30
|
+
""" # noqa: E501
|
|
31
|
+
count: Annotated[str, Field(strict=True)]
|
|
32
|
+
__properties: ClassVar[List[str]] = ["count"]
|
|
33
|
+
|
|
34
|
+
@field_validator('count')
|
|
35
|
+
def count_validate_regular_expression(cls, value):
|
|
36
|
+
"""Validates the regular expression"""
|
|
37
|
+
if not re.match(r"^[0-9]+$", value):
|
|
38
|
+
raise ValueError(r"must validate the regular expression /^[0-9]+$/")
|
|
39
|
+
return value
|
|
40
|
+
|
|
41
|
+
model_config = ConfigDict(
|
|
42
|
+
populate_by_name=True,
|
|
43
|
+
validate_assignment=True,
|
|
44
|
+
protected_namespaces=(),
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def to_str(self) -> str:
|
|
49
|
+
"""Returns the string representation of the model using alias"""
|
|
50
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
51
|
+
|
|
52
|
+
def to_json(self) -> str:
|
|
53
|
+
"""Returns the JSON representation of the model using alias"""
|
|
54
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
55
|
+
return json.dumps(self.to_dict())
|
|
56
|
+
|
|
57
|
+
@classmethod
|
|
58
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
59
|
+
"""Create an instance of TweetPreviewDisplayTweetViewCount from a JSON string"""
|
|
60
|
+
return cls.from_dict(json.loads(json_str))
|
|
61
|
+
|
|
62
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
63
|
+
"""Return the dictionary representation of the model using alias.
|
|
64
|
+
|
|
65
|
+
This has the following differences from calling pydantic's
|
|
66
|
+
`self.model_dump(by_alias=True)`:
|
|
67
|
+
|
|
68
|
+
* `None` is only added to the output dict for nullable fields that
|
|
69
|
+
were set at model initialization. Other fields with value `None`
|
|
70
|
+
are ignored.
|
|
71
|
+
"""
|
|
72
|
+
excluded_fields: Set[str] = set([
|
|
73
|
+
])
|
|
74
|
+
|
|
75
|
+
_dict = self.model_dump(
|
|
76
|
+
by_alias=True,
|
|
77
|
+
exclude=excluded_fields,
|
|
78
|
+
exclude_none=True,
|
|
79
|
+
)
|
|
80
|
+
return _dict
|
|
81
|
+
|
|
82
|
+
@classmethod
|
|
83
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
84
|
+
"""Create an instance of TweetPreviewDisplayTweetViewCount from a dict"""
|
|
85
|
+
if obj is None:
|
|
86
|
+
return None
|
|
87
|
+
|
|
88
|
+
if not isinstance(obj, dict):
|
|
89
|
+
return cls.model_validate(obj)
|
|
90
|
+
|
|
91
|
+
_obj = cls.model_validate({
|
|
92
|
+
"count": obj.get("count")
|
|
93
|
+
})
|
|
94
|
+
return _obj
|
|
95
|
+
|
|
96
|
+
|
|
@@ -18,13 +18,14 @@ import json
|
|
|
18
18
|
import pprint
|
|
19
19
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
|
|
20
20
|
from typing import Any, List, Optional
|
|
21
|
+
from twitter_openapi_python_generated.models.tweet_preview_display import TweetPreviewDisplay
|
|
21
22
|
from twitter_openapi_python_generated.models.tweet_tombstone import TweetTombstone
|
|
22
23
|
from twitter_openapi_python_generated.models.tweet_unavailable import TweetUnavailable
|
|
23
24
|
from pydantic import StrictStr, Field
|
|
24
25
|
from typing import Union, List, Set, Optional, Dict
|
|
25
26
|
from typing_extensions import Literal, Self
|
|
26
27
|
|
|
27
|
-
TWEETUNION_ONE_OF_SCHEMAS = ["Tweet", "TweetTombstone", "TweetUnavailable", "TweetWithVisibilityResults"]
|
|
28
|
+
TWEETUNION_ONE_OF_SCHEMAS = ["Tweet", "TweetPreviewDisplay", "TweetTombstone", "TweetUnavailable", "TweetWithVisibilityResults"]
|
|
28
29
|
|
|
29
30
|
class TweetUnion(BaseModel):
|
|
30
31
|
"""
|
|
@@ -38,8 +39,10 @@ class TweetUnion(BaseModel):
|
|
|
38
39
|
oneof_schema_3_validator: Optional[TweetTombstone] = None
|
|
39
40
|
# data type: TweetUnavailable
|
|
40
41
|
oneof_schema_4_validator: Optional[TweetUnavailable] = None
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
# data type: TweetPreviewDisplay
|
|
43
|
+
oneof_schema_5_validator: Optional[TweetPreviewDisplay] = None
|
|
44
|
+
actual_instance: Optional[Union[Tweet, TweetPreviewDisplay, TweetTombstone, TweetUnavailable, TweetWithVisibilityResults]] = None
|
|
45
|
+
one_of_schemas: Set[str] = { "Tweet", "TweetPreviewDisplay", "TweetTombstone", "TweetUnavailable", "TweetWithVisibilityResults" }
|
|
43
46
|
|
|
44
47
|
model_config = ConfigDict(
|
|
45
48
|
validate_assignment=True,
|
|
@@ -85,12 +88,17 @@ class TweetUnion(BaseModel):
|
|
|
85
88
|
error_messages.append(f"Error! Input type `{type(v)}` is not `TweetUnavailable`")
|
|
86
89
|
else:
|
|
87
90
|
match += 1
|
|
91
|
+
# validate data type: TweetPreviewDisplay
|
|
92
|
+
if not isinstance(v, TweetPreviewDisplay):
|
|
93
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `TweetPreviewDisplay`")
|
|
94
|
+
else:
|
|
95
|
+
match += 1
|
|
88
96
|
if match > 1:
|
|
89
97
|
# more than 1 match
|
|
90
|
-
raise ValueError("Multiple matches found when setting `actual_instance` in TweetUnion with oneOf schemas: Tweet, TweetTombstone, TweetUnavailable, TweetWithVisibilityResults. Details: " + ", ".join(error_messages))
|
|
98
|
+
raise ValueError("Multiple matches found when setting `actual_instance` in TweetUnion with oneOf schemas: Tweet, TweetPreviewDisplay, TweetTombstone, TweetUnavailable, TweetWithVisibilityResults. Details: " + ", ".join(error_messages))
|
|
91
99
|
elif match == 0:
|
|
92
100
|
# no match
|
|
93
|
-
raise ValueError("No match found when setting `actual_instance` in TweetUnion with oneOf schemas: Tweet, TweetTombstone, TweetUnavailable, TweetWithVisibilityResults. Details: " + ", ".join(error_messages))
|
|
101
|
+
raise ValueError("No match found when setting `actual_instance` in TweetUnion with oneOf schemas: Tweet, TweetPreviewDisplay, TweetTombstone, TweetUnavailable, TweetWithVisibilityResults. Details: " + ", ".join(error_messages))
|
|
94
102
|
else:
|
|
95
103
|
return v
|
|
96
104
|
|
|
@@ -115,6 +123,11 @@ class TweetUnion(BaseModel):
|
|
|
115
123
|
instance.actual_instance = Tweet.from_json(json_str)
|
|
116
124
|
return instance
|
|
117
125
|
|
|
126
|
+
# check if data type is `TweetPreviewDisplay`
|
|
127
|
+
if _data_type == "TweetPreviewDisplay":
|
|
128
|
+
instance.actual_instance = TweetPreviewDisplay.from_json(json_str)
|
|
129
|
+
return instance
|
|
130
|
+
|
|
118
131
|
# check if data type is `TweetTombstone`
|
|
119
132
|
if _data_type == "TweetTombstone":
|
|
120
133
|
instance.actual_instance = TweetTombstone.from_json(json_str)
|
|
@@ -154,13 +167,19 @@ class TweetUnion(BaseModel):
|
|
|
154
167
|
match += 1
|
|
155
168
|
except (ValidationError, ValueError) as e:
|
|
156
169
|
error_messages.append(str(e))
|
|
170
|
+
# deserialize data into TweetPreviewDisplay
|
|
171
|
+
try:
|
|
172
|
+
instance.actual_instance = TweetPreviewDisplay.from_json(json_str)
|
|
173
|
+
match += 1
|
|
174
|
+
except (ValidationError, ValueError) as e:
|
|
175
|
+
error_messages.append(str(e))
|
|
157
176
|
|
|
158
177
|
if match > 1:
|
|
159
178
|
# more than 1 match
|
|
160
|
-
raise ValueError("Multiple matches found when deserializing the JSON string into TweetUnion with oneOf schemas: Tweet, TweetTombstone, TweetUnavailable, TweetWithVisibilityResults. Details: " + ", ".join(error_messages))
|
|
179
|
+
raise ValueError("Multiple matches found when deserializing the JSON string into TweetUnion with oneOf schemas: Tweet, TweetPreviewDisplay, TweetTombstone, TweetUnavailable, TweetWithVisibilityResults. Details: " + ", ".join(error_messages))
|
|
161
180
|
elif match == 0:
|
|
162
181
|
# no match
|
|
163
|
-
raise ValueError("No match found when deserializing the JSON string into TweetUnion with oneOf schemas: Tweet, TweetTombstone, TweetUnavailable, TweetWithVisibilityResults. Details: " + ", ".join(error_messages))
|
|
182
|
+
raise ValueError("No match found when deserializing the JSON string into TweetUnion with oneOf schemas: Tweet, TweetPreviewDisplay, TweetTombstone, TweetUnavailable, TweetWithVisibilityResults. Details: " + ", ".join(error_messages))
|
|
164
183
|
else:
|
|
165
184
|
return instance
|
|
166
185
|
|
|
@@ -174,7 +193,7 @@ class TweetUnion(BaseModel):
|
|
|
174
193
|
else:
|
|
175
194
|
return json.dumps(self.actual_instance)
|
|
176
195
|
|
|
177
|
-
def to_dict(self) -> Optional[Union[Dict[str, Any], Tweet, TweetTombstone, TweetUnavailable, TweetWithVisibilityResults]]:
|
|
196
|
+
def to_dict(self) -> Optional[Union[Dict[str, Any], Tweet, TweetPreviewDisplay, TweetTombstone, TweetUnavailable, TweetWithVisibilityResults]]:
|
|
178
197
|
"""Returns the dict representation of the actual instance"""
|
|
179
198
|
if self.actual_instance is None:
|
|
180
199
|
return None
|
|
@@ -39,6 +39,7 @@ class TypeName(str, Enum):
|
|
|
39
39
|
TIMELINEMESSAGEPROMPT = 'TimelineMessagePrompt'
|
|
40
40
|
TIMELINECOMMUNITY = 'TimelineCommunity'
|
|
41
41
|
TWEETUNAVAILABLE = 'TweetUnavailable'
|
|
42
|
+
TWEETPREVIEWDISPLAY = 'TweetPreviewDisplay'
|
|
42
43
|
TWEET = 'Tweet'
|
|
43
44
|
USER = 'User'
|
|
44
45
|
USERUNAVAILABLE = 'UserUnavailable'
|
|
@@ -41,6 +41,7 @@ class User(BaseModel):
|
|
|
41
41
|
creator_subscriptions_count: Optional[StrictInt] = None
|
|
42
42
|
has_graduated_access: Optional[StrictBool] = None
|
|
43
43
|
has_hidden_likes_on_profile: Optional[StrictBool] = None
|
|
44
|
+
has_hidden_subscriptions_on_profile: Optional[StrictBool] = None
|
|
44
45
|
has_nft_avatar: Optional[StrictBool] = None
|
|
45
46
|
highlights_info: Optional[UserHighlightsInfo] = None
|
|
46
47
|
id: Annotated[str, Field(strict=True)]
|
|
@@ -58,7 +59,7 @@ class User(BaseModel):
|
|
|
58
59
|
tipjar_settings: Optional[UserTipJarSettings] = None
|
|
59
60
|
user_seed_tweet_count: Optional[StrictInt] = None
|
|
60
61
|
verification_info: Optional[UserVerificationInfo] = None
|
|
61
|
-
__properties: ClassVar[List[str]] = ["__typename", "affiliates_highlighted_label", "business_account", "creator_subscriptions_count", "has_graduated_access", "has_hidden_likes_on_profile", "has_nft_avatar", "highlights_info", "id", "is_blue_verified", "is_profile_translatable", "legacy", "legacy_extended_profile", "premium_gifting_eligible", "professional", "profile_image_shape", "rest_id", "super_follow_eligible", "super_followed_by", "super_following", "tipjar_settings", "user_seed_tweet_count", "verification_info"]
|
|
62
|
+
__properties: ClassVar[List[str]] = ["__typename", "affiliates_highlighted_label", "business_account", "creator_subscriptions_count", "has_graduated_access", "has_hidden_likes_on_profile", "has_hidden_subscriptions_on_profile", "has_nft_avatar", "highlights_info", "id", "is_blue_verified", "is_profile_translatable", "legacy", "legacy_extended_profile", "premium_gifting_eligible", "professional", "profile_image_shape", "rest_id", "super_follow_eligible", "super_followed_by", "super_following", "tipjar_settings", "user_seed_tweet_count", "verification_info"]
|
|
62
63
|
|
|
63
64
|
@field_validator('id')
|
|
64
65
|
def id_validate_regular_expression(cls, value):
|
|
@@ -156,6 +157,7 @@ class User(BaseModel):
|
|
|
156
157
|
"creator_subscriptions_count": obj.get("creator_subscriptions_count"),
|
|
157
158
|
"has_graduated_access": obj.get("has_graduated_access"),
|
|
158
159
|
"has_hidden_likes_on_profile": obj.get("has_hidden_likes_on_profile"),
|
|
160
|
+
"has_hidden_subscriptions_on_profile": obj.get("has_hidden_subscriptions_on_profile"),
|
|
159
161
|
"has_nft_avatar": obj.get("has_nft_avatar"),
|
|
160
162
|
"highlights_info": UserHighlightsInfo.from_dict(obj["highlights_info"]) if obj.get("highlights_info") is not None else None,
|
|
161
163
|
"id": obj.get("id"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
|
-
Name:
|
|
3
|
-
Version: 0.0.
|
|
2
|
+
Name: twitter_openapi_python_generated
|
|
3
|
+
Version: 0.0.28
|
|
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
|
|
14
|
-
Requires-Dist: python-dateutil
|
|
15
|
-
Requires-Dist: pydantic
|
|
16
|
-
Requires-Dist: typing-extensions
|
|
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=
|
|
2
|
-
twitter_openapi_python_generated/api_client.py,sha256=
|
|
1
|
+
twitter_openapi_python_generated/__init__.py,sha256=ajfgofTvhFSENA-acdUVlAt0JXFhulk-SEp0hsklNxo,28252
|
|
2
|
+
twitter_openapi_python_generated/api_client.py,sha256=M3q6Sb4onANhHIqFFJfHK7U3vXZNh56FiIp-_Sopq_o,27547
|
|
3
3
|
twitter_openapi_python_generated/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
twitter_openapi_python_generated/configuration.py,sha256=
|
|
4
|
+
twitter_openapi_python_generated/configuration.py,sha256=BDn9d7_ZPCe8zoQn0BSuuYjHjjsb3AiVMraHR3pdqi0,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
|
|
@@ -9,14 +9,14 @@ twitter_openapi_python_generated/api/__init__.py,sha256=zAml0EP4OMYX4VTZR71tgo7_
|
|
|
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
|
|
11
11
|
twitter_openapi_python_generated/api/post_api.py,sha256=Cm5DJ0bCAFt_gf7SrOiu3XBecASOdwtJEOKYmz7pTUc,98840
|
|
12
|
-
twitter_openapi_python_generated/api/tweet_api.py,sha256=
|
|
12
|
+
twitter_openapi_python_generated/api/tweet_api.py,sha256=aSlLf6ELiZhiuecTZIMGrZe5vyP17AZU8Al8gE8dVSE,132457
|
|
13
13
|
twitter_openapi_python_generated/api/user_api.py,sha256=iXddvjSKb1oe-ifLWkG3-TmMIzJRqt7IEOvQG6nZnBs,24784
|
|
14
14
|
twitter_openapi_python_generated/api/user_list_api.py,sha256=XbvUY44FaEAK7pD3F6Gwo4yVRaVDXPJhpR4h3vcCEFg,58814
|
|
15
15
|
twitter_openapi_python_generated/api/users_api.py,sha256=1Lgak85kiJqJ1sFk03t30YLbtrOuRiRYEzO43sjE8As,12673
|
|
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=S23DzSGkQS4niYyacwp3wVfuoE_GLYs_EIzm0vp8aZM,26847
|
|
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
|
|
@@ -46,13 +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=
|
|
50
|
-
twitter_openapi_python_generated/models/community_data.py,sha256=
|
|
49
|
+
twitter_openapi_python_generated/models/community_actions.py,sha256=wz_CivF0YQHXyCqBxhQy1p0NkqOrqJOrw86fCfDCfjc,5235
|
|
50
|
+
twitter_openapi_python_generated/models/community_data.py,sha256=YNm8j5phlLdgSO8u1pbjbVhKVZhv1YFuJ3jherio8Q4,10533
|
|
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/
|
|
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
|
|
54
55
|
twitter_openapi_python_generated/models/community_join_action_unavailable.py,sha256=XD7zimMPcOEwQLpHdtn6ow-fEsqBsoe5DqdlaCicPx0,3070
|
|
55
|
-
twitter_openapi_python_generated/models/community_join_action_union.py,sha256=T_0159VFhJAE8NmN1Tx17JIyvhlxUtEq_ErNkAhrxrQ,6866
|
|
56
56
|
twitter_openapi_python_generated/models/community_join_requests_result.py,sha256=BxIaM9FwWbhsYJ8R69_TdpBF-AEBCpvf2Dr_TZE_SNI,2611
|
|
57
57
|
twitter_openapi_python_generated/models/community_leave_action_result.py,sha256=C6dBpNIdFc1YE4DoogHUf2wL8nZzCnfodDvnEt8ZbM4,3042
|
|
58
58
|
twitter_openapi_python_generated/models/community_pin_action_result.py,sha256=xFAOrTPK-fQJ0KLKiQ5oBfEZCuwwctHZWqtAfbLBUGA,2599
|
|
@@ -102,6 +102,8 @@ twitter_openapi_python_generated/models/follow_response_data.py,sha256=krs2WNgDy
|
|
|
102
102
|
twitter_openapi_python_generated/models/follow_response_result.py,sha256=sHCxOgJda58Pa0lJBM6s_rMkPJ1Dw-QdHErBGLq6Tms,2988
|
|
103
103
|
twitter_openapi_python_generated/models/follow_response_user.py,sha256=mKkoUzNQuWoV2Imy8OvYcBBQIEcmLWs19KNy7zKohb0,2795
|
|
104
104
|
twitter_openapi_python_generated/models/follow_timeline.py,sha256=Fm26Qx9BYPUYIlBePyIRVBcEda0Kylq122IfNu4qB_k,2747
|
|
105
|
+
twitter_openapi_python_generated/models/grok_share_attachment.py,sha256=EPwFnC1HUbDaZgr6qwUO1RwPUtepq9LzaR2PO88CsGQ,2988
|
|
106
|
+
twitter_openapi_python_generated/models/grok_share_attachment_item.py,sha256=dCwkFV7DuUfUVCSDW2raZWI58AQqA7kgXGjSdW0Vkd4,2586
|
|
105
107
|
twitter_openapi_python_generated/models/highlight.py,sha256=bU4tIKRm64kBgN_RK-JcO1-kKk40vJW9jhtxuOkCHUc,3060
|
|
106
108
|
twitter_openapi_python_generated/models/home_timeline_home.py,sha256=CgGGHrEXo-Ni5cudgnpmGnOViPnO9e5cp-BYUsAwvqg,2836
|
|
107
109
|
twitter_openapi_python_generated/models/home_timeline_response_data.py,sha256=9g0PantOvcqM2lxHUru80uBkRESOfrji2B51erB8UJ8,2812
|
|
@@ -109,6 +111,7 @@ twitter_openapi_python_generated/models/instruction_type.py,sha256=yHqW19Qi5vTZT
|
|
|
109
111
|
twitter_openapi_python_generated/models/instruction_union.py,sha256=JQqqWrBGr8DYR_i20EeNSd9oYslgNluP75tcJ0nE_sA,12637
|
|
110
112
|
twitter_openapi_python_generated/models/item_content_union.py,sha256=ydIen7sX8lgTppoDeczyyivNfErTfauQt08fSjDhKhs,10234
|
|
111
113
|
twitter_openapi_python_generated/models/item_result.py,sha256=Xriw7CidSS3v-mncEOrIXte_0vqaPkVYxFUA4NQICHU,3050
|
|
114
|
+
twitter_openapi_python_generated/models/limited_action_results_data.py,sha256=lM4VZYgo6kgDenhQbgZB6X4vMouAJLlcV0yyDTyuT5w,3153
|
|
112
115
|
twitter_openapi_python_generated/models/list_latest_tweets_timeline_response.py,sha256=ZmHwx2v7kTHkvvwkXCGXHkNm1R2-CxVlkwZjjAfSSr4,3440
|
|
113
116
|
twitter_openapi_python_generated/models/list_tweets_timeline.py,sha256=n_ddz5cdlN5acVd4Wm6vvzTAOsJMHAx353l3_h721cc,2790
|
|
114
117
|
twitter_openapi_python_generated/models/list_tweets_timeline_data.py,sha256=ETVGqakKfAhMcqz77RKjuhX3ud3jjpFmbQ6fIXfoccE,2829
|
|
@@ -202,13 +205,14 @@ twitter_openapi_python_generated/models/timeline_timeline_cursor.py,sha256=gv9zZ
|
|
|
202
205
|
twitter_openapi_python_generated/models/timeline_timeline_item.py,sha256=O9igAZqrbrgyPbG2G3isXCcctvoowBUnAG85F3Xly2w,3970
|
|
203
206
|
twitter_openapi_python_generated/models/timeline_timeline_module.py,sha256=HDDAS2uc4oMPEAmcBhOLQWbx6-a9hftQEHiWaNyNoI8,4449
|
|
204
207
|
twitter_openapi_python_generated/models/timeline_topic_context.py,sha256=OegTLFoDnbTovUtawZHgf4T5DR2MdM0DQSxpjODdKao,3509
|
|
205
|
-
twitter_openapi_python_generated/models/timeline_tweet.py,sha256=
|
|
208
|
+
twitter_openapi_python_generated/models/timeline_tweet.py,sha256=NnMwhU6GODC5ZuZvADer4aySZWYklXaXJrftM4DJ3pw,5050
|
|
206
209
|
twitter_openapi_python_generated/models/timeline_user.py,sha256=WIGlZ9y9FzeFoLu8UzWdcNI2m2R3a0-zvhKpRFC6j20,4217
|
|
207
210
|
twitter_openapi_python_generated/models/timeline_v2.py,sha256=kIlescfRjFd1i2mDsKILeL5NGbIWxWoglurpdxCT_3E,2758
|
|
208
211
|
twitter_openapi_python_generated/models/timestamp.py,sha256=JmgcLa7HXbPD3I0u34x3lV4wg4Ims7aqeFd0yZC5js8,2594
|
|
209
212
|
twitter_openapi_python_generated/models/topic_context.py,sha256=7K6F_kT9R3-4OaJEGtMVIFQe4vQ497c_u8yUaT_ALWs,3080
|
|
210
213
|
twitter_openapi_python_generated/models/tracing.py,sha256=dvT8WY1xkGErHd9bKuR98fTFjCnYvhvbM-uW1ec3-k0,2807
|
|
211
|
-
twitter_openapi_python_generated/models/
|
|
214
|
+
twitter_openapi_python_generated/models/trend_results.py,sha256=dxQ0wsvrjs_SBcDxpYE84er3hDUfxaPEAYcKPn4XmTg,2809
|
|
215
|
+
twitter_openapi_python_generated/models/tweet.py,sha256=dvqQsCm-AOHUxMjxdn3Wmvs8rcLBkpnsPQ4Y_gJ-URY,13181
|
|
212
216
|
twitter_openapi_python_generated/models/tweet_card.py,sha256=_OjlOlrYy_09iYiO6ESjNdSvZ1C5FD83Q648rZ0eJFY,2871
|
|
213
217
|
twitter_openapi_python_generated/models/tweet_card_legacy.py,sha256=Iv1RyjtS7obk0TWKGFvVr24qnVncN0LKfnCHwTqfJj0,4453
|
|
214
218
|
twitter_openapi_python_generated/models/tweet_card_legacy_binding_value.py,sha256=GX7u_b_TL_5wXjZMtRB04uQql9JkDWBDZ79JSraAvi8,2941
|
|
@@ -232,6 +236,12 @@ twitter_openapi_python_generated/models/tweet_interstitial_text_entity.py,sha256
|
|
|
232
236
|
twitter_openapi_python_generated/models/tweet_interstitial_text_entity_ref.py,sha256=2YhkMJlEwj5L8GuflTCBTZZI2TmIfu-QzomZCRbV-Sg,3193
|
|
233
237
|
twitter_openapi_python_generated/models/tweet_legacy.py,sha256=EIu_v3pgUfeQJ169cuO8IexOW_n09-AzRybIiTYWCBg,11723
|
|
234
238
|
twitter_openapi_python_generated/models/tweet_legacy_scopes.py,sha256=cpULC2VexihU9qA5rMHJDzR2Beu9iQ1iXqav4cM6a0o,2477
|
|
239
|
+
twitter_openapi_python_generated/models/tweet_limited_action_results.py,sha256=_2EPfn6OzcFj5jXSIj_MDyebZqVcEi_pJOlcVV13UxI,3136
|
|
240
|
+
twitter_openapi_python_generated/models/tweet_preview_display.py,sha256=8a9dkGrNrIAhKlhLKUrdF6MOVUvJaT2aQUFy5Uwip0c,3970
|
|
241
|
+
twitter_openapi_python_generated/models/tweet_preview_display_cta.py,sha256=CWgtFik08KNrpbMw6Rycx4QFM8Z4UMnhosGZk9J5d-s,2886
|
|
242
|
+
twitter_openapi_python_generated/models/tweet_preview_display_cta_url.py,sha256=N63VmDlgaZrLr3jHHvTa0JEO2c80_aLoy1s5LAud1-U,2917
|
|
243
|
+
twitter_openapi_python_generated/models/tweet_preview_display_tweet.py,sha256=dKDNb3XayeHsQ08dhAEbEQoRwyllHFX0fNG8Dcxm0f0,5166
|
|
244
|
+
twitter_openapi_python_generated/models/tweet_preview_display_tweet_view_count.py,sha256=7tPwQZYWF15h_ilk6QurtIbVTBK1T_qxsBWAzmGQ_Sc,2881
|
|
235
245
|
twitter_openapi_python_generated/models/tweet_previous_counts.py,sha256=1Bn_LbzXF5jzS6ohh7cxTi9TeKupb2GWlHdZtf3Opvg,2895
|
|
236
246
|
twitter_openapi_python_generated/models/tweet_result_by_rest_id_data.py,sha256=1AVd5A7ieKS_llaLt7r9CGUVe60CpDnwu_WUAhL_Qfg,2893
|
|
237
247
|
twitter_openapi_python_generated/models/tweet_result_by_rest_id_response.py,sha256=3y6QenuM-dLMupNMd8L86fqSM2EfYI8XQLF4wVzxV0M,3426
|
|
@@ -239,17 +249,17 @@ twitter_openapi_python_generated/models/tweet_retweeters_response.py,sha256=wKYf
|
|
|
239
249
|
twitter_openapi_python_generated/models/tweet_retweeters_response_data.py,sha256=1hSKS3QcKUQ-PwhkKc4OKbU4NJ9abCdcBrWYebtm_AY,2934
|
|
240
250
|
twitter_openapi_python_generated/models/tweet_tombstone.py,sha256=DSFqfydUwNY0uAdcCTnCRgAHfS16exIm5HndxSmYmrE,3188
|
|
241
251
|
twitter_openapi_python_generated/models/tweet_unavailable.py,sha256=Kv9bSrKIOj1o8-APZsYdg8973Zv8qFsSI6BWbSDPeMU,2702
|
|
242
|
-
twitter_openapi_python_generated/models/tweet_union.py,sha256=
|
|
252
|
+
twitter_openapi_python_generated/models/tweet_union.py,sha256=G-JbR8YurkcCzUmlkOshLliX0scQf_SAaFn50QU6yYM,9197
|
|
243
253
|
twitter_openapi_python_generated/models/tweet_view.py,sha256=v4_oJaSdMmELaGV-8kRxlTY0TDBuGmNQgW4SqfTZHG4,3223
|
|
244
254
|
twitter_openapi_python_generated/models/tweet_with_visibility_results.py,sha256=rrJpjig_F74MyXJHEdtiZAkQ8Le7wCC5R8hnuv9k6cc,4454
|
|
245
|
-
twitter_openapi_python_generated/models/type_name.py,sha256=
|
|
255
|
+
twitter_openapi_python_generated/models/type_name.py,sha256=c2GL3LtWQaKErDBNw67qWMVUWzlFTQ-SmJewEQFIo1A,1974
|
|
246
256
|
twitter_openapi_python_generated/models/unfavorite_tweet.py,sha256=BdbFDu-0E3VprCfIupdgkpoHBo1VFwfWeV5Y7EwfVPc,2522
|
|
247
257
|
twitter_openapi_python_generated/models/unfavorite_tweet_response.py,sha256=DlVCIy2bysAvU8sQ-hb8JQVtQgZ1k80yB8vgSSewnDo,3374
|
|
248
258
|
twitter_openapi_python_generated/models/unified_card.py,sha256=Pg3HjE0YsfZBkBjaOGkh9MhaqQQ7FWhGxE-ryFjp7W8,2755
|
|
249
259
|
twitter_openapi_python_generated/models/url.py,sha256=N-SE7P4q9CmnZgWoWnI5xwznwO_NhiOhYFB5gOi9h4U,2706
|
|
250
260
|
twitter_openapi_python_generated/models/urt_endpoint_options.py,sha256=axAqNMYa0zizbE2lilQI184EQfcHtrhEXHOpokgCzyo,3209
|
|
251
261
|
twitter_openapi_python_generated/models/urt_endpoint_request_params.py,sha256=j6OTVZlDz8uvmt-EfSMU5ztZzna-4TMKK_gDKOX4e8A,2548
|
|
252
|
-
twitter_openapi_python_generated/models/user.py,sha256=
|
|
262
|
+
twitter_openapi_python_generated/models/user.py,sha256=59YGgPJ8uK2V5RYXbK1K5moHp89Op_RwH-FrEEpT-is,9020
|
|
253
263
|
twitter_openapi_python_generated/models/user_features.py,sha256=nyZ62PyKh60SRjsU8Y7wM4gg3Dmdx7lpID7AaVVjqds,2517
|
|
254
264
|
twitter_openapi_python_generated/models/user_highlights_info.py,sha256=1BUkqYU1W-LL9w-cJitJIEi_hge57Yu2pf6f4Ovvie4,2657
|
|
255
265
|
twitter_openapi_python_generated/models/user_highlights_tweets_data.py,sha256=fF7GZTI9YyaVPlcSFin0agKVzHUUal1yNNXPM-xFcO0,2845
|
|
@@ -284,9 +294,9 @@ twitter_openapi_python_generated/models/user_verification_info_reason_descriptio
|
|
|
284
294
|
twitter_openapi_python_generated/models/user_verification_info_reason_description_entities_ref.py,sha256=di6U-pbh04SsZ2dZjyB2rZrnyJraU_ZjLFau8_IHKwI,2926
|
|
285
295
|
twitter_openapi_python_generated/models/users_response.py,sha256=UGep5Yb1SGXGVIMABf0DhrIuDMLKwCf69QYpNjlr5rQ,3343
|
|
286
296
|
twitter_openapi_python_generated/models/users_response_data.py,sha256=XTiDXvnyT5hBzzI8Dqs_vM5EoTJchlCOLaM_A2XVQhc,2957
|
|
287
|
-
twitter_openapi_python_generated-0.0.
|
|
288
|
-
twitter_openapi_python_generated-0.0.
|
|
289
|
-
twitter_openapi_python_generated-0.0.
|
|
290
|
-
twitter_openapi_python_generated-0.0.
|
|
291
|
-
twitter_openapi_python_generated-0.0.
|
|
292
|
-
twitter_openapi_python_generated-0.0.
|
|
297
|
+
twitter_openapi_python_generated-0.0.28.dist-info/LICENSE,sha256=xthyYzrtSmRlBu2gnfuIxzsZeHrqtIZgZPL9UPrYiQU,1524
|
|
298
|
+
twitter_openapi_python_generated-0.0.28.dist-info/LICENSE.AGPL,sha256=Nv6u1ubULm-E2y6q2-pQPK8s2BzkOltLaVlPKQ3tkcs,35182
|
|
299
|
+
twitter_openapi_python_generated-0.0.28.dist-info/METADATA,sha256=kkBMIfCHrit4XGif0gMvXr1YK71zVWkjbJ8zmITNkWs,637
|
|
300
|
+
twitter_openapi_python_generated-0.0.28.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
301
|
+
twitter_openapi_python_generated-0.0.28.dist-info/top_level.txt,sha256=_HJ3iFAuiS8tEZxA90EesWYeEj6OB4-sNr_c8tj1uWg,33
|
|
302
|
+
twitter_openapi_python_generated-0.0.28.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|