code: def update_status_with_media(self, **params):  # pragma: no cover
          
          warnings.warn(
              'This method is deprecated. You should use Twython.upload_media instead.',
              TwythonDeprecationWarning,
              stacklevel=2
          )
          return self.post('statuses/update_with_media', params=params)
docs: Updates the authenticating user's current status and attaches media
          for upload. In other words, it creates a Tweet with a picture attached.
  
          Docs:
          https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update_with_media