Skip to content

Commit

Permalink
fix additional mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed May 21, 2024
1 parent 99ccdb6 commit 356b60c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/website/docs/general-usage/http/rest-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ from dlt.sources.helpers.rest_client import RESTClient
from dlt.sources.helpers.rest_client.auth import BearerTokenAuth

client = RESTClient(base_url="https://api.example.com")
response = client.get("/posts", auth=BearerTokenAuth(token="your_access_token"))
response = client.get("/posts", auth=BearerTokenAuth(token="your_access_token")) # type: ignore

print(response.status_code)
print(response.headers)
Expand Down Expand Up @@ -589,7 +589,7 @@ def response_hook(response, **kwargs):

for page in client.paginate(
"/posts",
auth=BearerTokenAuth(token="your_access_token"),
auth=BearerTokenAuth(token="your_access_token"), # type: ignore
hooks={"response": [response_hook]}
):
print(page)
Expand Down

0 comments on commit 356b60c

Please sign in to comment.