twitter-openapi-python-generated 0.0.19__py3-none-any.whl → 0.0.20__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.
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "0.0.19"
18
+ __version__ = "0.0.20"
19
19
 
20
20
  # import apis into sdk package
21
21
  from twitter_openapi_python_generated.api.default_api import DefaultApi
@@ -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.19/python'
94
+ self.user_agent = 'OpenAPI-Generator/0.0.20/python'
95
95
  self.client_side_validation = configuration.client_side_validation
96
96
 
97
97
  def __enter__(self):
@@ -583,7 +583,7 @@ conf = twitter_openapi_python_generated.Configuration(
583
583
  "OS: {env}\n"\
584
584
  "Python Version: {pyversion}\n"\
585
585
  "Version of the API: 0.0.1\n"\
586
- "SDK Package Version: 0.0.19".\
586
+ "SDK Package Version: 0.0.20".\
587
587
  format(env=sys.platform, pyversion=sys.version)
588
588
 
589
589
  def get_host_settings(self):
@@ -30,7 +30,7 @@ class PostCreateTweetRequestVariables(BaseModel):
30
30
  PostCreateTweetRequestVariables
31
31
  """ # noqa: E501
32
32
  dark_request: StrictBool
33
- disallowed_reply_options: StrictBool
33
+ disallowed_reply_options: Optional[Dict[str, Any]] = None
34
34
  media: PostCreateTweetRequestVariablesMedia
35
35
  reply: Optional[PostCreateTweetRequestVariablesReply] = None
36
36
  semantic_annotation_ids: List[Dict[str, Any]]
@@ -95,7 +95,7 @@ class PostCreateTweetRequestVariables(BaseModel):
95
95
 
96
96
  _obj = cls.model_validate({
97
97
  "dark_request": obj.get("dark_request") if obj.get("dark_request") is not None else False,
98
- "disallowed_reply_options": obj.get("disallowed_reply_options") if obj.get("disallowed_reply_options") is not None else False,
98
+ "disallowed_reply_options": obj.get("disallowed_reply_options"),
99
99
  "media": PostCreateTweetRequestVariablesMedia.from_dict(obj["media"]) if obj.get("media") is not None else None,
100
100
  "reply": PostCreateTweetRequestVariablesReply.from_dict(obj["reply"]) if obj.get("reply") is not None else None,
101
101
  "semantic_annotation_ids": obj.get("semantic_annotation_ids"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: twitter_openapi_python_generated
3
- Version: 0.0.19
3
+ Version: 0.0.20
4
4
  Summary: Twitter OpenAPI
5
5
  Home-page: https://github.com/fa0311/twitter_openapi_python_generated
6
6
  Author: OpenAPI Generator community
@@ -1,7 +1,7 @@
1
- twitter_openapi_python_generated/__init__.py,sha256=8mnJsug7Cgfxbkxd8yz3Xb9sEdsGZVyex7B3vaGELNQ,29184
2
- twitter_openapi_python_generated/api_client.py,sha256=0_KSvzpg2OuXfqoaSX9jFbQ3d3m4QjN8cDVypCzB8ug,27153
1
+ twitter_openapi_python_generated/__init__.py,sha256=MV1XRHFELi1JW4aF8Kb-sZgy0Vmb2q8inHWFk6vM0dw,29184
2
+ twitter_openapi_python_generated/api_client.py,sha256=P2K0NsFOaoCGvitgfE7pXRoAlz9bBmS500YQDKsOeMk,27153
3
3
  twitter_openapi_python_generated/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- twitter_openapi_python_generated/configuration.py,sha256=ZmQ8A7ZRf-_1ukIrcKR0csOkKzxJvXKIgQkr2GQm4Qs,21885
4
+ twitter_openapi_python_generated/configuration.py,sha256=1ThGq3fdQsUjS05FadAvWjHiTc0d3CdwLVSu7_v9Ilo,21885
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=Ktfv-wkaDYypmnjVg5SgH9eUzm9mWlCLs3RYbmcaL3M,9397
@@ -158,7 +158,7 @@ twitter_openapi_python_generated/models/post_create_retweet_request_variables.py
158
158
  twitter_openapi_python_generated/models/post_create_tweet200_response.py,sha256=FctYnkPFuzJZn8KHPcXYUTATg3MHIjkgZ9OzSFzYaTI,5367
159
159
  twitter_openapi_python_generated/models/post_create_tweet_request.py,sha256=GsMn1yqosCXNm5L4dU-cIOrdZlWydKhyUQ-wc8BHhEE,3541
160
160
  twitter_openapi_python_generated/models/post_create_tweet_request_features.py,sha256=TaoQhdIXKX-m35nQT3ULTFTFsfH6ggTDOoTYE0B0lcc,9012
161
- twitter_openapi_python_generated/models/post_create_tweet_request_variables.py,sha256=YKeMUSQvVavG9XW45HMRV54FJVC_SrjMPReibRgzdU0,4071
161
+ twitter_openapi_python_generated/models/post_create_tweet_request_variables.py,sha256=V0N9aLfpLqN1MeJudwJMq2DYhf9O8cgXkfSBJxDnZeY,4030
162
162
  twitter_openapi_python_generated/models/post_create_tweet_request_variables_media.py,sha256=dsxdP5xOBQD2uE4thDFcQe36AmecbmaSrHGyLnep1BM,3483
163
163
  twitter_openapi_python_generated/models/post_create_tweet_request_variables_media_media_entities_inner.py,sha256=0YJQdjVRAdeJq-LUBWQSAIhdzozWh9d8zgRha4QmQQw,2789
164
164
  twitter_openapi_python_generated/models/post_create_tweet_request_variables_reply.py,sha256=KZBICwtskaKf6ZN2UZKtd8AytTAiBWANl_V8j6AoTrc,2817
@@ -302,9 +302,9 @@ twitter_openapi_python_generated/models/user_verification_info_reason_descriptio
302
302
  twitter_openapi_python_generated/models/user_verification_info_reason_description_entities_ref.py,sha256=di6U-pbh04SsZ2dZjyB2rZrnyJraU_ZjLFau8_IHKwI,2926
303
303
  twitter_openapi_python_generated/models/users_response.py,sha256=ayZuqzBdIIQPP5ENpkDz5Jk_skcKxVnoHhjr9vJoqxk,2745
304
304
  twitter_openapi_python_generated/models/users_response_data.py,sha256=kVzorz4jxERUhVSUKe6MTHN_IOzG26uVkei_z5ubB74,2930
305
- twitter_openapi_python_generated-0.0.19.dist-info/LICENSE,sha256=xthyYzrtSmRlBu2gnfuIxzsZeHrqtIZgZPL9UPrYiQU,1524
306
- twitter_openapi_python_generated-0.0.19.dist-info/LICENSE.AGPL,sha256=Nv6u1ubULm-E2y6q2-pQPK8s2BzkOltLaVlPKQ3tkcs,35182
307
- twitter_openapi_python_generated-0.0.19.dist-info/METADATA,sha256=v-KtAzSQ1w5CR6jSasZSPs0Krqe5YPq-A2YOGOhJhdE,630
308
- twitter_openapi_python_generated-0.0.19.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
309
- twitter_openapi_python_generated-0.0.19.dist-info/top_level.txt,sha256=_HJ3iFAuiS8tEZxA90EesWYeEj6OB4-sNr_c8tj1uWg,33
310
- twitter_openapi_python_generated-0.0.19.dist-info/RECORD,,
305
+ twitter_openapi_python_generated-0.0.20.dist-info/LICENSE,sha256=xthyYzrtSmRlBu2gnfuIxzsZeHrqtIZgZPL9UPrYiQU,1524
306
+ twitter_openapi_python_generated-0.0.20.dist-info/LICENSE.AGPL,sha256=Nv6u1ubULm-E2y6q2-pQPK8s2BzkOltLaVlPKQ3tkcs,35182
307
+ twitter_openapi_python_generated-0.0.20.dist-info/METADATA,sha256=oWIf8Sb4MPDX_3JbaYlZtXasw9RfG_HJn_AYZPsjG_s,630
308
+ twitter_openapi_python_generated-0.0.20.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
309
+ twitter_openapi_python_generated-0.0.20.dist-info/top_level.txt,sha256=_HJ3iFAuiS8tEZxA90EesWYeEj6OB4-sNr_c8tj1uWg,33
310
+ twitter_openapi_python_generated-0.0.20.dist-info/RECORD,,