8000 Improve Insertion of Kwargs into `Bot` Methods by Bibo-Joshi · Pull Request #3965 · python-telegram-bot/python-telegram-bot · GitHub
[go: up one dir, main page]

Skip to content

Improve Insertion of Kwargs into Bot Methods #3965

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

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

Bibo-Joshi
Copy link
Member

Fixes the issue that the kwargs that we auto-insert intsead of hard-coding are not properly indexed and do not show up in

  • the rules-bot search
  • in the pop-up windows search in the docs

nice side-effect: we can now write the insertion as google style docstring

Should be aligned with #3952, i.e. whichever is merged second must adapt.

@Bibo-Joshi Bibo-Joshi added the ⚙️ documentation affected functionality: documentation label Nov 4, 2023
@Bibo-Joshi Bibo-Joshi requested a review from harshil21 November 4, 2023 17:12
Copy link
Member
@harshil21 harshil21 left a comment

Choose a reason for hiding this comment

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

Perfect! I had tried this earlier but it didn't work because I missed the priority setting, TIL.

@Bibo-Joshi Bibo-Joshi merged commit 6d2334c into master Nov 5, 2023
@Bibo-Joshi Bibo-Joshi deleted the doc-improve-inserted-kwargs branch November 5, 2023 10:47
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
⚙️ documentation affected functionality: documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0