diff --git a/requests/help.py b/requests/help.py index 5440ee61..20df0eaf 100644 --- a/requests/help.py +++ b/requests/help.py @@ -10,6 +10,8 @@ import idna import urllib3 import chardet +from typing import Dict + from . import __version__ as requests_version try: @@ -23,7 +25,7 @@ else: import cryptography -def _implementation(): +def _implementation() -> Dict: """Return a dict with the Python implementation and version. Provide both the name and the version of the Python implementation @@ -56,7 +58,7 @@ def _implementation(): return {'name': implementation, 'version': implementation_version} -def info(): +def info() -> Dict: """Generate information for a bug report.""" try: platform_info = {