Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed obsolete documentation.#4448

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

Palaptin
Copy link
Contributor

Removed warnings of the thumbnail_url parameters, regarding the deprecated parameter thumb, as well as the optional annotation in the docs. Instead, added 'versionchanged' everywhere pointing to 20.5, the version where the thumb parameter was removed. Added a new substitutions ('thumbnail_url_mandatory') to global.rst, used in all these 'versionchanged'. Also removed the now obsolete 'Raises' paragraphs from all classes. For file inlinequeryresultvideo.py it was also necessary to remove the optional annotation as well as the warning from title parameter. this parameter had to be made optional earlier, to be able to made thumb_url/thumbnail_url optional.

Also had a look at the other inlinequeryresult* files, but there seems everything to be all right.

Removed warnings of the thumbnail_url parameters, regarding the deprecated parameter thumb, as well as the optional annotation in the docs.Instead, added 'versionchanged' everywhere pointing to 20.5, the version where the  thumb parameter was removed.Added a new substitutions ('thumbnail_url_mandatory') to global.rst, used in all these 'versionchanged'.Also removed the now obsolete 'Raises' paragraphs from all classes.For file inlinequeryresultvideo.py it was also necessary to remove the optional annotation as well as the warning from title parameter. this parameter had to be made optional earlier, to be able to made thumb_url/thumbnail_url optional.Also had a look at the other inlinequeryresult* files, but there seems everything to be all right.
Copy link
Member

@Bibo-JoshiBibo-Joshi left a comment

Choose a reason for hiding this comment

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

Just one very slight nitpick. Thanks a lot for taking the time for this!

@Bibo-JoshiBibo-Joshi merged commitbab361e intopython-telegram-bot:doc-fixesSep 1, 2024
5 of 23 checks passed
@Bibo-JoshiBibo-Joshi mentioned this pull requestSep 1, 2024
1 task
Bibo-Joshi added a commit that referenced this pull requestSep 1, 2024
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>Co-authored-by: Palaptin <100526200+Palaptin@users.noreply.github.com>
@PalaptinPalaptin deleted the inline-thumbnail-parameter-doc-fix branchSeptember 2, 2024 04:47
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsSep 10, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@Bibo-JoshiBibo-JoshiBibo-Joshi approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Palaptin@Bibo-Joshi

[8]ページ先頭

©2009-2025 Movatter.jp