Skip to content

Commit

Permalink
Add and use JSON TypeAlias for Client method return type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Feb 27, 2022
1 parent 0d07d5c commit 18298ed
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 59 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
]

autodoc_typehints = 'description'
autodoc_type_aliases = {'JSON': 'tweepy.client.JSON'}

hoverxref_auto_ref = True
hoverxref_domains = ['py']
Expand Down

0 comments on commit 18298ed

Please sign in to comment.