update docstrings to be proper type

This commit is contained in:
Zach Simpson 2021-04-18 22:24:41 -04:00
parent 41ffc84b97
commit 82eeece0a5

View file

@ -447,7 +447,7 @@ class NetworkBase:
"""Fetch data from the specified url and return a response object
:param str url: The URL to fetch from.
:param list headers: Extra headers to include in the request.
:param dict headers: Extra headers to include in the request.
:param int timeout: The timeout period in seconds.
"""
@ -538,7 +538,7 @@ class NetworkBase:
"""Fetch data from the specified url and perfom any parsing
:param str url: The URL to fetch from.
:param list headers: Extra headers to include in the request.
:param dict headers: Extra headers to include in the request.
:param json_path: The path to drill down into the JSON data.
:param regexp_path: The path formatted as a regular expression to search
the text data.