From: Harmon Date: Thu, 27 May 2021 15:49:40 +0000 (-0500) Subject: Update and improve documentation for API.chunked_upload_finalize X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=527d07552f535f2d54409abc81c06b497c58f30a;p=tweepy.git Update and improve documentation for API.chunked_upload_finalize --- diff --git a/tweepy/api.py b/tweepy/api.py index f96fecd..7c615f0 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -3566,11 +3566,18 @@ class API: ``processing_info field``, it may also be necessary to check its status and wait for it to return success before proceeding to Tweet creation. - :param media_id: The ``media_id`` returned from the initialization. + Parameters + ---------- + media_id + The ``media_id`` returned from the initialization. - :rtype: :class:`Media` object + Returns + ------- + :class:`~tweepy.models.Media` - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/media/upload-media/api-reference/post-media-upload-finalize + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/media/upload-media/api-reference/post-media-upload-finalize """ headers = {'Content-Type': 'application/x-www-form-urlencoded'} post_data = {