Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing "variants" to Media Object #1910

Merged
merged 2 commits into from Oct 27, 2022
Merged

Add missing "variants" to Media Object #1910

merged 2 commits into from Oct 27, 2022

Conversation

New-dev0
Copy link
Contributor

@New-dev0 New-dev0 commented Jun 9, 2022

Media object was missing the variants attribute/data.
even though it was present in https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/media

@New-dev0 New-dev0 changed the title Add missing variant to Media Object Add missing "variants" to Media Object Jun 9, 2022
Copy link
Member

@Harmon758 Harmon758 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR.

This was previously undocumented and seems to have been added without any announcement or notice.

A version changed directive needs to be added to the documentation.
This should end up being released with v4.12.

tweepy/media.py Outdated Show resolved Hide resolved
@Harmon758 Harmon758 added Improvement This is regarding an improvement to an existing feature Need Follow-Up This needs to be followed up on to be actionable Documentation This is regarding the library's documentation labels Oct 27, 2022
Co-authored-by: Harmon <Harmon758@gmail.com>
@Harmon758 Harmon758 removed the Need Follow-Up This needs to be followed up on to be actionable label Oct 27, 2022
@Harmon758 Harmon758 merged commit d39847e into tweepy:master Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation This is regarding the library's documentation Improvement This is regarding an improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants