Skip to content

#31: update docstrings to be proper type #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 19, 2021
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