twitter-openapi-python-generated 0.0.34__py3-none-any.whl → 0.1.0__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 +279 -7
- twitter_openapi_python_generated/api/post_api.py +2079 -203
- twitter_openapi_python_generated/api/tweet_api.py +3207 -231
- twitter_openapi_python_generated/api/user_api.py +969 -66
- twitter_openapi_python_generated/api/user_list_api.py +1907 -0
- twitter_openapi_python_generated/api_client.py +47 -9
- twitter_openapi_python_generated/configuration.py +55 -6
- twitter_openapi_python_generated/models/__init__.py +139 -3
- twitter_openapi_python_generated/models/ad_metadata_container.py +104 -0
- twitter_openapi_python_generated/models/additional_media_info.py +3 -1
- twitter_openapi_python_generated/models/affiliates_highlighted_label.py +93 -0
- twitter_openapi_python_generated/models/api_image.py +108 -0
- twitter_openapi_python_generated/models/api_media.py +110 -0
- twitter_openapi_python_generated/models/article_cover_media.py +2 -5
- twitter_openapi_python_generated/models/article_cover_media_info.py +3 -3
- twitter_openapi_python_generated/models/article_result.py +3 -7
- twitter_openapi_python_generated/models/badge_counts.py +97 -0
- twitter_openapi_python_generated/models/birdwatch_entity_ref.py +3 -1
- twitter_openapi_python_generated/models/birdwatch_pivot.py +2 -2
- twitter_openapi_python_generated/models/birdwatch_pivot_footer.py +1 -2
- twitter_openapi_python_generated/models/birdwatch_pivot_note.py +2 -5
- twitter_openapi_python_generated/models/birdwatch_pivot_subtitle.py +1 -2
- twitter_openapi_python_generated/models/bookmarks_response.py +1 -2
- twitter_openapi_python_generated/models/cashtag_attachment.py +89 -0
- twitter_openapi_python_generated/models/cashtag_info.py +93 -0
- twitter_openapi_python_generated/models/click_tracking_info.py +96 -0
- twitter_openapi_python_generated/models/client_event_info.py +6 -2
- twitter_openapi_python_generated/models/client_event_info_details.py +99 -0
- twitter_openapi_python_generated/models/community.py +21 -15
- twitter_openapi_python_generated/models/community_about_timeline_response.py +1 -2
- twitter_openapi_python_generated/models/community_banner_media.py +95 -0
- twitter_openapi_python_generated/models/community_banner_media_info.py +108 -0
- twitter_openapi_python_generated/models/community_discovery_timeline_response.py +102 -0
- twitter_openapi_python_generated/models/community_discovery_timeline_response_data.py +93 -0
- twitter_openapi_python_generated/models/community_discovery_timeline_viewer.py +93 -0
- twitter_openapi_python_generated/models/community_join_action_result_union.py +3 -2
- twitter_openapi_python_generated/models/community_media_timeline_response.py +1 -2
- twitter_openapi_python_generated/models/community_moderation_state.py +90 -0
- twitter_openapi_python_generated/models/community_relationship.py +8 -7
- twitter_openapi_python_generated/models/community_rule.py +2 -5
- twitter_openapi_python_generated/models/community_tweets_timeline_response.py +1 -2
- twitter_openapi_python_generated/models/community_union.py +3 -2
- twitter_openapi_python_generated/models/community_viewer_relationship.py +95 -0
- twitter_openapi_python_generated/models/connect_tab_timeline_response.py +102 -0
- twitter_openapi_python_generated/models/connect_tab_timeline_response_data.py +93 -0
- twitter_openapi_python_generated/models/content_disclosure_ai_generated_disclosure.py +2 -2
- twitter_openapi_python_generated/models/content_item_type.py +3 -0
- twitter_openapi_python_generated/models/content_union.py +3 -2
- twitter_openapi_python_generated/models/conversation_control.py +10 -11
- twitter_openapi_python_generated/models/conversation_details.py +96 -0
- twitter_openapi_python_generated/models/conversation_metadata.py +92 -0
- twitter_openapi_python_generated/models/conversation_owner.py +96 -0
- twitter_openapi_python_generated/models/conversation_owner_core.py +89 -0
- twitter_openapi_python_generated/models/conversation_owner_results.py +93 -0
- twitter_openapi_python_generated/models/cover_cta.py +1 -2
- twitter_openapi_python_generated/models/create_bookmark_response.py +1 -2
- twitter_openapi_python_generated/models/create_draft_tweet_response.py +102 -0
- twitter_openapi_python_generated/models/create_draft_tweet_response_data.py +93 -0
- twitter_openapi_python_generated/models/create_draft_tweet_response_tweet.py +97 -0
- twitter_openapi_python_generated/models/create_retweet_response.py +1 -2
- twitter_openapi_python_generated/models/create_tweet_response.py +1 -2
- twitter_openapi_python_generated/models/cta_limited_action_prompt.py +110 -0
- twitter_openapi_python_generated/models/cta_limited_action_prompt_text.py +91 -0
- twitter_openapi_python_generated/models/deepsearch_header.py +96 -0
- twitter_openapi_python_generated/models/deepsearch_step.py +99 -0
- twitter_openapi_python_generated/models/deepsearch_web_result.py +89 -0
- twitter_openapi_python_generated/models/delete_bookmark_response.py +1 -2
- twitter_openapi_python_generated/models/delete_draft_tweets_response.py +102 -0
- twitter_openapi_python_generated/models/delete_draft_tweets_response_data.py +89 -0
- twitter_openapi_python_generated/models/delete_list_response.py +102 -0
- twitter_openapi_python_generated/models/delete_list_response_data.py +89 -0
- twitter_openapi_python_generated/models/delete_retweet.py +1 -2
- twitter_openapi_python_generated/models/delete_retweet_response.py +1 -2
- twitter_openapi_python_generated/models/delete_tweet_response.py +1 -2
- twitter_openapi_python_generated/models/draft_list.py +96 -0
- twitter_openapi_python_generated/models/draft_tweet.py +109 -0
- twitter_openapi_python_generated/models/draft_tweet_create_request.py +99 -0
- twitter_openapi_python_generated/models/draft_tweet_user.py +100 -0
- twitter_openapi_python_generated/models/draft_tweet_user_results.py +93 -0
- twitter_openapi_python_generated/models/draft_tweets_viewer.py +93 -0
- twitter_openapi_python_generated/models/entities.py +34 -15
- twitter_openapi_python_generated/models/error_extensions.py +1 -1
- twitter_openapi_python_generated/models/error_response.py +3 -5
- twitter_openapi_python_generated/models/explore_page.py +95 -0
- twitter_openapi_python_generated/models/explore_page_body.py +104 -0
- twitter_openapi_python_generated/models/explore_page_response.py +102 -0
- twitter_openapi_python_generated/models/explore_page_response_data.py +93 -0
- twitter_openapi_python_generated/models/explore_timeline.py +105 -0
- twitter_openapi_python_generated/models/explore_timeline_scribe_config.py +91 -0
- twitter_openapi_python_generated/models/extended_entities.py +1 -2
- twitter_openapi_python_generated/models/favorite_tweet_response.py +1 -2
- twitter_openapi_python_generated/models/feedback_action.py +136 -0
- twitter_openapi_python_generated/models/feedback_action_entry.py +95 -0
- twitter_openapi_python_generated/models/feedback_client_event_info.py +93 -0
- twitter_openapi_python_generated/models/feedback_info.py +8 -6
- twitter_openapi_python_generated/models/fetch_draft_tweets_response.py +102 -0
- twitter_openapi_python_generated/models/fetch_draft_tweets_response_data.py +93 -0
- twitter_openapi_python_generated/models/fetch_scheduled_tweets_response.py +102 -0
- twitter_openapi_python_generated/models/fetch_scheduled_tweets_response_data.py +93 -0
- twitter_openapi_python_generated/models/follow_response.py +1 -2
- twitter_openapi_python_generated/models/generic_timeline_by_id_response.py +102 -0
- twitter_openapi_python_generated/models/generic_timeline_by_id_response_data.py +93 -0
- twitter_openapi_python_generated/models/grok_share_attachment.py +1 -2
- twitter_openapi_python_generated/models/grok_share_attachment_item.py +9 -2
- twitter_openapi_python_generated/models/grok_translated_bio.py +101 -0
- twitter_openapi_python_generated/models/grok_translated_bio_with_availability.py +97 -0
- twitter_openapi_python_generated/models/grok_translated_community_note.py +1 -2
- twitter_openapi_python_generated/models/hashtag.py +91 -0
- twitter_openapi_python_generated/models/highlight.py +1 -2
- twitter_openapi_python_generated/models/instruction_union.py +3 -2
- twitter_openapi_python_generated/models/item_content_union.py +68 -10
- twitter_openapi_python_generated/models/jetfuel_attachment.py +91 -0
- twitter_openapi_python_generated/models/key_value.py +91 -0
- twitter_openapi_python_generated/models/landing_url.py +98 -0
- twitter_openapi_python_generated/models/limited_action.py +95 -0
- twitter_openapi_python_generated/models/limited_action_results.py +96 -0
- twitter_openapi_python_generated/models/limited_action_results_data.py +1 -8
- twitter_openapi_python_generated/models/list_banner_media.py +93 -0
- twitter_openapi_python_generated/models/list_banner_media_info.py +99 -0
- twitter_openapi_python_generated/models/list_banner_media_results.py +93 -0
- twitter_openapi_python_generated/models/list_latest_tweets_timeline_response.py +1 -2
- twitter_openapi_python_generated/models/list_members_list.py +93 -0
- twitter_openapi_python_generated/models/list_members_response.py +102 -0
- twitter_openapi_python_generated/models/list_members_response_data.py +93 -0
- twitter_openapi_python_generated/models/list_recommended_users_list.py +93 -0
- twitter_openapi_python_generated/models/list_recommended_users_response.py +102 -0
- twitter_openapi_python_generated/models/list_recommended_users_response_data.py +93 -0
- twitter_openapi_python_generated/models/list_response.py +102 -0
- twitter_openapi_python_generated/models/list_response_data.py +93 -0
- twitter_openapi_python_generated/models/list_subscribers_list.py +93 -0
- twitter_openapi_python_generated/models/list_subscribers_response.py +102 -0
- twitter_openapi_python_generated/models/list_subscribers_response_data.py +93 -0
- twitter_openapi_python_generated/models/media.py +16 -17
- twitter_openapi_python_generated/models/{article_cover_media_color_info.py → media_color_info.py} +8 -9
- twitter_openapi_python_generated/models/{article_cover_media_color_info_palette.py → media_color_info_palette.py} +7 -7
- twitter_openapi_python_generated/models/{article_cover_media_color_info_palette_rgb.py → media_color_info_palette_rgb.py} +4 -4
- twitter_openapi_python_generated/models/media_extended.py +13 -16
- twitter_openapi_python_generated/models/media_original_info.py +1 -2
- twitter_openapi_python_generated/models/media_salient_rect.py +95 -0
- twitter_openapi_python_generated/models/media_video_info.py +1 -2
- twitter_openapi_python_generated/models/module_footer.py +104 -0
- twitter_openapi_python_generated/models/module_header.py +100 -0
- twitter_openapi_python_generated/models/module_item.py +2 -5
- twitter_openapi_python_generated/models/module_metadata.py +93 -0
- twitter_openapi_python_generated/models/note_tweet_result_data.py +2 -5
- twitter_openapi_python_generated/models/note_tweet_result_media.py +1 -2
- twitter_openapi_python_generated/models/note_tweet_result_media_inline_media.py +2 -5
- twitter_openapi_python_generated/models/note_tweet_result_rich_text.py +1 -2
- twitter_openapi_python_generated/models/notifications_result.py +2 -5
- twitter_openapi_python_generated/models/notifications_timeline_response.py +1 -2
- twitter_openapi_python_generated/models/post_create_bookmark_request.py +1 -1
- twitter_openapi_python_generated/models/post_create_bookmark_request_variables.py +2 -2
- twitter_openapi_python_generated/models/post_create_draft_tweet_request.py +95 -0
- twitter_openapi_python_generated/models/post_create_draft_tweet_request_variables.py +93 -0
- twitter_openapi_python_generated/models/post_create_draft_tweet_request_variables_post_tweet_request.py +97 -0
- twitter_openapi_python_generated/models/post_create_list_request.py +101 -0
- twitter_openapi_python_generated/models/post_create_list_request_features.py +97 -0
- twitter_openapi_python_generated/models/post_create_list_request_variables.py +93 -0
- twitter_openapi_python_generated/models/post_create_retweet_request.py +1 -1
- twitter_openapi_python_generated/models/post_create_retweet_request_variables.py +3 -3
- twitter_openapi_python_generated/models/post_create_tweet_request.py +2 -2
- twitter_openapi_python_generated/models/post_create_tweet_request_features.py +43 -41
- twitter_openapi_python_generated/models/post_create_tweet_request_variables.py +4 -4
- twitter_openapi_python_generated/models/post_create_tweet_request_variables_conversation_control.py +2 -2
- twitter_openapi_python_generated/models/post_create_tweet_request_variables_media.py +3 -4
- twitter_openapi_python_generated/models/post_create_tweet_request_variables_media_media_entities_inner.py +2 -2
- twitter_openapi_python_generated/models/post_create_tweet_request_variables_reply.py +2 -2
- twitter_openapi_python_generated/models/post_cta_title_text.py +1 -2
- twitter_openapi_python_generated/models/post_delete_bookmark_request.py +1 -1
- twitter_openapi_python_generated/models/post_delete_draft_tweets_request.py +95 -0
- twitter_openapi_python_generated/models/post_delete_draft_tweets_request_variables.py +89 -0
- twitter_openapi_python_generated/models/post_delete_list_request.py +95 -0
- twitter_openapi_python_generated/models/post_delete_list_request_variables.py +89 -0
- twitter_openapi_python_generated/models/post_delete_retweet_request.py +1 -1
- twitter_openapi_python_generated/models/post_delete_retweet_request_variables.py +3 -3
- twitter_openapi_python_generated/models/post_delete_tweet_request.py +2 -2
- twitter_openapi_python_generated/models/post_favorite_tweet_request.py +1 -1
- twitter_openapi_python_generated/models/post_list_add_member_request.py +101 -0
- twitter_openapi_python_generated/models/post_list_add_member_request_variables.py +91 -0
- twitter_openapi_python_generated/models/post_list_remove_member_request.py +101 -0
- twitter_openapi_python_generated/models/post_unfavorite_tweet_request.py +1 -1
- twitter_openapi_python_generated/models/primary_community_topic.py +2 -5
- twitter_openapi_python_generated/models/profile_bio.py +11 -3
- twitter_openapi_python_generated/models/profile_bio_entities.py +98 -0
- twitter_openapi_python_generated/models/profile_bio_entities_urls.py +96 -0
- twitter_openapi_python_generated/models/profile_response.py +1 -2
- twitter_openapi_python_generated/models/promoted_metadata.py +109 -0
- twitter_openapi_python_generated/models/reader_mode_config.py +89 -0
- twitter_openapi_python_generated/models/retweet.py +4 -7
- twitter_openapi_python_generated/models/scheduled_tweets_viewer.py +89 -0
- twitter_openapi_python_generated/models/scribe_config.py +89 -0
- twitter_openapi_python_generated/models/search_timeline_response.py +1 -2
- twitter_openapi_python_generated/models/self_thread.py +2 -5
- twitter_openapi_python_generated/models/session.py +8 -20
- twitter_openapi_python_generated/models/smarttag_tag.py +6 -2
- twitter_openapi_python_generated/models/smarttag_tag_info.py +93 -0
- twitter_openapi_python_generated/models/social_context_union.py +3 -2
- twitter_openapi_python_generated/models/symbol.py +97 -0
- twitter_openapi_python_generated/models/text.py +1 -2
- twitter_openapi_python_generated/models/timeline.py +13 -6
- twitter_openapi_python_generated/models/timeline_add_entries.py +1 -2
- twitter_openapi_python_generated/models/timeline_add_entry.py +4 -10
- twitter_openapi_python_generated/models/timeline_add_to_module.py +1 -2
- twitter_openapi_python_generated/models/timeline_frame.py +97 -0
- twitter_openapi_python_generated/models/timeline_half_cover.py +1 -2
- twitter_openapi_python_generated/models/timeline_label.py +101 -0
- twitter_openapi_python_generated/models/timeline_mark_entries_unread_greater_than_sort_index.py +2 -5
- twitter_openapi_python_generated/models/timeline_metadata.py +99 -0
- twitter_openapi_python_generated/models/timeline_response.py +1 -2
- twitter_openapi_python_generated/models/timeline_response_objects.py +96 -0
- twitter_openapi_python_generated/models/timeline_show_alert.py +19 -18
- twitter_openapi_python_generated/models/timeline_show_alert_color_config.py +93 -0
- twitter_openapi_python_generated/models/timeline_show_alert_icon_display_info.py +91 -0
- twitter_openapi_python_generated/models/timeline_show_alert_rich_text.py +3 -3
- twitter_openapi_python_generated/models/timeline_timeline_item.py +6 -2
- twitter_openapi_python_generated/models/timeline_timeline_module.py +19 -8
- twitter_openapi_python_generated/models/timeline_trend.py +16 -4
- twitter_openapi_python_generated/models/timeline_tweet.py +6 -2
- twitter_openapi_python_generated/models/timeline_twitter_list.py +101 -0
- twitter_openapi_python_generated/models/timelines_details.py +93 -0
- twitter_openapi_python_generated/models/tombstone_rich_text.py +1 -2
- twitter_openapi_python_generated/models/tracing.py +2 -5
- twitter_openapi_python_generated/models/trend_metadata.py +4 -2
- twitter_openapi_python_generated/models/trend_results.py +2 -5
- twitter_openapi_python_generated/models/tweet.py +23 -6
- twitter_openapi_python_generated/models/tweet_card_legacy.py +2 -4
- twitter_openapi_python_generated/models/tweet_card_legacy_binding_value_data.py +6 -2
- twitter_openapi_python_generated/models/tweet_card_platform_device.py +2 -5
- twitter_openapi_python_generated/models/tweet_detail_response.py +1 -2
- twitter_openapi_python_generated/models/tweet_edit_control.py +6 -15
- twitter_openapi_python_generated/models/tweet_edit_control_initial.py +4 -10
- twitter_openapi_python_generated/models/tweet_favoriters_response.py +1 -2
- twitter_openapi_python_generated/models/tweet_interstitial_reveal_text.py +1 -2
- twitter_openapi_python_generated/models/tweet_interstitial_text.py +1 -2
- twitter_openapi_python_generated/models/tweet_legacy.py +21 -38
- twitter_openapi_python_generated/models/tweet_limited_action_results.py +1 -2
- twitter_openapi_python_generated/models/tweet_preview_display_tweet.py +5 -11
- twitter_openapi_python_generated/models/tweet_preview_display_tweet_view_count.py +2 -5
- twitter_openapi_python_generated/models/tweet_result_by_rest_id_response.py +1 -2
- twitter_openapi_python_generated/models/tweet_retweeters_response.py +1 -2
- twitter_openapi_python_generated/models/tweet_union.py +3 -2
- twitter_openapi_python_generated/models/tweet_view.py +2 -5
- twitter_openapi_python_generated/models/tweet_with_visibility_results.py +6 -2
- twitter_openapi_python_generated/models/twitter_list.py +160 -0
- twitter_openapi_python_generated/models/type_name.py +7 -0
- twitter_openapi_python_generated/models/unfavorite_tweet_response.py +1 -2
- twitter_openapi_python_generated/models/urt_endpoint_options.py +3 -4
- twitter_openapi_python_generated/models/user.py +81 -15
- twitter_openapi_python_generated/models/user_action_counts.py +89 -0
- twitter_openapi_python_generated/models/user_banner.py +89 -0
- twitter_openapi_python_generated/models/user_core.py +3 -6
- twitter_openapi_python_generated/models/user_highlights_tweets_response.py +1 -2
- twitter_openapi_python_generated/models/user_label.py +128 -0
- twitter_openapi_python_generated/models/user_label_badge.py +89 -0
- twitter_openapi_python_generated/models/user_label_mention_results.py +93 -0
- twitter_openapi_python_generated/models/user_label_mention_user.py +106 -0
- twitter_openapi_python_generated/models/user_label_mention_user_core.py +89 -0
- twitter_openapi_python_generated/models/user_label_text.py +98 -0
- twitter_openapi_python_generated/models/user_label_text_entity.py +97 -0
- twitter_openapi_python_generated/models/user_label_text_entity_ref.py +104 -0
- twitter_openapi_python_generated/models/user_label_url.py +98 -0
- twitter_openapi_python_generated/models/user_legacy.py +9 -8
- twitter_openapi_python_generated/models/user_mention.py +115 -0
- twitter_openapi_python_generated/models/user_notifications_settings.py +89 -0
- twitter_openapi_python_generated/models/user_pinned_items.py +90 -0
- twitter_openapi_python_generated/models/user_professional.py +10 -9
- twitter_openapi_python_generated/models/user_profile_metadata.py +89 -0
- twitter_openapi_python_generated/models/user_profile_translation.py +89 -0
- twitter_openapi_python_generated/models/user_relationship_counts.py +91 -0
- twitter_openapi_python_generated/models/user_relationship_perspectives.py +6 -2
- twitter_openapi_python_generated/models/user_response.py +1 -2
- twitter_openapi_python_generated/models/user_result_by_screen_name.py +2 -5
- twitter_openapi_python_generated/models/user_result_by_screen_name_result.py +8 -12
- twitter_openapi_python_generated/models/user_result_core.py +3 -1
- twitter_openapi_python_generated/models/user_results.py +3 -1
- twitter_openapi_python_generated/models/user_tweet_counts.py +91 -0
- twitter_openapi_python_generated/models/user_tweets_response.py +1 -2
- twitter_openapi_python_generated/models/user_union.py +6 -3
- twitter_openapi_python_generated/models/user_value.py +8 -9
- twitter_openapi_python_generated/models/user_verification_info_reason.py +2 -5
- twitter_openapi_python_generated/models/user_verification_info_reason_description.py +1 -2
- twitter_openapi_python_generated/models/user_website.py +89 -0
- twitter_openapi_python_generated/models/users_response.py +1 -2
- twitter_openapi_python_generated/models/users_response_data.py +1 -2
- twitter_openapi_python_generated/models/viewer_badge_counts_response.py +102 -0
- twitter_openapi_python_generated/models/viewer_badge_counts_response_data.py +93 -0
- twitter_openapi_python_generated/models/viewer_badge_counts_result.py +96 -0
- twitter_openapi_python_generated/models/viewer_badge_counts_user_results.py +93 -0
- twitter_openapi_python_generated/models/viewer_badge_counts_viewer.py +93 -0
- twitter_openapi_python_generated/rest.py +79 -8
- {twitter_openapi_python_generated-0.0.34.dist-info → twitter_openapi_python_generated-0.1.0.dist-info}/METADATA +980 -816
- {twitter_openapi_python_generated-0.0.34.dist-info → twitter_openapi_python_generated-0.1.0.dist-info}/RECORD +296 -160
- {twitter_openapi_python_generated-0.0.34.dist-info → twitter_openapi_python_generated-0.1.0.dist-info}/WHEEL +1 -1
- {twitter_openapi_python_generated-0.0.34.dist-info → twitter_openapi_python_generated-0.1.0.dist-info}/licenses/LICENSE +31 -31
- {twitter_openapi_python_generated-0.0.34.dist-info → twitter_openapi_python_generated-0.1.0.dist-info}/licenses/LICENSE.AGPL +660 -660
- {twitter_openapi_python_generated-0.0.34.dist-info → twitter_openapi_python_generated-0.1.0.dist-info}/top_level.txt +0 -0
|
@@ -18,8 +18,13 @@ from typing_extensions import Annotated
|
|
|
18
18
|
|
|
19
19
|
from pydantic import StrictStr
|
|
20
20
|
from twitter_openapi_python_generated.models.follow_response import FollowResponse
|
|
21
|
+
from twitter_openapi_python_generated.models.list_members_response import ListMembersResponse
|
|
22
|
+
from twitter_openapi_python_generated.models.list_recommended_users_response import ListRecommendedUsersResponse
|
|
23
|
+
from twitter_openapi_python_generated.models.list_response import ListResponse
|
|
24
|
+
from twitter_openapi_python_generated.models.list_subscribers_response import ListSubscribersResponse
|
|
21
25
|
from twitter_openapi_python_generated.models.tweet_favoriters_response import TweetFavoritersResponse
|
|
22
26
|
from twitter_openapi_python_generated.models.tweet_retweeters_response import TweetRetweetersResponse
|
|
27
|
+
from twitter_openapi_python_generated.models.user_tweets_response import UserTweetsResponse
|
|
23
28
|
|
|
24
29
|
from twitter_openapi_python_generated.api_client import ApiClient, RequestSerialized
|
|
25
30
|
from twitter_openapi_python_generated.api_response import ApiResponse
|
|
@@ -1624,6 +1629,1908 @@ class UserListApi:
|
|
|
1624
1629
|
|
|
1625
1630
|
|
|
1626
1631
|
|
|
1632
|
+
@validate_call
|
|
1633
|
+
def get_list_by_rest_id(
|
|
1634
|
+
self,
|
|
1635
|
+
path_query_id: StrictStr,
|
|
1636
|
+
variables: StrictStr,
|
|
1637
|
+
features: StrictStr,
|
|
1638
|
+
_request_timeout: Union[
|
|
1639
|
+
None,
|
|
1640
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1641
|
+
Tuple[
|
|
1642
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1643
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1644
|
+
]
|
|
1645
|
+
] = None,
|
|
1646
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1647
|
+
_content_type: Optional[StrictStr] = None,
|
|
1648
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1649
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1650
|
+
) -> ListResponse:
|
|
1651
|
+
"""get_list_by_rest_id
|
|
1652
|
+
|
|
1653
|
+
get list
|
|
1654
|
+
|
|
1655
|
+
:param path_query_id: (required)
|
|
1656
|
+
:type path_query_id: str
|
|
1657
|
+
:param variables: (required)
|
|
1658
|
+
:type variables: str
|
|
1659
|
+
:param features: (required)
|
|
1660
|
+
:type features: str
|
|
1661
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1662
|
+
number provided, it will be total request
|
|
1663
|
+
timeout. It can also be a pair (tuple) of
|
|
1664
|
+
(connection, read) timeouts.
|
|
1665
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1666
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1667
|
+
request; this effectively ignores the
|
|
1668
|
+
authentication in the spec for a single request.
|
|
1669
|
+
:type _request_auth: dict, optional
|
|
1670
|
+
:param _content_type: force content-type for the request.
|
|
1671
|
+
:type _content_type: str, Optional
|
|
1672
|
+
:param _headers: set to override the headers for a single
|
|
1673
|
+
request; this effectively ignores the headers
|
|
1674
|
+
in the spec for a single request.
|
|
1675
|
+
:type _headers: dict, optional
|
|
1676
|
+
:param _host_index: set to override the host_index for a single
|
|
1677
|
+
request; this effectively ignores the host_index
|
|
1678
|
+
in the spec for a single request.
|
|
1679
|
+
:type _host_index: int, optional
|
|
1680
|
+
:return: Returns the result object.
|
|
1681
|
+
""" # noqa: E501
|
|
1682
|
+
|
|
1683
|
+
_param = self._get_list_by_rest_id_serialize(
|
|
1684
|
+
path_query_id=path_query_id,
|
|
1685
|
+
variables=variables,
|
|
1686
|
+
features=features,
|
|
1687
|
+
_request_auth=_request_auth,
|
|
1688
|
+
_content_type=_content_type,
|
|
1689
|
+
_headers=_headers,
|
|
1690
|
+
_host_index=_host_index
|
|
1691
|
+
)
|
|
1692
|
+
|
|
1693
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1694
|
+
'200': "ListResponse",
|
|
1695
|
+
}
|
|
1696
|
+
response_data = self.api_client.call_api(
|
|
1697
|
+
*_param,
|
|
1698
|
+
_request_timeout=_request_timeout
|
|
1699
|
+
)
|
|
1700
|
+
response_data.read()
|
|
1701
|
+
return self.api_client.response_deserialize(
|
|
1702
|
+
response_data=response_data,
|
|
1703
|
+
response_types_map=_response_types_map,
|
|
1704
|
+
).data
|
|
1705
|
+
|
|
1706
|
+
|
|
1707
|
+
@validate_call
|
|
1708
|
+
def get_list_by_rest_id_with_http_info(
|
|
1709
|
+
self,
|
|
1710
|
+
path_query_id: StrictStr,
|
|
1711
|
+
variables: StrictStr,
|
|
1712
|
+
features: StrictStr,
|
|
1713
|
+
_request_timeout: Union[
|
|
1714
|
+
None,
|
|
1715
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1716
|
+
Tuple[
|
|
1717
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1718
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1719
|
+
]
|
|
1720
|
+
] = None,
|
|
1721
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1722
|
+
_content_type: Optional[StrictStr] = None,
|
|
1723
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1724
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1725
|
+
) -> ApiResponse[ListResponse]:
|
|
1726
|
+
"""get_list_by_rest_id
|
|
1727
|
+
|
|
1728
|
+
get list
|
|
1729
|
+
|
|
1730
|
+
:param path_query_id: (required)
|
|
1731
|
+
:type path_query_id: str
|
|
1732
|
+
:param variables: (required)
|
|
1733
|
+
:type variables: str
|
|
1734
|
+
:param features: (required)
|
|
1735
|
+
:type features: str
|
|
1736
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1737
|
+
number provided, it will be total request
|
|
1738
|
+
timeout. It can also be a pair (tuple) of
|
|
1739
|
+
(connection, read) timeouts.
|
|
1740
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1741
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1742
|
+
request; this effectively ignores the
|
|
1743
|
+
authentication in the spec for a single request.
|
|
1744
|
+
:type _request_auth: dict, optional
|
|
1745
|
+
:param _content_type: force content-type for the request.
|
|
1746
|
+
:type _content_type: str, Optional
|
|
1747
|
+
:param _headers: set to override the headers for a single
|
|
1748
|
+
request; this effectively ignores the headers
|
|
1749
|
+
in the spec for a single request.
|
|
1750
|
+
:type _headers: dict, optional
|
|
1751
|
+
:param _host_index: set to override the host_index for a single
|
|
1752
|
+
request; this effectively ignores the host_index
|
|
1753
|
+
in the spec for a single request.
|
|
1754
|
+
:type _host_index: int, optional
|
|
1755
|
+
:return: Returns the result object.
|
|
1756
|
+
""" # noqa: E501
|
|
1757
|
+
|
|
1758
|
+
_param = self._get_list_by_rest_id_serialize(
|
|
1759
|
+
path_query_id=path_query_id,
|
|
1760
|
+
variables=variables,
|
|
1761
|
+
features=features,
|
|
1762
|
+
_request_auth=_request_auth,
|
|
1763
|
+
_content_type=_content_type,
|
|
1764
|
+
_headers=_headers,
|
|
1765
|
+
_host_index=_host_index
|
|
1766
|
+
)
|
|
1767
|
+
|
|
1768
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1769
|
+
'200': "ListResponse",
|
|
1770
|
+
}
|
|
1771
|
+
response_data = self.api_client.call_api(
|
|
1772
|
+
*_param,
|
|
1773
|
+
_request_timeout=_request_timeout
|
|
1774
|
+
)
|
|
1775
|
+
response_data.read()
|
|
1776
|
+
return self.api_client.response_deserialize(
|
|
1777
|
+
response_data=response_data,
|
|
1778
|
+
response_types_map=_response_types_map,
|
|
1779
|
+
)
|
|
1780
|
+
|
|
1781
|
+
|
|
1782
|
+
@validate_call
|
|
1783
|
+
def get_list_by_rest_id_without_preload_content(
|
|
1784
|
+
self,
|
|
1785
|
+
path_query_id: StrictStr,
|
|
1786
|
+
variables: StrictStr,
|
|
1787
|
+
features: StrictStr,
|
|
1788
|
+
_request_timeout: Union[
|
|
1789
|
+
None,
|
|
1790
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1791
|
+
Tuple[
|
|
1792
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1793
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1794
|
+
]
|
|
1795
|
+
] = None,
|
|
1796
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1797
|
+
_content_type: Optional[StrictStr] = None,
|
|
1798
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1799
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1800
|
+
) -> RESTResponseType:
|
|
1801
|
+
"""get_list_by_rest_id
|
|
1802
|
+
|
|
1803
|
+
get list
|
|
1804
|
+
|
|
1805
|
+
:param path_query_id: (required)
|
|
1806
|
+
:type path_query_id: str
|
|
1807
|
+
:param variables: (required)
|
|
1808
|
+
:type variables: str
|
|
1809
|
+
:param features: (required)
|
|
1810
|
+
:type features: str
|
|
1811
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1812
|
+
number provided, it will be total request
|
|
1813
|
+
timeout. It can also be a pair (tuple) of
|
|
1814
|
+
(connection, read) timeouts.
|
|
1815
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1816
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1817
|
+
request; this effectively ignores the
|
|
1818
|
+
authentication in the spec for a single request.
|
|
1819
|
+
:type _request_auth: dict, optional
|
|
1820
|
+
:param _content_type: force content-type for the request.
|
|
1821
|
+
:type _content_type: str, Optional
|
|
1822
|
+
:param _headers: set to override the headers for a single
|
|
1823
|
+
request; this effectively ignores the headers
|
|
1824
|
+
in the spec for a single request.
|
|
1825
|
+
:type _headers: dict, optional
|
|
1826
|
+
:param _host_index: set to override the host_index for a single
|
|
1827
|
+
request; this effectively ignores the host_index
|
|
1828
|
+
in the spec for a single request.
|
|
1829
|
+
:type _host_index: int, optional
|
|
1830
|
+
:return: Returns the result object.
|
|
1831
|
+
""" # noqa: E501
|
|
1832
|
+
|
|
1833
|
+
_param = self._get_list_by_rest_id_serialize(
|
|
1834
|
+
path_query_id=path_query_id,
|
|
1835
|
+
variables=variables,
|
|
1836
|
+
features=features,
|
|
1837
|
+
_request_auth=_request_auth,
|
|
1838
|
+
_content_type=_content_type,
|
|
1839
|
+
_headers=_headers,
|
|
1840
|
+
_host_index=_host_index
|
|
1841
|
+
)
|
|
1842
|
+
|
|
1843
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1844
|
+
'200': "ListResponse",
|
|
1845
|
+
}
|
|
1846
|
+
response_data = self.api_client.call_api(
|
|
1847
|
+
*_param,
|
|
1848
|
+
_request_timeout=_request_timeout
|
|
1849
|
+
)
|
|
1850
|
+
return response_data.response
|
|
1851
|
+
|
|
1852
|
+
|
|
1853
|
+
def _get_list_by_rest_id_serialize(
|
|
1854
|
+
self,
|
|
1855
|
+
path_query_id,
|
|
1856
|
+
variables,
|
|
1857
|
+
features,
|
|
1858
|
+
_request_auth,
|
|
1859
|
+
_content_type,
|
|
1860
|
+
_headers,
|
|
1861
|
+
_host_index,
|
|
1862
|
+
) -> RequestSerialized:
|
|
1863
|
+
|
|
1864
|
+
_host = None
|
|
1865
|
+
|
|
1866
|
+
_collection_formats: Dict[str, str] = {
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
_path_params: Dict[str, str] = {}
|
|
1870
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1871
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1872
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1873
|
+
_files: Dict[
|
|
1874
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1875
|
+
] = {}
|
|
1876
|
+
_body_params: Optional[bytes] = None
|
|
1877
|
+
|
|
1878
|
+
# process the path parameters
|
|
1879
|
+
if path_query_id is not None:
|
|
1880
|
+
_path_params['pathQueryId'] = path_query_id
|
|
1881
|
+
# process the query parameters
|
|
1882
|
+
if variables is not None:
|
|
1883
|
+
|
|
1884
|
+
_query_params.append(('variables', variables))
|
|
1885
|
+
|
|
1886
|
+
if features is not None:
|
|
1887
|
+
|
|
1888
|
+
_query_params.append(('features', features))
|
|
1889
|
+
|
|
1890
|
+
# process the header parameters
|
|
1891
|
+
# process the form parameters
|
|
1892
|
+
# process the body parameter
|
|
1893
|
+
|
|
1894
|
+
|
|
1895
|
+
# set the HTTP header `Accept`
|
|
1896
|
+
if 'Accept' not in _header_params:
|
|
1897
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1898
|
+
[
|
|
1899
|
+
'application/json'
|
|
1900
|
+
]
|
|
1901
|
+
)
|
|
1902
|
+
|
|
1903
|
+
|
|
1904
|
+
# authentication setting
|
|
1905
|
+
_auth_settings: List[str] = [
|
|
1906
|
+
'Accept',
|
|
1907
|
+
'ClientLanguage',
|
|
1908
|
+
'Priority',
|
|
1909
|
+
'Referer',
|
|
1910
|
+
'SecFetchDest',
|
|
1911
|
+
'SecChUaPlatform',
|
|
1912
|
+
'SecFetchMode',
|
|
1913
|
+
'CsrfToken',
|
|
1914
|
+
'ClientUuid',
|
|
1915
|
+
'BearerAuth',
|
|
1916
|
+
'GuestToken',
|
|
1917
|
+
'SecChUa',
|
|
1918
|
+
'CookieGt0',
|
|
1919
|
+
'ClientTransactionId',
|
|
1920
|
+
'ActiveUser',
|
|
1921
|
+
'CookieCt0',
|
|
1922
|
+
'UserAgent',
|
|
1923
|
+
'AcceptLanguage',
|
|
1924
|
+
'SecFetchSite',
|
|
1925
|
+
'AuthType',
|
|
1926
|
+
'CookieAuthToken',
|
|
1927
|
+
'SecChUaMobile',
|
|
1928
|
+
'AcceptEncoding'
|
|
1929
|
+
]
|
|
1930
|
+
|
|
1931
|
+
return self.api_client.param_serialize(
|
|
1932
|
+
method='GET',
|
|
1933
|
+
resource_path='/graphql/{pathQueryId}/ListByRestId',
|
|
1934
|
+
path_params=_path_params,
|
|
1935
|
+
query_params=_query_params,
|
|
1936
|
+
header_params=_header_params,
|
|
1937
|
+
body=_body_params,
|
|
1938
|
+
post_params=_form_params,
|
|
1939
|
+
files=_files,
|
|
1940
|
+
auth_settings=_auth_settings,
|
|
1941
|
+
collection_formats=_collection_formats,
|
|
1942
|
+
_host=_host,
|
|
1943
|
+
_request_auth=_request_auth
|
|
1944
|
+
)
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+
|
|
1948
|
+
|
|
1949
|
+
@validate_call
|
|
1950
|
+
def get_list_creation_recommended_users(
|
|
1951
|
+
self,
|
|
1952
|
+
path_query_id: StrictStr,
|
|
1953
|
+
variables: StrictStr,
|
|
1954
|
+
features: StrictStr,
|
|
1955
|
+
_request_timeout: Union[
|
|
1956
|
+
None,
|
|
1957
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1958
|
+
Tuple[
|
|
1959
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1960
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1961
|
+
]
|
|
1962
|
+
] = None,
|
|
1963
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1964
|
+
_content_type: Optional[StrictStr] = None,
|
|
1965
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1966
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1967
|
+
) -> ListRecommendedUsersResponse:
|
|
1968
|
+
"""get_list_creation_recommended_users
|
|
1969
|
+
|
|
1970
|
+
get recommended members while creating a list
|
|
1971
|
+
|
|
1972
|
+
:param path_query_id: (required)
|
|
1973
|
+
:type path_query_id: str
|
|
1974
|
+
:param variables: (required)
|
|
1975
|
+
:type variables: str
|
|
1976
|
+
:param features: (required)
|
|
1977
|
+
:type features: str
|
|
1978
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1979
|
+
number provided, it will be total request
|
|
1980
|
+
timeout. It can also be a pair (tuple) of
|
|
1981
|
+
(connection, read) timeouts.
|
|
1982
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1983
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1984
|
+
request; this effectively ignores the
|
|
1985
|
+
authentication in the spec for a single request.
|
|
1986
|
+
:type _request_auth: dict, optional
|
|
1987
|
+
:param _content_type: force content-type for the request.
|
|
1988
|
+
:type _content_type: str, Optional
|
|
1989
|
+
:param _headers: set to override the headers for a single
|
|
1990
|
+
request; this effectively ignores the headers
|
|
1991
|
+
in the spec for a single request.
|
|
1992
|
+
:type _headers: dict, optional
|
|
1993
|
+
:param _host_index: set to override the host_index for a single
|
|
1994
|
+
request; this effectively ignores the host_index
|
|
1995
|
+
in the spec for a single request.
|
|
1996
|
+
:type _host_index: int, optional
|
|
1997
|
+
:return: Returns the result object.
|
|
1998
|
+
""" # noqa: E501
|
|
1999
|
+
|
|
2000
|
+
_param = self._get_list_creation_recommended_users_serialize(
|
|
2001
|
+
path_query_id=path_query_id,
|
|
2002
|
+
variables=variables,
|
|
2003
|
+
features=features,
|
|
2004
|
+
_request_auth=_request_auth,
|
|
2005
|
+
_content_type=_content_type,
|
|
2006
|
+
_headers=_headers,
|
|
2007
|
+
_host_index=_host_index
|
|
2008
|
+
)
|
|
2009
|
+
|
|
2010
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2011
|
+
'200': "ListRecommendedUsersResponse",
|
|
2012
|
+
}
|
|
2013
|
+
response_data = self.api_client.call_api(
|
|
2014
|
+
*_param,
|
|
2015
|
+
_request_timeout=_request_timeout
|
|
2016
|
+
)
|
|
2017
|
+
response_data.read()
|
|
2018
|
+
return self.api_client.response_deserialize(
|
|
2019
|
+
response_data=response_data,
|
|
2020
|
+
response_types_map=_response_types_map,
|
|
2021
|
+
).data
|
|
2022
|
+
|
|
2023
|
+
|
|
2024
|
+
@validate_call
|
|
2025
|
+
def get_list_creation_recommended_users_with_http_info(
|
|
2026
|
+
self,
|
|
2027
|
+
path_query_id: StrictStr,
|
|
2028
|
+
variables: StrictStr,
|
|
2029
|
+
features: StrictStr,
|
|
2030
|
+
_request_timeout: Union[
|
|
2031
|
+
None,
|
|
2032
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2033
|
+
Tuple[
|
|
2034
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2035
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2036
|
+
]
|
|
2037
|
+
] = None,
|
|
2038
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2039
|
+
_content_type: Optional[StrictStr] = None,
|
|
2040
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2041
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2042
|
+
) -> ApiResponse[ListRecommendedUsersResponse]:
|
|
2043
|
+
"""get_list_creation_recommended_users
|
|
2044
|
+
|
|
2045
|
+
get recommended members while creating a list
|
|
2046
|
+
|
|
2047
|
+
:param path_query_id: (required)
|
|
2048
|
+
:type path_query_id: str
|
|
2049
|
+
:param variables: (required)
|
|
2050
|
+
:type variables: str
|
|
2051
|
+
:param features: (required)
|
|
2052
|
+
:type features: str
|
|
2053
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2054
|
+
number provided, it will be total request
|
|
2055
|
+
timeout. It can also be a pair (tuple) of
|
|
2056
|
+
(connection, read) timeouts.
|
|
2057
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2058
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2059
|
+
request; this effectively ignores the
|
|
2060
|
+
authentication in the spec for a single request.
|
|
2061
|
+
:type _request_auth: dict, optional
|
|
2062
|
+
:param _content_type: force content-type for the request.
|
|
2063
|
+
:type _content_type: str, Optional
|
|
2064
|
+
:param _headers: set to override the headers for a single
|
|
2065
|
+
request; this effectively ignores the headers
|
|
2066
|
+
in the spec for a single request.
|
|
2067
|
+
:type _headers: dict, optional
|
|
2068
|
+
:param _host_index: set to override the host_index for a single
|
|
2069
|
+
request; this effectively ignores the host_index
|
|
2070
|
+
in the spec for a single request.
|
|
2071
|
+
:type _host_index: int, optional
|
|
2072
|
+
:return: Returns the result object.
|
|
2073
|
+
""" # noqa: E501
|
|
2074
|
+
|
|
2075
|
+
_param = self._get_list_creation_recommended_users_serialize(
|
|
2076
|
+
path_query_id=path_query_id,
|
|
2077
|
+
variables=variables,
|
|
2078
|
+
features=features,
|
|
2079
|
+
_request_auth=_request_auth,
|
|
2080
|
+
_content_type=_content_type,
|
|
2081
|
+
_headers=_headers,
|
|
2082
|
+
_host_index=_host_index
|
|
2083
|
+
)
|
|
2084
|
+
|
|
2085
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2086
|
+
'200': "ListRecommendedUsersResponse",
|
|
2087
|
+
}
|
|
2088
|
+
response_data = self.api_client.call_api(
|
|
2089
|
+
*_param,
|
|
2090
|
+
_request_timeout=_request_timeout
|
|
2091
|
+
)
|
|
2092
|
+
response_data.read()
|
|
2093
|
+
return self.api_client.response_deserialize(
|
|
2094
|
+
response_data=response_data,
|
|
2095
|
+
response_types_map=_response_types_map,
|
|
2096
|
+
)
|
|
2097
|
+
|
|
2098
|
+
|
|
2099
|
+
@validate_call
|
|
2100
|
+
def get_list_creation_recommended_users_without_preload_content(
|
|
2101
|
+
self,
|
|
2102
|
+
path_query_id: StrictStr,
|
|
2103
|
+
variables: StrictStr,
|
|
2104
|
+
features: StrictStr,
|
|
2105
|
+
_request_timeout: Union[
|
|
2106
|
+
None,
|
|
2107
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2108
|
+
Tuple[
|
|
2109
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2110
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2111
|
+
]
|
|
2112
|
+
] = None,
|
|
2113
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2114
|
+
_content_type: Optional[StrictStr] = None,
|
|
2115
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2116
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2117
|
+
) -> RESTResponseType:
|
|
2118
|
+
"""get_list_creation_recommended_users
|
|
2119
|
+
|
|
2120
|
+
get recommended members while creating a list
|
|
2121
|
+
|
|
2122
|
+
:param path_query_id: (required)
|
|
2123
|
+
:type path_query_id: str
|
|
2124
|
+
:param variables: (required)
|
|
2125
|
+
:type variables: str
|
|
2126
|
+
:param features: (required)
|
|
2127
|
+
:type features: str
|
|
2128
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2129
|
+
number provided, it will be total request
|
|
2130
|
+
timeout. It can also be a pair (tuple) of
|
|
2131
|
+
(connection, read) timeouts.
|
|
2132
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2133
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2134
|
+
request; this effectively ignores the
|
|
2135
|
+
authentication in the spec for a single request.
|
|
2136
|
+
:type _request_auth: dict, optional
|
|
2137
|
+
:param _content_type: force content-type for the request.
|
|
2138
|
+
:type _content_type: str, Optional
|
|
2139
|
+
:param _headers: set to override the headers for a single
|
|
2140
|
+
request; this effectively ignores the headers
|
|
2141
|
+
in the spec for a single request.
|
|
2142
|
+
:type _headers: dict, optional
|
|
2143
|
+
:param _host_index: set to override the host_index for a single
|
|
2144
|
+
request; this effectively ignores the host_index
|
|
2145
|
+
in the spec for a single request.
|
|
2146
|
+
:type _host_index: int, optional
|
|
2147
|
+
:return: Returns the result object.
|
|
2148
|
+
""" # noqa: E501
|
|
2149
|
+
|
|
2150
|
+
_param = self._get_list_creation_recommended_users_serialize(
|
|
2151
|
+
path_query_id=path_query_id,
|
|
2152
|
+
variables=variables,
|
|
2153
|
+
features=features,
|
|
2154
|
+
_request_auth=_request_auth,
|
|
2155
|
+
_content_type=_content_type,
|
|
2156
|
+
_headers=_headers,
|
|
2157
|
+
_host_index=_host_index
|
|
2158
|
+
)
|
|
2159
|
+
|
|
2160
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2161
|
+
'200': "ListRecommendedUsersResponse",
|
|
2162
|
+
}
|
|
2163
|
+
response_data = self.api_client.call_api(
|
|
2164
|
+
*_param,
|
|
2165
|
+
_request_timeout=_request_timeout
|
|
2166
|
+
)
|
|
2167
|
+
return response_data.response
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
def _get_list_creation_recommended_users_serialize(
|
|
2171
|
+
self,
|
|
2172
|
+
path_query_id,
|
|
2173
|
+
variables,
|
|
2174
|
+
features,
|
|
2175
|
+
_request_auth,
|
|
2176
|
+
_content_type,
|
|
2177
|
+
_headers,
|
|
2178
|
+
_host_index,
|
|
2179
|
+
) -> RequestSerialized:
|
|
2180
|
+
|
|
2181
|
+
_host = None
|
|
2182
|
+
|
|
2183
|
+
_collection_formats: Dict[str, str] = {
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
_path_params: Dict[str, str] = {}
|
|
2187
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2188
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2189
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2190
|
+
_files: Dict[
|
|
2191
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2192
|
+
] = {}
|
|
2193
|
+
_body_params: Optional[bytes] = None
|
|
2194
|
+
|
|
2195
|
+
# process the path parameters
|
|
2196
|
+
if path_query_id is not None:
|
|
2197
|
+
_path_params['pathQueryId'] = path_query_id
|
|
2198
|
+
# process the query parameters
|
|
2199
|
+
if variables is not None:
|
|
2200
|
+
|
|
2201
|
+
_query_params.append(('variables', variables))
|
|
2202
|
+
|
|
2203
|
+
if features is not None:
|
|
2204
|
+
|
|
2205
|
+
_query_params.append(('features', features))
|
|
2206
|
+
|
|
2207
|
+
# process the header parameters
|
|
2208
|
+
# process the form parameters
|
|
2209
|
+
# process the body parameter
|
|
2210
|
+
|
|
2211
|
+
|
|
2212
|
+
# set the HTTP header `Accept`
|
|
2213
|
+
if 'Accept' not in _header_params:
|
|
2214
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2215
|
+
[
|
|
2216
|
+
'application/json'
|
|
2217
|
+
]
|
|
2218
|
+
)
|
|
2219
|
+
|
|
2220
|
+
|
|
2221
|
+
# authentication setting
|
|
2222
|
+
_auth_settings: List[str] = [
|
|
2223
|
+
'Accept',
|
|
2224
|
+
'ClientLanguage',
|
|
2225
|
+
'Priority',
|
|
2226
|
+
'Referer',
|
|
2227
|
+
'SecFetchDest',
|
|
2228
|
+
'SecChUaPlatform',
|
|
2229
|
+
'SecFetchMode',
|
|
2230
|
+
'CsrfToken',
|
|
2231
|
+
'ClientUuid',
|
|
2232
|
+
'BearerAuth',
|
|
2233
|
+
'GuestToken',
|
|
2234
|
+
'SecChUa',
|
|
2235
|
+
'CookieGt0',
|
|
2236
|
+
'ClientTransactionId',
|
|
2237
|
+
'ActiveUser',
|
|
2238
|
+
'CookieCt0',
|
|
2239
|
+
'UserAgent',
|
|
2240
|
+
'AcceptLanguage',
|
|
2241
|
+
'SecFetchSite',
|
|
2242
|
+
'AuthType',
|
|
2243
|
+
'CookieAuthToken',
|
|
2244
|
+
'SecChUaMobile',
|
|
2245
|
+
'AcceptEncoding'
|
|
2246
|
+
]
|
|
2247
|
+
|
|
2248
|
+
return self.api_client.param_serialize(
|
|
2249
|
+
method='GET',
|
|
2250
|
+
resource_path='/graphql/{pathQueryId}/ListCreationRecommendedUsers',
|
|
2251
|
+
path_params=_path_params,
|
|
2252
|
+
query_params=_query_params,
|
|
2253
|
+
header_params=_header_params,
|
|
2254
|
+
body=_body_params,
|
|
2255
|
+
post_params=_form_params,
|
|
2256
|
+
files=_files,
|
|
2257
|
+
auth_settings=_auth_settings,
|
|
2258
|
+
collection_formats=_collection_formats,
|
|
2259
|
+
_host=_host,
|
|
2260
|
+
_request_auth=_request_auth
|
|
2261
|
+
)
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
@validate_call
|
|
2267
|
+
def get_list_edit_recommended_users(
|
|
2268
|
+
self,
|
|
2269
|
+
path_query_id: StrictStr,
|
|
2270
|
+
variables: StrictStr,
|
|
2271
|
+
features: StrictStr,
|
|
2272
|
+
_request_timeout: Union[
|
|
2273
|
+
None,
|
|
2274
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2275
|
+
Tuple[
|
|
2276
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2277
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2278
|
+
]
|
|
2279
|
+
] = None,
|
|
2280
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2281
|
+
_content_type: Optional[StrictStr] = None,
|
|
2282
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2283
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2284
|
+
) -> ListRecommendedUsersResponse:
|
|
2285
|
+
"""get_list_edit_recommended_users
|
|
2286
|
+
|
|
2287
|
+
get recommended members while editing a list
|
|
2288
|
+
|
|
2289
|
+
:param path_query_id: (required)
|
|
2290
|
+
:type path_query_id: str
|
|
2291
|
+
:param variables: (required)
|
|
2292
|
+
:type variables: str
|
|
2293
|
+
:param features: (required)
|
|
2294
|
+
:type features: str
|
|
2295
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2296
|
+
number provided, it will be total request
|
|
2297
|
+
timeout. It can also be a pair (tuple) of
|
|
2298
|
+
(connection, read) timeouts.
|
|
2299
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2300
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2301
|
+
request; this effectively ignores the
|
|
2302
|
+
authentication in the spec for a single request.
|
|
2303
|
+
:type _request_auth: dict, optional
|
|
2304
|
+
:param _content_type: force content-type for the request.
|
|
2305
|
+
:type _content_type: str, Optional
|
|
2306
|
+
:param _headers: set to override the headers for a single
|
|
2307
|
+
request; this effectively ignores the headers
|
|
2308
|
+
in the spec for a single request.
|
|
2309
|
+
:type _headers: dict, optional
|
|
2310
|
+
:param _host_index: set to override the host_index for a single
|
|
2311
|
+
request; this effectively ignores the host_index
|
|
2312
|
+
in the spec for a single request.
|
|
2313
|
+
:type _host_index: int, optional
|
|
2314
|
+
:return: Returns the result object.
|
|
2315
|
+
""" # noqa: E501
|
|
2316
|
+
|
|
2317
|
+
_param = self._get_list_edit_recommended_users_serialize(
|
|
2318
|
+
path_query_id=path_query_id,
|
|
2319
|
+
variables=variables,
|
|
2320
|
+
features=features,
|
|
2321
|
+
_request_auth=_request_auth,
|
|
2322
|
+
_content_type=_content_type,
|
|
2323
|
+
_headers=_headers,
|
|
2324
|
+
_host_index=_host_index
|
|
2325
|
+
)
|
|
2326
|
+
|
|
2327
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2328
|
+
'200': "ListRecommendedUsersResponse",
|
|
2329
|
+
}
|
|
2330
|
+
response_data = self.api_client.call_api(
|
|
2331
|
+
*_param,
|
|
2332
|
+
_request_timeout=_request_timeout
|
|
2333
|
+
)
|
|
2334
|
+
response_data.read()
|
|
2335
|
+
return self.api_client.response_deserialize(
|
|
2336
|
+
response_data=response_data,
|
|
2337
|
+
response_types_map=_response_types_map,
|
|
2338
|
+
).data
|
|
2339
|
+
|
|
2340
|
+
|
|
2341
|
+
@validate_call
|
|
2342
|
+
def get_list_edit_recommended_users_with_http_info(
|
|
2343
|
+
self,
|
|
2344
|
+
path_query_id: StrictStr,
|
|
2345
|
+
variables: StrictStr,
|
|
2346
|
+
features: StrictStr,
|
|
2347
|
+
_request_timeout: Union[
|
|
2348
|
+
None,
|
|
2349
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2350
|
+
Tuple[
|
|
2351
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2352
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2353
|
+
]
|
|
2354
|
+
] = None,
|
|
2355
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2356
|
+
_content_type: Optional[StrictStr] = None,
|
|
2357
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2358
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2359
|
+
) -> ApiResponse[ListRecommendedUsersResponse]:
|
|
2360
|
+
"""get_list_edit_recommended_users
|
|
2361
|
+
|
|
2362
|
+
get recommended members while editing a list
|
|
2363
|
+
|
|
2364
|
+
:param path_query_id: (required)
|
|
2365
|
+
:type path_query_id: str
|
|
2366
|
+
:param variables: (required)
|
|
2367
|
+
:type variables: str
|
|
2368
|
+
:param features: (required)
|
|
2369
|
+
:type features: str
|
|
2370
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2371
|
+
number provided, it will be total request
|
|
2372
|
+
timeout. It can also be a pair (tuple) of
|
|
2373
|
+
(connection, read) timeouts.
|
|
2374
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2375
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2376
|
+
request; this effectively ignores the
|
|
2377
|
+
authentication in the spec for a single request.
|
|
2378
|
+
:type _request_auth: dict, optional
|
|
2379
|
+
:param _content_type: force content-type for the request.
|
|
2380
|
+
:type _content_type: str, Optional
|
|
2381
|
+
:param _headers: set to override the headers for a single
|
|
2382
|
+
request; this effectively ignores the headers
|
|
2383
|
+
in the spec for a single request.
|
|
2384
|
+
:type _headers: dict, optional
|
|
2385
|
+
:param _host_index: set to override the host_index for a single
|
|
2386
|
+
request; this effectively ignores the host_index
|
|
2387
|
+
in the spec for a single request.
|
|
2388
|
+
:type _host_index: int, optional
|
|
2389
|
+
:return: Returns the result object.
|
|
2390
|
+
""" # noqa: E501
|
|
2391
|
+
|
|
2392
|
+
_param = self._get_list_edit_recommended_users_serialize(
|
|
2393
|
+
path_query_id=path_query_id,
|
|
2394
|
+
variables=variables,
|
|
2395
|
+
features=features,
|
|
2396
|
+
_request_auth=_request_auth,
|
|
2397
|
+
_content_type=_content_type,
|
|
2398
|
+
_headers=_headers,
|
|
2399
|
+
_host_index=_host_index
|
|
2400
|
+
)
|
|
2401
|
+
|
|
2402
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2403
|
+
'200': "ListRecommendedUsersResponse",
|
|
2404
|
+
}
|
|
2405
|
+
response_data = self.api_client.call_api(
|
|
2406
|
+
*_param,
|
|
2407
|
+
_request_timeout=_request_timeout
|
|
2408
|
+
)
|
|
2409
|
+
response_data.read()
|
|
2410
|
+
return self.api_client.response_deserialize(
|
|
2411
|
+
response_data=response_data,
|
|
2412
|
+
response_types_map=_response_types_map,
|
|
2413
|
+
)
|
|
2414
|
+
|
|
2415
|
+
|
|
2416
|
+
@validate_call
|
|
2417
|
+
def get_list_edit_recommended_users_without_preload_content(
|
|
2418
|
+
self,
|
|
2419
|
+
path_query_id: StrictStr,
|
|
2420
|
+
variables: StrictStr,
|
|
2421
|
+
features: StrictStr,
|
|
2422
|
+
_request_timeout: Union[
|
|
2423
|
+
None,
|
|
2424
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2425
|
+
Tuple[
|
|
2426
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2427
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2428
|
+
]
|
|
2429
|
+
] = None,
|
|
2430
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2431
|
+
_content_type: Optional[StrictStr] = None,
|
|
2432
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2433
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2434
|
+
) -> RESTResponseType:
|
|
2435
|
+
"""get_list_edit_recommended_users
|
|
2436
|
+
|
|
2437
|
+
get recommended members while editing a list
|
|
2438
|
+
|
|
2439
|
+
:param path_query_id: (required)
|
|
2440
|
+
:type path_query_id: str
|
|
2441
|
+
:param variables: (required)
|
|
2442
|
+
:type variables: str
|
|
2443
|
+
:param features: (required)
|
|
2444
|
+
:type features: str
|
|
2445
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2446
|
+
number provided, it will be total request
|
|
2447
|
+
timeout. It can also be a pair (tuple) of
|
|
2448
|
+
(connection, read) timeouts.
|
|
2449
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2450
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2451
|
+
request; this effectively ignores the
|
|
2452
|
+
authentication in the spec for a single request.
|
|
2453
|
+
:type _request_auth: dict, optional
|
|
2454
|
+
:param _content_type: force content-type for the request.
|
|
2455
|
+
:type _content_type: str, Optional
|
|
2456
|
+
:param _headers: set to override the headers for a single
|
|
2457
|
+
request; this effectively ignores the headers
|
|
2458
|
+
in the spec for a single request.
|
|
2459
|
+
:type _headers: dict, optional
|
|
2460
|
+
:param _host_index: set to override the host_index for a single
|
|
2461
|
+
request; this effectively ignores the host_index
|
|
2462
|
+
in the spec for a single request.
|
|
2463
|
+
:type _host_index: int, optional
|
|
2464
|
+
:return: Returns the result object.
|
|
2465
|
+
""" # noqa: E501
|
|
2466
|
+
|
|
2467
|
+
_param = self._get_list_edit_recommended_users_serialize(
|
|
2468
|
+
path_query_id=path_query_id,
|
|
2469
|
+
variables=variables,
|
|
2470
|
+
features=features,
|
|
2471
|
+
_request_auth=_request_auth,
|
|
2472
|
+
_content_type=_content_type,
|
|
2473
|
+
_headers=_headers,
|
|
2474
|
+
_host_index=_host_index
|
|
2475
|
+
)
|
|
2476
|
+
|
|
2477
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2478
|
+
'200': "ListRecommendedUsersResponse",
|
|
2479
|
+
}
|
|
2480
|
+
response_data = self.api_client.call_api(
|
|
2481
|
+
*_param,
|
|
2482
|
+
_request_timeout=_request_timeout
|
|
2483
|
+
)
|
|
2484
|
+
return response_data.response
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
def _get_list_edit_recommended_users_serialize(
|
|
2488
|
+
self,
|
|
2489
|
+
path_query_id,
|
|
2490
|
+
variables,
|
|
2491
|
+
features,
|
|
2492
|
+
_request_auth,
|
|
2493
|
+
_content_type,
|
|
2494
|
+
_headers,
|
|
2495
|
+
_host_index,
|
|
2496
|
+
) -> RequestSerialized:
|
|
2497
|
+
|
|
2498
|
+
_host = None
|
|
2499
|
+
|
|
2500
|
+
_collection_formats: Dict[str, str] = {
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
_path_params: Dict[str, str] = {}
|
|
2504
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2505
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2506
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2507
|
+
_files: Dict[
|
|
2508
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2509
|
+
] = {}
|
|
2510
|
+
_body_params: Optional[bytes] = None
|
|
2511
|
+
|
|
2512
|
+
# process the path parameters
|
|
2513
|
+
if path_query_id is not None:
|
|
2514
|
+
_path_params['pathQueryId'] = path_query_id
|
|
2515
|
+
# process the query parameters
|
|
2516
|
+
if variables is not None:
|
|
2517
|
+
|
|
2518
|
+
_query_params.append(('variables', variables))
|
|
2519
|
+
|
|
2520
|
+
if features is not None:
|
|
2521
|
+
|
|
2522
|
+
_query_params.append(('features', features))
|
|
2523
|
+
|
|
2524
|
+
# process the header parameters
|
|
2525
|
+
# process the form parameters
|
|
2526
|
+
# process the body parameter
|
|
2527
|
+
|
|
2528
|
+
|
|
2529
|
+
# set the HTTP header `Accept`
|
|
2530
|
+
if 'Accept' not in _header_params:
|
|
2531
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2532
|
+
[
|
|
2533
|
+
'application/json'
|
|
2534
|
+
]
|
|
2535
|
+
)
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
# authentication setting
|
|
2539
|
+
_auth_settings: List[str] = [
|
|
2540
|
+
'Accept',
|
|
2541
|
+
'ClientLanguage',
|
|
2542
|
+
'Priority',
|
|
2543
|
+
'Referer',
|
|
2544
|
+
'SecFetchDest',
|
|
2545
|
+
'SecChUaPlatform',
|
|
2546
|
+
'SecFetchMode',
|
|
2547
|
+
'CsrfToken',
|
|
2548
|
+
'ClientUuid',
|
|
2549
|
+
'BearerAuth',
|
|
2550
|
+
'GuestToken',
|
|
2551
|
+
'SecChUa',
|
|
2552
|
+
'CookieGt0',
|
|
2553
|
+
'ClientTransactionId',
|
|
2554
|
+
'ActiveUser',
|
|
2555
|
+
'CookieCt0',
|
|
2556
|
+
'UserAgent',
|
|
2557
|
+
'AcceptLanguage',
|
|
2558
|
+
'SecFetchSite',
|
|
2559
|
+
'AuthType',
|
|
2560
|
+
'CookieAuthToken',
|
|
2561
|
+
'SecChUaMobile',
|
|
2562
|
+
'AcceptEncoding'
|
|
2563
|
+
]
|
|
2564
|
+
|
|
2565
|
+
return self.api_client.param_serialize(
|
|
2566
|
+
method='GET',
|
|
2567
|
+
resource_path='/graphql/{pathQueryId}/ListEditRecommendedUsers',
|
|
2568
|
+
path_params=_path_params,
|
|
2569
|
+
query_params=_query_params,
|
|
2570
|
+
header_params=_header_params,
|
|
2571
|
+
body=_body_params,
|
|
2572
|
+
post_params=_form_params,
|
|
2573
|
+
files=_files,
|
|
2574
|
+
auth_settings=_auth_settings,
|
|
2575
|
+
collection_formats=_collection_formats,
|
|
2576
|
+
_host=_host,
|
|
2577
|
+
_request_auth=_request_auth
|
|
2578
|
+
)
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
|
|
2582
|
+
|
|
2583
|
+
@validate_call
|
|
2584
|
+
def get_list_members(
|
|
2585
|
+
self,
|
|
2586
|
+
path_query_id: StrictStr,
|
|
2587
|
+
variables: StrictStr,
|
|
2588
|
+
features: StrictStr,
|
|
2589
|
+
_request_timeout: Union[
|
|
2590
|
+
None,
|
|
2591
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2592
|
+
Tuple[
|
|
2593
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2594
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2595
|
+
]
|
|
2596
|
+
] = None,
|
|
2597
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2598
|
+
_content_type: Optional[StrictStr] = None,
|
|
2599
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2600
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2601
|
+
) -> ListMembersResponse:
|
|
2602
|
+
"""get_list_members
|
|
2603
|
+
|
|
2604
|
+
get list members
|
|
2605
|
+
|
|
2606
|
+
:param path_query_id: (required)
|
|
2607
|
+
:type path_query_id: str
|
|
2608
|
+
:param variables: (required)
|
|
2609
|
+
:type variables: str
|
|
2610
|
+
:param features: (required)
|
|
2611
|
+
:type features: str
|
|
2612
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2613
|
+
number provided, it will be total request
|
|
2614
|
+
timeout. It can also be a pair (tuple) of
|
|
2615
|
+
(connection, read) timeouts.
|
|
2616
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2617
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2618
|
+
request; this effectively ignores the
|
|
2619
|
+
authentication in the spec for a single request.
|
|
2620
|
+
:type _request_auth: dict, optional
|
|
2621
|
+
:param _content_type: force content-type for the request.
|
|
2622
|
+
:type _content_type: str, Optional
|
|
2623
|
+
:param _headers: set to override the headers for a single
|
|
2624
|
+
request; this effectively ignores the headers
|
|
2625
|
+
in the spec for a single request.
|
|
2626
|
+
:type _headers: dict, optional
|
|
2627
|
+
:param _host_index: set to override the host_index for a single
|
|
2628
|
+
request; this effectively ignores the host_index
|
|
2629
|
+
in the spec for a single request.
|
|
2630
|
+
:type _host_index: int, optional
|
|
2631
|
+
:return: Returns the result object.
|
|
2632
|
+
""" # noqa: E501
|
|
2633
|
+
|
|
2634
|
+
_param = self._get_list_members_serialize(
|
|
2635
|
+
path_query_id=path_query_id,
|
|
2636
|
+
variables=variables,
|
|
2637
|
+
features=features,
|
|
2638
|
+
_request_auth=_request_auth,
|
|
2639
|
+
_content_type=_content_type,
|
|
2640
|
+
_headers=_headers,
|
|
2641
|
+
_host_index=_host_index
|
|
2642
|
+
)
|
|
2643
|
+
|
|
2644
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2645
|
+
'200': "ListMembersResponse",
|
|
2646
|
+
}
|
|
2647
|
+
response_data = self.api_client.call_api(
|
|
2648
|
+
*_param,
|
|
2649
|
+
_request_timeout=_request_timeout
|
|
2650
|
+
)
|
|
2651
|
+
response_data.read()
|
|
2652
|
+
return self.api_client.response_deserialize(
|
|
2653
|
+
response_data=response_data,
|
|
2654
|
+
response_types_map=_response_types_map,
|
|
2655
|
+
).data
|
|
2656
|
+
|
|
2657
|
+
|
|
2658
|
+
@validate_call
|
|
2659
|
+
def get_list_members_with_http_info(
|
|
2660
|
+
self,
|
|
2661
|
+
path_query_id: StrictStr,
|
|
2662
|
+
variables: StrictStr,
|
|
2663
|
+
features: StrictStr,
|
|
2664
|
+
_request_timeout: Union[
|
|
2665
|
+
None,
|
|
2666
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2667
|
+
Tuple[
|
|
2668
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2669
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2670
|
+
]
|
|
2671
|
+
] = None,
|
|
2672
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2673
|
+
_content_type: Optional[StrictStr] = None,
|
|
2674
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2675
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2676
|
+
) -> ApiResponse[ListMembersResponse]:
|
|
2677
|
+
"""get_list_members
|
|
2678
|
+
|
|
2679
|
+
get list members
|
|
2680
|
+
|
|
2681
|
+
:param path_query_id: (required)
|
|
2682
|
+
:type path_query_id: str
|
|
2683
|
+
:param variables: (required)
|
|
2684
|
+
:type variables: str
|
|
2685
|
+
:param features: (required)
|
|
2686
|
+
:type features: str
|
|
2687
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2688
|
+
number provided, it will be total request
|
|
2689
|
+
timeout. It can also be a pair (tuple) of
|
|
2690
|
+
(connection, read) timeouts.
|
|
2691
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2692
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2693
|
+
request; this effectively ignores the
|
|
2694
|
+
authentication in the spec for a single request.
|
|
2695
|
+
:type _request_auth: dict, optional
|
|
2696
|
+
:param _content_type: force content-type for the request.
|
|
2697
|
+
:type _content_type: str, Optional
|
|
2698
|
+
:param _headers: set to override the headers for a single
|
|
2699
|
+
request; this effectively ignores the headers
|
|
2700
|
+
in the spec for a single request.
|
|
2701
|
+
:type _headers: dict, optional
|
|
2702
|
+
:param _host_index: set to override the host_index for a single
|
|
2703
|
+
request; this effectively ignores the host_index
|
|
2704
|
+
in the spec for a single request.
|
|
2705
|
+
:type _host_index: int, optional
|
|
2706
|
+
:return: Returns the result object.
|
|
2707
|
+
""" # noqa: E501
|
|
2708
|
+
|
|
2709
|
+
_param = self._get_list_members_serialize(
|
|
2710
|
+
path_query_id=path_query_id,
|
|
2711
|
+
variables=variables,
|
|
2712
|
+
features=features,
|
|
2713
|
+
_request_auth=_request_auth,
|
|
2714
|
+
_content_type=_content_type,
|
|
2715
|
+
_headers=_headers,
|
|
2716
|
+
_host_index=_host_index
|
|
2717
|
+
)
|
|
2718
|
+
|
|
2719
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2720
|
+
'200': "ListMembersResponse",
|
|
2721
|
+
}
|
|
2722
|
+
response_data = self.api_client.call_api(
|
|
2723
|
+
*_param,
|
|
2724
|
+
_request_timeout=_request_timeout
|
|
2725
|
+
)
|
|
2726
|
+
response_data.read()
|
|
2727
|
+
return self.api_client.response_deserialize(
|
|
2728
|
+
response_data=response_data,
|
|
2729
|
+
response_types_map=_response_types_map,
|
|
2730
|
+
)
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
@validate_call
|
|
2734
|
+
def get_list_members_without_preload_content(
|
|
2735
|
+
self,
|
|
2736
|
+
path_query_id: StrictStr,
|
|
2737
|
+
variables: StrictStr,
|
|
2738
|
+
features: StrictStr,
|
|
2739
|
+
_request_timeout: Union[
|
|
2740
|
+
None,
|
|
2741
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2742
|
+
Tuple[
|
|
2743
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2744
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2745
|
+
]
|
|
2746
|
+
] = None,
|
|
2747
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2748
|
+
_content_type: Optional[StrictStr] = None,
|
|
2749
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2750
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2751
|
+
) -> RESTResponseType:
|
|
2752
|
+
"""get_list_members
|
|
2753
|
+
|
|
2754
|
+
get list members
|
|
2755
|
+
|
|
2756
|
+
:param path_query_id: (required)
|
|
2757
|
+
:type path_query_id: str
|
|
2758
|
+
:param variables: (required)
|
|
2759
|
+
:type variables: str
|
|
2760
|
+
:param features: (required)
|
|
2761
|
+
:type features: str
|
|
2762
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2763
|
+
number provided, it will be total request
|
|
2764
|
+
timeout. It can also be a pair (tuple) of
|
|
2765
|
+
(connection, read) timeouts.
|
|
2766
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2767
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2768
|
+
request; this effectively ignores the
|
|
2769
|
+
authentication in the spec for a single request.
|
|
2770
|
+
:type _request_auth: dict, optional
|
|
2771
|
+
:param _content_type: force content-type for the request.
|
|
2772
|
+
:type _content_type: str, Optional
|
|
2773
|
+
:param _headers: set to override the headers for a single
|
|
2774
|
+
request; this effectively ignores the headers
|
|
2775
|
+
in the spec for a single request.
|
|
2776
|
+
:type _headers: dict, optional
|
|
2777
|
+
:param _host_index: set to override the host_index for a single
|
|
2778
|
+
request; this effectively ignores the host_index
|
|
2779
|
+
in the spec for a single request.
|
|
2780
|
+
:type _host_index: int, optional
|
|
2781
|
+
:return: Returns the result object.
|
|
2782
|
+
""" # noqa: E501
|
|
2783
|
+
|
|
2784
|
+
_param = self._get_list_members_serialize(
|
|
2785
|
+
path_query_id=path_query_id,
|
|
2786
|
+
variables=variables,
|
|
2787
|
+
features=features,
|
|
2788
|
+
_request_auth=_request_auth,
|
|
2789
|
+
_content_type=_content_type,
|
|
2790
|
+
_headers=_headers,
|
|
2791
|
+
_host_index=_host_index
|
|
2792
|
+
)
|
|
2793
|
+
|
|
2794
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2795
|
+
'200': "ListMembersResponse",
|
|
2796
|
+
}
|
|
2797
|
+
response_data = self.api_client.call_api(
|
|
2798
|
+
*_param,
|
|
2799
|
+
_request_timeout=_request_timeout
|
|
2800
|
+
)
|
|
2801
|
+
return response_data.response
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
def _get_list_members_serialize(
|
|
2805
|
+
self,
|
|
2806
|
+
path_query_id,
|
|
2807
|
+
variables,
|
|
2808
|
+
features,
|
|
2809
|
+
_request_auth,
|
|
2810
|
+
_content_type,
|
|
2811
|
+
_headers,
|
|
2812
|
+
_host_index,
|
|
2813
|
+
) -> RequestSerialized:
|
|
2814
|
+
|
|
2815
|
+
_host = None
|
|
2816
|
+
|
|
2817
|
+
_collection_formats: Dict[str, str] = {
|
|
2818
|
+
}
|
|
2819
|
+
|
|
2820
|
+
_path_params: Dict[str, str] = {}
|
|
2821
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2822
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2823
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2824
|
+
_files: Dict[
|
|
2825
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2826
|
+
] = {}
|
|
2827
|
+
_body_params: Optional[bytes] = None
|
|
2828
|
+
|
|
2829
|
+
# process the path parameters
|
|
2830
|
+
if path_query_id is not None:
|
|
2831
|
+
_path_params['pathQueryId'] = path_query_id
|
|
2832
|
+
# process the query parameters
|
|
2833
|
+
if variables is not None:
|
|
2834
|
+
|
|
2835
|
+
_query_params.append(('variables', variables))
|
|
2836
|
+
|
|
2837
|
+
if features is not None:
|
|
2838
|
+
|
|
2839
|
+
_query_params.append(('features', features))
|
|
2840
|
+
|
|
2841
|
+
# process the header parameters
|
|
2842
|
+
# process the form parameters
|
|
2843
|
+
# process the body parameter
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
# set the HTTP header `Accept`
|
|
2847
|
+
if 'Accept' not in _header_params:
|
|
2848
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2849
|
+
[
|
|
2850
|
+
'application/json'
|
|
2851
|
+
]
|
|
2852
|
+
)
|
|
2853
|
+
|
|
2854
|
+
|
|
2855
|
+
# authentication setting
|
|
2856
|
+
_auth_settings: List[str] = [
|
|
2857
|
+
'Accept',
|
|
2858
|
+
'ClientLanguage',
|
|
2859
|
+
'Priority',
|
|
2860
|
+
'Referer',
|
|
2861
|
+
'SecFetchDest',
|
|
2862
|
+
'SecChUaPlatform',
|
|
2863
|
+
'SecFetchMode',
|
|
2864
|
+
'CsrfToken',
|
|
2865
|
+
'ClientUuid',
|
|
2866
|
+
'BearerAuth',
|
|
2867
|
+
'GuestToken',
|
|
2868
|
+
'SecChUa',
|
|
2869
|
+
'CookieGt0',
|
|
2870
|
+
'ClientTransactionId',
|
|
2871
|
+
'ActiveUser',
|
|
2872
|
+
'CookieCt0',
|
|
2873
|
+
'UserAgent',
|
|
2874
|
+
'AcceptLanguage',
|
|
2875
|
+
'SecFetchSite',
|
|
2876
|
+
'AuthType',
|
|
2877
|
+
'CookieAuthToken',
|
|
2878
|
+
'SecChUaMobile',
|
|
2879
|
+
'AcceptEncoding'
|
|
2880
|
+
]
|
|
2881
|
+
|
|
2882
|
+
return self.api_client.param_serialize(
|
|
2883
|
+
method='GET',
|
|
2884
|
+
resource_path='/graphql/{pathQueryId}/ListMembers',
|
|
2885
|
+
path_params=_path_params,
|
|
2886
|
+
query_params=_query_params,
|
|
2887
|
+
header_params=_header_params,
|
|
2888
|
+
body=_body_params,
|
|
2889
|
+
post_params=_form_params,
|
|
2890
|
+
files=_files,
|
|
2891
|
+
auth_settings=_auth_settings,
|
|
2892
|
+
collection_formats=_collection_formats,
|
|
2893
|
+
_host=_host,
|
|
2894
|
+
_request_auth=_request_auth
|
|
2895
|
+
)
|
|
2896
|
+
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
|
|
2900
|
+
@validate_call
|
|
2901
|
+
def get_list_ownerships(
|
|
2902
|
+
self,
|
|
2903
|
+
path_query_id: StrictStr,
|
|
2904
|
+
variables: StrictStr,
|
|
2905
|
+
features: StrictStr,
|
|
2906
|
+
_request_timeout: Union[
|
|
2907
|
+
None,
|
|
2908
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2909
|
+
Tuple[
|
|
2910
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2911
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2912
|
+
]
|
|
2913
|
+
] = None,
|
|
2914
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2915
|
+
_content_type: Optional[StrictStr] = None,
|
|
2916
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2917
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2918
|
+
) -> UserTweetsResponse:
|
|
2919
|
+
"""get_list_ownerships
|
|
2920
|
+
|
|
2921
|
+
get the lists a user owns (add/remove from Lists dialog)
|
|
2922
|
+
|
|
2923
|
+
:param path_query_id: (required)
|
|
2924
|
+
:type path_query_id: str
|
|
2925
|
+
:param variables: (required)
|
|
2926
|
+
:type variables: str
|
|
2927
|
+
:param features: (required)
|
|
2928
|
+
:type features: str
|
|
2929
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2930
|
+
number provided, it will be total request
|
|
2931
|
+
timeout. It can also be a pair (tuple) of
|
|
2932
|
+
(connection, read) timeouts.
|
|
2933
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2934
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2935
|
+
request; this effectively ignores the
|
|
2936
|
+
authentication in the spec for a single request.
|
|
2937
|
+
:type _request_auth: dict, optional
|
|
2938
|
+
:param _content_type: force content-type for the request.
|
|
2939
|
+
:type _content_type: str, Optional
|
|
2940
|
+
:param _headers: set to override the headers for a single
|
|
2941
|
+
request; this effectively ignores the headers
|
|
2942
|
+
in the spec for a single request.
|
|
2943
|
+
:type _headers: dict, optional
|
|
2944
|
+
:param _host_index: set to override the host_index for a single
|
|
2945
|
+
request; this effectively ignores the host_index
|
|
2946
|
+
in the spec for a single request.
|
|
2947
|
+
:type _host_index: int, optional
|
|
2948
|
+
:return: Returns the result object.
|
|
2949
|
+
""" # noqa: E501
|
|
2950
|
+
|
|
2951
|
+
_param = self._get_list_ownerships_serialize(
|
|
2952
|
+
path_query_id=path_query_id,
|
|
2953
|
+
variables=variables,
|
|
2954
|
+
features=features,
|
|
2955
|
+
_request_auth=_request_auth,
|
|
2956
|
+
_content_type=_content_type,
|
|
2957
|
+
_headers=_headers,
|
|
2958
|
+
_host_index=_host_index
|
|
2959
|
+
)
|
|
2960
|
+
|
|
2961
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2962
|
+
'200': "UserTweetsResponse",
|
|
2963
|
+
}
|
|
2964
|
+
response_data = self.api_client.call_api(
|
|
2965
|
+
*_param,
|
|
2966
|
+
_request_timeout=_request_timeout
|
|
2967
|
+
)
|
|
2968
|
+
response_data.read()
|
|
2969
|
+
return self.api_client.response_deserialize(
|
|
2970
|
+
response_data=response_data,
|
|
2971
|
+
response_types_map=_response_types_map,
|
|
2972
|
+
).data
|
|
2973
|
+
|
|
2974
|
+
|
|
2975
|
+
@validate_call
|
|
2976
|
+
def get_list_ownerships_with_http_info(
|
|
2977
|
+
self,
|
|
2978
|
+
path_query_id: StrictStr,
|
|
2979
|
+
variables: StrictStr,
|
|
2980
|
+
features: StrictStr,
|
|
2981
|
+
_request_timeout: Union[
|
|
2982
|
+
None,
|
|
2983
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2984
|
+
Tuple[
|
|
2985
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2986
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2987
|
+
]
|
|
2988
|
+
] = None,
|
|
2989
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2990
|
+
_content_type: Optional[StrictStr] = None,
|
|
2991
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2992
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2993
|
+
) -> ApiResponse[UserTweetsResponse]:
|
|
2994
|
+
"""get_list_ownerships
|
|
2995
|
+
|
|
2996
|
+
get the lists a user owns (add/remove from Lists dialog)
|
|
2997
|
+
|
|
2998
|
+
:param path_query_id: (required)
|
|
2999
|
+
:type path_query_id: str
|
|
3000
|
+
:param variables: (required)
|
|
3001
|
+
:type variables: str
|
|
3002
|
+
:param features: (required)
|
|
3003
|
+
:type features: str
|
|
3004
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3005
|
+
number provided, it will be total request
|
|
3006
|
+
timeout. It can also be a pair (tuple) of
|
|
3007
|
+
(connection, read) timeouts.
|
|
3008
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3009
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3010
|
+
request; this effectively ignores the
|
|
3011
|
+
authentication in the spec for a single request.
|
|
3012
|
+
:type _request_auth: dict, optional
|
|
3013
|
+
:param _content_type: force content-type for the request.
|
|
3014
|
+
:type _content_type: str, Optional
|
|
3015
|
+
:param _headers: set to override the headers for a single
|
|
3016
|
+
request; this effectively ignores the headers
|
|
3017
|
+
in the spec for a single request.
|
|
3018
|
+
:type _headers: dict, optional
|
|
3019
|
+
:param _host_index: set to override the host_index for a single
|
|
3020
|
+
request; this effectively ignores the host_index
|
|
3021
|
+
in the spec for a single request.
|
|
3022
|
+
:type _host_index: int, optional
|
|
3023
|
+
:return: Returns the result object.
|
|
3024
|
+
""" # noqa: E501
|
|
3025
|
+
|
|
3026
|
+
_param = self._get_list_ownerships_serialize(
|
|
3027
|
+
path_query_id=path_query_id,
|
|
3028
|
+
variables=variables,
|
|
3029
|
+
features=features,
|
|
3030
|
+
_request_auth=_request_auth,
|
|
3031
|
+
_content_type=_content_type,
|
|
3032
|
+
_headers=_headers,
|
|
3033
|
+
_host_index=_host_index
|
|
3034
|
+
)
|
|
3035
|
+
|
|
3036
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3037
|
+
'200': "UserTweetsResponse",
|
|
3038
|
+
}
|
|
3039
|
+
response_data = self.api_client.call_api(
|
|
3040
|
+
*_param,
|
|
3041
|
+
_request_timeout=_request_timeout
|
|
3042
|
+
)
|
|
3043
|
+
response_data.read()
|
|
3044
|
+
return self.api_client.response_deserialize(
|
|
3045
|
+
response_data=response_data,
|
|
3046
|
+
response_types_map=_response_types_map,
|
|
3047
|
+
)
|
|
3048
|
+
|
|
3049
|
+
|
|
3050
|
+
@validate_call
|
|
3051
|
+
def get_list_ownerships_without_preload_content(
|
|
3052
|
+
self,
|
|
3053
|
+
path_query_id: StrictStr,
|
|
3054
|
+
variables: StrictStr,
|
|
3055
|
+
features: StrictStr,
|
|
3056
|
+
_request_timeout: Union[
|
|
3057
|
+
None,
|
|
3058
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3059
|
+
Tuple[
|
|
3060
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3061
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3062
|
+
]
|
|
3063
|
+
] = None,
|
|
3064
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3065
|
+
_content_type: Optional[StrictStr] = None,
|
|
3066
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3067
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3068
|
+
) -> RESTResponseType:
|
|
3069
|
+
"""get_list_ownerships
|
|
3070
|
+
|
|
3071
|
+
get the lists a user owns (add/remove from Lists dialog)
|
|
3072
|
+
|
|
3073
|
+
:param path_query_id: (required)
|
|
3074
|
+
:type path_query_id: str
|
|
3075
|
+
:param variables: (required)
|
|
3076
|
+
:type variables: str
|
|
3077
|
+
:param features: (required)
|
|
3078
|
+
:type features: str
|
|
3079
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3080
|
+
number provided, it will be total request
|
|
3081
|
+
timeout. It can also be a pair (tuple) of
|
|
3082
|
+
(connection, read) timeouts.
|
|
3083
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3084
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3085
|
+
request; this effectively ignores the
|
|
3086
|
+
authentication in the spec for a single request.
|
|
3087
|
+
:type _request_auth: dict, optional
|
|
3088
|
+
:param _content_type: force content-type for the request.
|
|
3089
|
+
:type _content_type: str, Optional
|
|
3090
|
+
:param _headers: set to override the headers for a single
|
|
3091
|
+
request; this effectively ignores the headers
|
|
3092
|
+
in the spec for a single request.
|
|
3093
|
+
:type _headers: dict, optional
|
|
3094
|
+
:param _host_index: set to override the host_index for a single
|
|
3095
|
+
request; this effectively ignores the host_index
|
|
3096
|
+
in the spec for a single request.
|
|
3097
|
+
:type _host_index: int, optional
|
|
3098
|
+
:return: Returns the result object.
|
|
3099
|
+
""" # noqa: E501
|
|
3100
|
+
|
|
3101
|
+
_param = self._get_list_ownerships_serialize(
|
|
3102
|
+
path_query_id=path_query_id,
|
|
3103
|
+
variables=variables,
|
|
3104
|
+
features=features,
|
|
3105
|
+
_request_auth=_request_auth,
|
|
3106
|
+
_content_type=_content_type,
|
|
3107
|
+
_headers=_headers,
|
|
3108
|
+
_host_index=_host_index
|
|
3109
|
+
)
|
|
3110
|
+
|
|
3111
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3112
|
+
'200': "UserTweetsResponse",
|
|
3113
|
+
}
|
|
3114
|
+
response_data = self.api_client.call_api(
|
|
3115
|
+
*_param,
|
|
3116
|
+
_request_timeout=_request_timeout
|
|
3117
|
+
)
|
|
3118
|
+
return response_data.response
|
|
3119
|
+
|
|
3120
|
+
|
|
3121
|
+
def _get_list_ownerships_serialize(
|
|
3122
|
+
self,
|
|
3123
|
+
path_query_id,
|
|
3124
|
+
variables,
|
|
3125
|
+
features,
|
|
3126
|
+
_request_auth,
|
|
3127
|
+
_content_type,
|
|
3128
|
+
_headers,
|
|
3129
|
+
_host_index,
|
|
3130
|
+
) -> RequestSerialized:
|
|
3131
|
+
|
|
3132
|
+
_host = None
|
|
3133
|
+
|
|
3134
|
+
_collection_formats: Dict[str, str] = {
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
_path_params: Dict[str, str] = {}
|
|
3138
|
+
_query_params: List[Tuple[str, str]] = []
|
|
3139
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3140
|
+
_form_params: List[Tuple[str, str]] = []
|
|
3141
|
+
_files: Dict[
|
|
3142
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
3143
|
+
] = {}
|
|
3144
|
+
_body_params: Optional[bytes] = None
|
|
3145
|
+
|
|
3146
|
+
# process the path parameters
|
|
3147
|
+
if path_query_id is not None:
|
|
3148
|
+
_path_params['pathQueryId'] = path_query_id
|
|
3149
|
+
# process the query parameters
|
|
3150
|
+
if variables is not None:
|
|
3151
|
+
|
|
3152
|
+
_query_params.append(('variables', variables))
|
|
3153
|
+
|
|
3154
|
+
if features is not None:
|
|
3155
|
+
|
|
3156
|
+
_query_params.append(('features', features))
|
|
3157
|
+
|
|
3158
|
+
# process the header parameters
|
|
3159
|
+
# process the form parameters
|
|
3160
|
+
# process the body parameter
|
|
3161
|
+
|
|
3162
|
+
|
|
3163
|
+
# set the HTTP header `Accept`
|
|
3164
|
+
if 'Accept' not in _header_params:
|
|
3165
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3166
|
+
[
|
|
3167
|
+
'application/json'
|
|
3168
|
+
]
|
|
3169
|
+
)
|
|
3170
|
+
|
|
3171
|
+
|
|
3172
|
+
# authentication setting
|
|
3173
|
+
_auth_settings: List[str] = [
|
|
3174
|
+
'Accept',
|
|
3175
|
+
'ClientLanguage',
|
|
3176
|
+
'Priority',
|
|
3177
|
+
'Referer',
|
|
3178
|
+
'SecFetchDest',
|
|
3179
|
+
'SecChUaPlatform',
|
|
3180
|
+
'SecFetchMode',
|
|
3181
|
+
'CsrfToken',
|
|
3182
|
+
'ClientUuid',
|
|
3183
|
+
'BearerAuth',
|
|
3184
|
+
'GuestToken',
|
|
3185
|
+
'SecChUa',
|
|
3186
|
+
'CookieGt0',
|
|
3187
|
+
'ClientTransactionId',
|
|
3188
|
+
'ActiveUser',
|
|
3189
|
+
'CookieCt0',
|
|
3190
|
+
'UserAgent',
|
|
3191
|
+
'AcceptLanguage',
|
|
3192
|
+
'SecFetchSite',
|
|
3193
|
+
'AuthType',
|
|
3194
|
+
'CookieAuthToken',
|
|
3195
|
+
'SecChUaMobile',
|
|
3196
|
+
'AcceptEncoding'
|
|
3197
|
+
]
|
|
3198
|
+
|
|
3199
|
+
return self.api_client.param_serialize(
|
|
3200
|
+
method='GET',
|
|
3201
|
+
resource_path='/graphql/{pathQueryId}/ListOwnerships',
|
|
3202
|
+
path_params=_path_params,
|
|
3203
|
+
query_params=_query_params,
|
|
3204
|
+
header_params=_header_params,
|
|
3205
|
+
body=_body_params,
|
|
3206
|
+
post_params=_form_params,
|
|
3207
|
+
files=_files,
|
|
3208
|
+
auth_settings=_auth_settings,
|
|
3209
|
+
collection_formats=_collection_formats,
|
|
3210
|
+
_host=_host,
|
|
3211
|
+
_request_auth=_request_auth
|
|
3212
|
+
)
|
|
3213
|
+
|
|
3214
|
+
|
|
3215
|
+
|
|
3216
|
+
|
|
3217
|
+
@validate_call
|
|
3218
|
+
def get_list_subscribers(
|
|
3219
|
+
self,
|
|
3220
|
+
path_query_id: StrictStr,
|
|
3221
|
+
variables: StrictStr,
|
|
3222
|
+
features: StrictStr,
|
|
3223
|
+
_request_timeout: Union[
|
|
3224
|
+
None,
|
|
3225
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3226
|
+
Tuple[
|
|
3227
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3228
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3229
|
+
]
|
|
3230
|
+
] = None,
|
|
3231
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3232
|
+
_content_type: Optional[StrictStr] = None,
|
|
3233
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3234
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3235
|
+
) -> ListSubscribersResponse:
|
|
3236
|
+
"""get_list_subscribers
|
|
3237
|
+
|
|
3238
|
+
get list subscribers (followers)
|
|
3239
|
+
|
|
3240
|
+
:param path_query_id: (required)
|
|
3241
|
+
:type path_query_id: str
|
|
3242
|
+
:param variables: (required)
|
|
3243
|
+
:type variables: str
|
|
3244
|
+
:param features: (required)
|
|
3245
|
+
:type features: str
|
|
3246
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3247
|
+
number provided, it will be total request
|
|
3248
|
+
timeout. It can also be a pair (tuple) of
|
|
3249
|
+
(connection, read) timeouts.
|
|
3250
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3251
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3252
|
+
request; this effectively ignores the
|
|
3253
|
+
authentication in the spec for a single request.
|
|
3254
|
+
:type _request_auth: dict, optional
|
|
3255
|
+
:param _content_type: force content-type for the request.
|
|
3256
|
+
:type _content_type: str, Optional
|
|
3257
|
+
:param _headers: set to override the headers for a single
|
|
3258
|
+
request; this effectively ignores the headers
|
|
3259
|
+
in the spec for a single request.
|
|
3260
|
+
:type _headers: dict, optional
|
|
3261
|
+
:param _host_index: set to override the host_index for a single
|
|
3262
|
+
request; this effectively ignores the host_index
|
|
3263
|
+
in the spec for a single request.
|
|
3264
|
+
:type _host_index: int, optional
|
|
3265
|
+
:return: Returns the result object.
|
|
3266
|
+
""" # noqa: E501
|
|
3267
|
+
|
|
3268
|
+
_param = self._get_list_subscribers_serialize(
|
|
3269
|
+
path_query_id=path_query_id,
|
|
3270
|
+
variables=variables,
|
|
3271
|
+
features=features,
|
|
3272
|
+
_request_auth=_request_auth,
|
|
3273
|
+
_content_type=_content_type,
|
|
3274
|
+
_headers=_headers,
|
|
3275
|
+
_host_index=_host_index
|
|
3276
|
+
)
|
|
3277
|
+
|
|
3278
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3279
|
+
'200': "ListSubscribersResponse",
|
|
3280
|
+
}
|
|
3281
|
+
response_data = self.api_client.call_api(
|
|
3282
|
+
*_param,
|
|
3283
|
+
_request_timeout=_request_timeout
|
|
3284
|
+
)
|
|
3285
|
+
response_data.read()
|
|
3286
|
+
return self.api_client.response_deserialize(
|
|
3287
|
+
response_data=response_data,
|
|
3288
|
+
response_types_map=_response_types_map,
|
|
3289
|
+
).data
|
|
3290
|
+
|
|
3291
|
+
|
|
3292
|
+
@validate_call
|
|
3293
|
+
def get_list_subscribers_with_http_info(
|
|
3294
|
+
self,
|
|
3295
|
+
path_query_id: StrictStr,
|
|
3296
|
+
variables: StrictStr,
|
|
3297
|
+
features: StrictStr,
|
|
3298
|
+
_request_timeout: Union[
|
|
3299
|
+
None,
|
|
3300
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3301
|
+
Tuple[
|
|
3302
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3303
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3304
|
+
]
|
|
3305
|
+
] = None,
|
|
3306
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3307
|
+
_content_type: Optional[StrictStr] = None,
|
|
3308
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3309
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3310
|
+
) -> ApiResponse[ListSubscribersResponse]:
|
|
3311
|
+
"""get_list_subscribers
|
|
3312
|
+
|
|
3313
|
+
get list subscribers (followers)
|
|
3314
|
+
|
|
3315
|
+
:param path_query_id: (required)
|
|
3316
|
+
:type path_query_id: str
|
|
3317
|
+
:param variables: (required)
|
|
3318
|
+
:type variables: str
|
|
3319
|
+
:param features: (required)
|
|
3320
|
+
:type features: str
|
|
3321
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3322
|
+
number provided, it will be total request
|
|
3323
|
+
timeout. It can also be a pair (tuple) of
|
|
3324
|
+
(connection, read) timeouts.
|
|
3325
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3326
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3327
|
+
request; this effectively ignores the
|
|
3328
|
+
authentication in the spec for a single request.
|
|
3329
|
+
:type _request_auth: dict, optional
|
|
3330
|
+
:param _content_type: force content-type for the request.
|
|
3331
|
+
:type _content_type: str, Optional
|
|
3332
|
+
:param _headers: set to override the headers for a single
|
|
3333
|
+
request; this effectively ignores the headers
|
|
3334
|
+
in the spec for a single request.
|
|
3335
|
+
:type _headers: dict, optional
|
|
3336
|
+
:param _host_index: set to override the host_index for a single
|
|
3337
|
+
request; this effectively ignores the host_index
|
|
3338
|
+
in the spec for a single request.
|
|
3339
|
+
:type _host_index: int, optional
|
|
3340
|
+
:return: Returns the result object.
|
|
3341
|
+
""" # noqa: E501
|
|
3342
|
+
|
|
3343
|
+
_param = self._get_list_subscribers_serialize(
|
|
3344
|
+
path_query_id=path_query_id,
|
|
3345
|
+
variables=variables,
|
|
3346
|
+
features=features,
|
|
3347
|
+
_request_auth=_request_auth,
|
|
3348
|
+
_content_type=_content_type,
|
|
3349
|
+
_headers=_headers,
|
|
3350
|
+
_host_index=_host_index
|
|
3351
|
+
)
|
|
3352
|
+
|
|
3353
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3354
|
+
'200': "ListSubscribersResponse",
|
|
3355
|
+
}
|
|
3356
|
+
response_data = self.api_client.call_api(
|
|
3357
|
+
*_param,
|
|
3358
|
+
_request_timeout=_request_timeout
|
|
3359
|
+
)
|
|
3360
|
+
response_data.read()
|
|
3361
|
+
return self.api_client.response_deserialize(
|
|
3362
|
+
response_data=response_data,
|
|
3363
|
+
response_types_map=_response_types_map,
|
|
3364
|
+
)
|
|
3365
|
+
|
|
3366
|
+
|
|
3367
|
+
@validate_call
|
|
3368
|
+
def get_list_subscribers_without_preload_content(
|
|
3369
|
+
self,
|
|
3370
|
+
path_query_id: StrictStr,
|
|
3371
|
+
variables: StrictStr,
|
|
3372
|
+
features: StrictStr,
|
|
3373
|
+
_request_timeout: Union[
|
|
3374
|
+
None,
|
|
3375
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3376
|
+
Tuple[
|
|
3377
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3378
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3379
|
+
]
|
|
3380
|
+
] = None,
|
|
3381
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3382
|
+
_content_type: Optional[StrictStr] = None,
|
|
3383
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3384
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3385
|
+
) -> RESTResponseType:
|
|
3386
|
+
"""get_list_subscribers
|
|
3387
|
+
|
|
3388
|
+
get list subscribers (followers)
|
|
3389
|
+
|
|
3390
|
+
:param path_query_id: (required)
|
|
3391
|
+
:type path_query_id: str
|
|
3392
|
+
:param variables: (required)
|
|
3393
|
+
:type variables: str
|
|
3394
|
+
:param features: (required)
|
|
3395
|
+
:type features: str
|
|
3396
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3397
|
+
number provided, it will be total request
|
|
3398
|
+
timeout. It can also be a pair (tuple) of
|
|
3399
|
+
(connection, read) timeouts.
|
|
3400
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3401
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3402
|
+
request; this effectively ignores the
|
|
3403
|
+
authentication in the spec for a single request.
|
|
3404
|
+
:type _request_auth: dict, optional
|
|
3405
|
+
:param _content_type: force content-type for the request.
|
|
3406
|
+
:type _content_type: str, Optional
|
|
3407
|
+
:param _headers: set to override the headers for a single
|
|
3408
|
+
request; this effectively ignores the headers
|
|
3409
|
+
in the spec for a single request.
|
|
3410
|
+
:type _headers: dict, optional
|
|
3411
|
+
:param _host_index: set to override the host_index for a single
|
|
3412
|
+
request; this effectively ignores the host_index
|
|
3413
|
+
in the spec for a single request.
|
|
3414
|
+
:type _host_index: int, optional
|
|
3415
|
+
:return: Returns the result object.
|
|
3416
|
+
""" # noqa: E501
|
|
3417
|
+
|
|
3418
|
+
_param = self._get_list_subscribers_serialize(
|
|
3419
|
+
path_query_id=path_query_id,
|
|
3420
|
+
variables=variables,
|
|
3421
|
+
features=features,
|
|
3422
|
+
_request_auth=_request_auth,
|
|
3423
|
+
_content_type=_content_type,
|
|
3424
|
+
_headers=_headers,
|
|
3425
|
+
_host_index=_host_index
|
|
3426
|
+
)
|
|
3427
|
+
|
|
3428
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3429
|
+
'200': "ListSubscribersResponse",
|
|
3430
|
+
}
|
|
3431
|
+
response_data = self.api_client.call_api(
|
|
3432
|
+
*_param,
|
|
3433
|
+
_request_timeout=_request_timeout
|
|
3434
|
+
)
|
|
3435
|
+
return response_data.response
|
|
3436
|
+
|
|
3437
|
+
|
|
3438
|
+
def _get_list_subscribers_serialize(
|
|
3439
|
+
self,
|
|
3440
|
+
path_query_id,
|
|
3441
|
+
variables,
|
|
3442
|
+
features,
|
|
3443
|
+
_request_auth,
|
|
3444
|
+
_content_type,
|
|
3445
|
+
_headers,
|
|
3446
|
+
_host_index,
|
|
3447
|
+
) -> RequestSerialized:
|
|
3448
|
+
|
|
3449
|
+
_host = None
|
|
3450
|
+
|
|
3451
|
+
_collection_formats: Dict[str, str] = {
|
|
3452
|
+
}
|
|
3453
|
+
|
|
3454
|
+
_path_params: Dict[str, str] = {}
|
|
3455
|
+
_query_params: List[Tuple[str, str]] = []
|
|
3456
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3457
|
+
_form_params: List[Tuple[str, str]] = []
|
|
3458
|
+
_files: Dict[
|
|
3459
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
3460
|
+
] = {}
|
|
3461
|
+
_body_params: Optional[bytes] = None
|
|
3462
|
+
|
|
3463
|
+
# process the path parameters
|
|
3464
|
+
if path_query_id is not None:
|
|
3465
|
+
_path_params['pathQueryId'] = path_query_id
|
|
3466
|
+
# process the query parameters
|
|
3467
|
+
if variables is not None:
|
|
3468
|
+
|
|
3469
|
+
_query_params.append(('variables', variables))
|
|
3470
|
+
|
|
3471
|
+
if features is not None:
|
|
3472
|
+
|
|
3473
|
+
_query_params.append(('features', features))
|
|
3474
|
+
|
|
3475
|
+
# process the header parameters
|
|
3476
|
+
# process the form parameters
|
|
3477
|
+
# process the body parameter
|
|
3478
|
+
|
|
3479
|
+
|
|
3480
|
+
# set the HTTP header `Accept`
|
|
3481
|
+
if 'Accept' not in _header_params:
|
|
3482
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3483
|
+
[
|
|
3484
|
+
'application/json'
|
|
3485
|
+
]
|
|
3486
|
+
)
|
|
3487
|
+
|
|
3488
|
+
|
|
3489
|
+
# authentication setting
|
|
3490
|
+
_auth_settings: List[str] = [
|
|
3491
|
+
'Accept',
|
|
3492
|
+
'ClientLanguage',
|
|
3493
|
+
'Priority',
|
|
3494
|
+
'Referer',
|
|
3495
|
+
'SecFetchDest',
|
|
3496
|
+
'SecChUaPlatform',
|
|
3497
|
+
'SecFetchMode',
|
|
3498
|
+
'CsrfToken',
|
|
3499
|
+
'ClientUuid',
|
|
3500
|
+
'BearerAuth',
|
|
3501
|
+
'GuestToken',
|
|
3502
|
+
'SecChUa',
|
|
3503
|
+
'CookieGt0',
|
|
3504
|
+
'ClientTransactionId',
|
|
3505
|
+
'ActiveUser',
|
|
3506
|
+
'CookieCt0',
|
|
3507
|
+
'UserAgent',
|
|
3508
|
+
'AcceptLanguage',
|
|
3509
|
+
'SecFetchSite',
|
|
3510
|
+
'AuthType',
|
|
3511
|
+
'CookieAuthToken',
|
|
3512
|
+
'SecChUaMobile',
|
|
3513
|
+
'AcceptEncoding'
|
|
3514
|
+
]
|
|
3515
|
+
|
|
3516
|
+
return self.api_client.param_serialize(
|
|
3517
|
+
method='GET',
|
|
3518
|
+
resource_path='/graphql/{pathQueryId}/ListSubscribers',
|
|
3519
|
+
path_params=_path_params,
|
|
3520
|
+
query_params=_query_params,
|
|
3521
|
+
header_params=_header_params,
|
|
3522
|
+
body=_body_params,
|
|
3523
|
+
post_params=_form_params,
|
|
3524
|
+
files=_files,
|
|
3525
|
+
auth_settings=_auth_settings,
|
|
3526
|
+
collection_formats=_collection_formats,
|
|
3527
|
+
_host=_host,
|
|
3528
|
+
_request_auth=_request_auth
|
|
3529
|
+
)
|
|
3530
|
+
|
|
3531
|
+
|
|
3532
|
+
|
|
3533
|
+
|
|
1627
3534
|
@validate_call
|
|
1628
3535
|
def get_retweeters(
|
|
1629
3536
|
self,
|