twitter-openapi-python-generated 0.1.7__py3-none-any.whl → 0.1.8__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.1.7"
18
+ __version__ = "0.1.8"
19
19
 
20
20
  # Define package exports
21
21
  __all__ = [
@@ -92,7 +92,7 @@ class ApiClient:
92
92
  self.default_headers[header_name] = header_value
93
93
  self.cookie = cookie
94
94
  # Set default User-Agent.
95
- self.user_agent = 'OpenAPI-Generator/0.1.7/python'
95
+ self.user_agent = 'OpenAPI-Generator/0.1.8/python'
96
96
  self.client_side_validation = configuration.client_side_validation
97
97
 
98
98
  def __enter__(self):
@@ -802,7 +802,7 @@ conf = twitter_openapi_python_generated.Configuration(
802
802
  "OS: {env}\n"\
803
803
  "Python Version: {pyversion}\n"\
804
804
  "Version of the API: 0.0.1\n"\
805
- "SDK Package Version: 0.1.7".\
805
+ "SDK Package Version: 0.1.8".\
806
806
  format(env=sys.platform, pyversion=sys.version)
807
807
 
808
808
  def get_host_settings(self) -> List[HostSetting]:
@@ -53,10 +53,10 @@ class AudioSpaceMetadata(BaseModel):
53
53
  scheduled_start: Optional[StrictInt] = None
54
54
  started_at: StrictInt
55
55
  state: StrictStr
56
- title: StrictStr
56
+ title: Optional[StrictStr] = None
57
57
  total_live_listeners: StrictInt
58
58
  total_replay_watched: StrictInt
59
- tweet_results: ItemResult
59
+ tweet_results: Optional[ItemResult] = None
60
60
  updated_at: StrictInt
61
61
  __properties: ClassVar[List[str]] = ["content_type", "conversation_controls", "created_at", "creator_results", "disallow_join", "ended_at", "is_employee_only", "is_locked", "is_muted", "is_space_available_for_clipping", "is_space_available_for_replay", "max_admin_capacity", "max_guest_sessions", "media_key", "mentioned_users", "narrow_cast_space_type", "no_incognito", "rest_id", "scheduled_start", "started_at", "state", "title", "total_live_listeners", "total_replay_watched", "tweet_results", "updated_at"]
62
62
 
@@ -38,8 +38,8 @@ class BirdwatchEntityRef(BaseModel):
38
38
  @field_validator('type')
39
39
  def type_validate_enum(cls, value):
40
40
  """Validates the enum"""
41
- if value not in set(['TimelineUrl', 'TimelineRichTextHashtag']):
42
- raise ValueError("must be one of enum values ('TimelineUrl', 'TimelineRichTextHashtag')")
41
+ if value not in set(['TimelineUrl', 'TimelineRichTextHashtag', 'TimelineRichTextCashtag']):
42
+ raise ValueError("must be one of enum values ('TimelineUrl', 'TimelineRichTextHashtag', 'TimelineRichTextCashtag')")
43
43
  return value
44
44
 
45
45
  @field_validator('url_type')
@@ -35,7 +35,7 @@ class TweetSportsCompetitor(BaseModel):
35
35
  is_winner: StrictBool
36
36
  logo_url: StrictStr
37
37
  name: StrictStr
38
- score: Optional[StrictStr]
38
+ score: Optional[StrictStr] = None
39
39
  team_rest_id: TweetSportsRestId
40
40
  __properties: ClassVar[List[str]] = ["abbreviation", "dark_logo_url", "is_active", "is_winner", "logo_url", "name", "score", "team_rest_id"]
41
41
 
@@ -81,11 +81,6 @@ class TweetSportsCompetitor(BaseModel):
81
81
  # override the default output from pydantic by calling `to_dict()` of team_rest_id
82
82
  if self.team_rest_id:
83
83
  _dict['team_rest_id'] = self.team_rest_id.to_dict()
84
- # set to None if score (nullable) is None
85
- # and model_fields_set contains the field
86
- if self.score is None and "score" in self.model_fields_set:
87
- _dict['score'] = None
88
-
89
84
  return _dict
90
85
 
91
86
  @classmethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: twitter_openapi_python_generated
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: Twitter OpenAPI
5
5
  Home-page: https://github.com/fa0311/twitter_openapi_python_generated
6
6
  Author: OpenAPI Generator community
@@ -26,7 +26,7 @@ Twitter OpenAPI(Swagger) specification
26
26
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
27
27
 
28
28
  - API version: 0.0.1
29
- - Package version: 0.1.7
29
+ - Package version: 0.1.8
30
30
  - Generator version: 7.26.0
31
31
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
32
32
 
@@ -1,7 +1,7 @@
1
- twitter_openapi_python_generated/__init__.py,sha256=_xiflRloNzMdCV23c4Ah6Ji29sMNsCist-YFkI6kRMM,104342
2
- twitter_openapi_python_generated/api_client.py,sha256=gcJjhqq_Fo8DSpgdpJFOOHU9Z_6TWtOowUEvSKjDNDY,30318
1
+ twitter_openapi_python_generated/__init__.py,sha256=boQA0lRsybqPpSX5VMh1agzVfU2SlaC35T1U_dyKbjs,104342
2
+ twitter_openapi_python_generated/api_client.py,sha256=9M0gRvn3fwFRS_M5J4SuuesypBpkh8xDK2rMQFZxKNY,30318
3
3
  twitter_openapi_python_generated/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- twitter_openapi_python_generated/configuration.py,sha256=5_V9V0RwDLGyvRfyer_KsLUunuTYyNugZHbepkw-bZE,30429
4
+ twitter_openapi_python_generated/configuration.py,sha256=HNh6GP4Ak5iXjyf15ao5ZJpN4CYuRpD4EoPpo0JRXBk,30429
5
5
  twitter_openapi_python_generated/exceptions.py,sha256=IYSFUKI8C6RiiwvycQmKNk95-EpnSt20MPcKsV99H94,6493
6
6
  twitter_openapi_python_generated/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  twitter_openapi_python_generated/rest.py,sha256=M0HonDqQJ4DHWZXbWztNZ58EvQw9eiEdKt9zCIlQVvg,12335
@@ -65,7 +65,7 @@ twitter_openapi_python_generated/models/article_results.py,sha256=4QyytlS9KOMmzH
65
65
  twitter_openapi_python_generated/models/audio_space.py,sha256=GdIIw_pbiim9bftDwGGw0vRDb3c34-JkNIUWMnZ7olw,3814
66
66
  twitter_openapi_python_generated/models/audio_space_data.py,sha256=-ztIo7s_KyTnu-r472h153YevhfO6gPZwZHN7ylwDRM,2817
67
67
  twitter_openapi_python_generated/models/audio_space_mentioned_user.py,sha256=0zjNovju3Es9Xc9rf7MFJ5iAv6seeh4GaGUlGjsNe4w,2899
68
- twitter_openapi_python_generated/models/audio_space_metadata.py,sha256=x7hMoDi9u8jq4Ko_iFnOzdPRppOsn8SN64JiobCnmL4,7026
68
+ twitter_openapi_python_generated/models/audio_space_metadata.py,sha256=2-V5xwcV8yb0okk8eK7hc3UiHrU8ABm2XrORLhkngbg,7060
69
69
  twitter_openapi_python_generated/models/audio_space_participant.py,sha256=r6yGEd26wBM_AQKiIua9lPQYOXBvaW9vQmciYJGakLw,3803
70
70
  twitter_openapi_python_generated/models/audio_space_participant_user.py,sha256=DGDNUFTFSYyUtyl3u6dvQL4UmYSPnq8uQFu4GxFtyDk,4049
71
71
  twitter_openapi_python_generated/models/audio_space_participant_user_results.py,sha256=DGsfKO1JoiCOolomZk2k_BT8t2-0-_4v0p-0eazN8Qg,3368
@@ -79,7 +79,7 @@ twitter_openapi_python_generated/models/author_community_relationship.py,sha256=
79
79
  twitter_openapi_python_generated/models/badge_counts.py,sha256=T4QIQ7i-8KKKquRKEasikvUfRPS82yHuQ5BZ5zW-aYw,2944
80
80
  twitter_openapi_python_generated/models/birdwatch_alias_self_select_status.py,sha256=KJczLo2JfZg-e1N1hrwlZuyuej8fpfCPTQsNbUKAHko,2635
81
81
  twitter_openapi_python_generated/models/birdwatch_entity.py,sha256=DJosneW2zqRSFK8IvtNRKt4Np0q3ykmt7wOOXKumH6U,2986
82
- twitter_openapi_python_generated/models/birdwatch_entity_ref.py,sha256=XuhUNM-ggnFydE5tJ3kJIgeUoQ-HGuBVYcqF3IEakPo,3535
82
+ twitter_openapi_python_generated/models/birdwatch_entity_ref.py,sha256=7BK1S3cYFYgZMF6wCrD5V-CYl_8K4UdCXvFbEJ5Wx4g,3589
83
83
  twitter_openapi_python_generated/models/birdwatch_fetch_alias_self_select_status_response.py,sha256=ayDKAjHrzCyYNBL5z9c3WSTwBNiODmuV_scsuOzPK1U,3593
84
84
  twitter_openapi_python_generated/models/birdwatch_fetch_alias_self_select_status_response_data.py,sha256=2u2yEqYRNpOht_z-j5ejIgChm54i5fGBL5HvjLCzDhU,3380
85
85
  twitter_openapi_python_generated/models/birdwatch_fetch_authenticated_user_profile_response.py,sha256=uSzbRl_4OU2Ml-4isdp-1Cv3h9qn4l_cTDJ7RadlEwA,3616
@@ -592,7 +592,7 @@ twitter_openapi_python_generated/models/tweet_result_by_rest_id_data.py,sha256=Y
592
592
  twitter_openapi_python_generated/models/tweet_result_by_rest_id_response.py,sha256=RZYdc8G5UXZu5LtYPzJgikYcP1zafjDajFcbX0v5FgY,3431
593
593
  twitter_openapi_python_generated/models/tweet_retweeters_response.py,sha256=c7-d_x22RuH5eWGfZVQlsiG4HaUMvngvAO4g18i94iQ,3429
594
594
  twitter_openapi_python_generated/models/tweet_retweeters_response_data.py,sha256=ATLIjm5Uy7Dap2KQvCs4Wypu6lgw-kmQuodKhy9--l0,2954
595
- twitter_openapi_python_generated/models/tweet_sports_competitor.py,sha256=WTYvH6ET0g_cQfXyyTZB8r8j2oI1qqoWBh4E5z0V70o,3685
595
+ twitter_openapi_python_generated/models/tweet_sports_competitor.py,sha256=3Shnz2kmKAwafTxDTHr2mJcRfl7dE89LM5N3N2-pfQw,3489
596
596
  twitter_openapi_python_generated/models/tweet_sports_post_context.py,sha256=k2oWOg7xGio6BEPUqQCj7b8-TPR6BKRY7r11ADfoHOw,4394
597
597
  twitter_openapi_python_generated/models/tweet_sports_rest_id.py,sha256=Ca7OaB5Q6DFtRmnt9kQ5N78n2xCA5srxbJxtY0VUouA,2875
598
598
  twitter_openapi_python_generated/models/tweet_tombstone.py,sha256=w8dIGbVNn5FfjikUWKdqLFESBIQlg4-9Km9Kc4m4_AI,3192
@@ -684,9 +684,9 @@ twitter_openapi_python_generated/models/viewer_badge_counts_response_data.py,sha
684
684
  twitter_openapi_python_generated/models/viewer_badge_counts_result.py,sha256=CoYJbW7phDZ6X2-tuOkvmZuw77f1gJdIOyjxWzTDHJg,3028
685
685
  twitter_openapi_python_generated/models/viewer_badge_counts_user_results.py,sha256=F-CXzKd5wVILmshdLyRtZfRRtJoOhcbqaoePas_WPEM,2852
686
686
  twitter_openapi_python_generated/models/viewer_badge_counts_viewer.py,sha256=umuP2ac2AlbPvk8jAa1w3LrbKZxUXBOjuqiZKbn4qco,2907
687
- twitter_openapi_python_generated-0.1.7.dist-info/licenses/LICENSE,sha256=sLv8EMhrPCMG_LeweYvYKS_B-cDMBwBSKZel7LSMGAs,1493
688
- twitter_openapi_python_generated-0.1.7.dist-info/licenses/LICENSE.AGPL,sha256=TfPDBt3ar0uv_f9cqCDMZ5rIzW3CY8anRRd4PkL6ejs,34522
689
- twitter_openapi_python_generated-0.1.7.dist-info/METADATA,sha256=6WZc7NCUDpe8-k1EB2sSwASMNJ1bREOKVDGmpkjZ8W0,64406
690
- twitter_openapi_python_generated-0.1.7.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
691
- twitter_openapi_python_generated-0.1.7.dist-info/top_level.txt,sha256=_HJ3iFAuiS8tEZxA90EesWYeEj6OB4-sNr_c8tj1uWg,33
692
- twitter_openapi_python_generated-0.1.7.dist-info/RECORD,,
687
+ twitter_openapi_python_generated-0.1.8.dist-info/licenses/LICENSE,sha256=sLv8EMhrPCMG_LeweYvYKS_B-cDMBwBSKZel7LSMGAs,1493
688
+ twitter_openapi_python_generated-0.1.8.dist-info/licenses/LICENSE.AGPL,sha256=TfPDBt3ar0uv_f9cqCDMZ5rIzW3CY8anRRd4PkL6ejs,34522
689
+ twitter_openapi_python_generated-0.1.8.dist-info/METADATA,sha256=z9BrTwln4fs2tktbitlKVmGfxhdyRD8ZT-3feedfj2M,64406
690
+ twitter_openapi_python_generated-0.1.8.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
691
+ twitter_openapi_python_generated-0.1.8.dist-info/top_level.txt,sha256=_HJ3iFAuiS8tEZxA90EesWYeEj6OB4-sNr_c8tj1uWg,33
692
+ twitter_openapi_python_generated-0.1.8.dist-info/RECORD,,