Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions adafruit_portalbase/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def fetch(self, url, *, headers=None, timeout=10):
"""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.

"""
Expand Down Expand Up @@ -538,7 +538,7 @@ def fetch_data(
"""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.
Expand Down