Skip to content

Commit b09f7b3

Browse files
authored
Merge pull request #32 from zsimpso/fix-31
#31: update docstrings to be proper type
2 parents 41ffc84 + 82eeece commit b09f7b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_portalbase/network.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def fetch(self, url, *, headers=None, timeout=10):
447447
"""Fetch data from the specified url and return a response object
448448
449449
:param str url: The URL to fetch from.
450-
:param list headers: Extra headers to include in the request.
450+
:param dict headers: Extra headers to include in the request.
451451
:param int timeout: The timeout period in seconds.
452452
453453
"""
@@ -538,7 +538,7 @@ def fetch_data(
538538
"""Fetch data from the specified url and perfom any parsing
539539
540540
:param str url: The URL to fetch from.
541-
:param list headers: Extra headers to include in the request.
541+
:param dict headers: Extra headers to include in the request.
542542
:param json_path: The path to drill down into the JSON data.
543543
:param regexp_path: The path formatted as a regular expression to search
544544
the text data.

0 commit comments

Comments
 (0)