- Notifications
You must be signed in to change notification settings - Fork5.7k
Description
Steps to Reproduce
- Check the docs forgamehighscore
- No returned in admonition present
Expected behaviour
It should show Returned inBot.get_game_high_scores
.
I propose refactoring the code ofAdmonitionInserter._resolve_arg
, since that is why this fails. I am unsure whytyping.get_origin
is used insteadtyping.get_args
. Moreover, we can let python resolve forward refs, as we've done recently intest_official
, which should reduce complexity.
Actual behaviour
Nothing shown.
Operating System
Agnostic
Version of Python, python-telegram-bot & dependencies
python-telegram-bot 21.4 (v21.4-13-g356a58ffd)Bot API 7.8Python 3.13.0b1 (main, May 10 2024, 23:59:20) [GCC 13.2.0]
Relevant log output
No response
Additional Context
No response