Skip to content

Commit 0227d74

Browse files
committed
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
1 parent 37bba20 commit 0227d74

4 files changed

Lines changed: 11 additions & 16 deletions

File tree

twitter_openapi_python_generated/docs/UserLegacy.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
1515
**entities** | **Dict[str, object]** | |
1616
**fast_followers_count** | **int** | |
1717
**favourites_count** | **int** | | [default to 0]
18-
**follow_request_sent** | **bool** | | [default to False]
19-
**followed_by** | **bool** | | [default to False]
18+
**follow_request_sent** | **bool** | | [optional] [default to False]
19+
**followed_by** | **bool** | | [optional] [default to False]
2020
**followers_count** | **int** | | [default to 0]
21-
**following** | **bool** | | [default to False]
21+
**following** | **bool** | | [optional] [default to False]
2222
**friends_count** | **int** | | [default to 0]
2323
**has_custom_timelines** | **bool** | | [default to False]
2424
**is_translator** | **bool** | | [default to False]
@@ -28,15 +28,15 @@ Name | Type | Description | Notes
2828
**muting** | **bool** | | [default to False]
2929
**name** | **str** | |
3030
**normal_followers_count** | **int** | | [default to 0]
31-
**notifications** | **bool** | | [default to False]
31+
**notifications** | **bool** | | [optional] [default to False]
3232
**pinned_tweet_ids_str** | **List[str]** | |
3333
**possibly_sensitive** | **bool** | | [default to False]
3434
**profile_banner_extensions** | **object** | | [optional]
3535
**profile_banner_url** | **str** | | [optional]
3636
**profile_image_extensions** | **object** | | [optional]
3737
**profile_image_url_https** | **str** | |
3838
**profile_interstitial_type** | **str** | |
39-
**protected** | **bool** | | [default to False]
39+
**protected** | **bool** | | [optional] [default to False]
4040
**screen_name** | **str** | |
4141
**statuses_count** | **int** | | [default to 0]
4242
**translator_type** | **str** | |

twitter_openapi_python_generated/test/test_user_legacy.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,7 @@ def make_instance(self, include_optional):
9494
entities = { },
9595
fast_followers_count = 56,
9696
favourites_count = 56,
97-
follow_request_sent = True,
98-
followed_by = True,
9997
followers_count = 56,
100-
following = True,
10198
friends_count = 56,
10299
has_custom_timelines = True,
103100
is_translator = True,
@@ -107,14 +104,12 @@ def make_instance(self, include_optional):
107104
muting = True,
108105
name = '',
109106
normal_followers_count = 56,
110-
notifications = True,
111107
pinned_tweet_ids_str = [
112108
''
113109
],
114110
possibly_sensitive = True,
115111
profile_image_url_https = '',
116112
profile_interstitial_type = '',
117-
protected = True,
118113
screen_name = '',
119114
statuses_count = 56,
120115
translator_type = '',

twitter_openapi_python_generated/twitter_openapi_python_generated/models/user_legacy.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ class UserLegacy(BaseModel):
3737
entities: Dict[str, Any] = Field(...)
3838
fast_followers_count: StrictInt = Field(...)
3939
favourites_count: StrictInt = Field(...)
40-
follow_request_sent: StrictBool = Field(...)
41-
followed_by: StrictBool = Field(...)
40+
follow_request_sent: Optional[StrictBool] = False
41+
followed_by: Optional[StrictBool] = False
4242
followers_count: StrictInt = Field(...)
43-
following: StrictBool = Field(...)
43+
following: Optional[StrictBool] = False
4444
friends_count: StrictInt = Field(...)
4545
has_custom_timelines: StrictBool = Field(...)
4646
is_translator: StrictBool = Field(...)
@@ -50,15 +50,15 @@ class UserLegacy(BaseModel):
5050
muting: StrictBool = Field(...)
5151
name: StrictStr = Field(...)
5252
normal_followers_count: StrictInt = Field(...)
53-
notifications: StrictBool = Field(...)
53+
notifications: Optional[StrictBool] = False
5454
pinned_tweet_ids_str: conlist(StrictStr) = Field(...)
5555
possibly_sensitive: StrictBool = Field(...)
5656
profile_banner_extensions: Optional[Dict[str, Any]] = None
5757
profile_banner_url: Optional[StrictStr] = None
5858
profile_image_extensions: Optional[Dict[str, Any]] = None
5959
profile_image_url_https: StrictStr = Field(...)
6060
profile_interstitial_type: StrictStr = Field(...)
61-
protected: StrictBool = Field(...)
61+
protected: Optional[StrictBool] = False
6262
screen_name: StrictStr = Field(...)
6363
statuses_count: StrictInt = Field(...)
6464
translator_type: StrictStr = Field(...)

0 commit comments

Comments
 (0)