Skip to content

Commit

Permalink
fix Client docstring
Browse files Browse the repository at this point in the history
Signed-off-by: flashdagger <flashdagger@googlemail.com>
  • Loading branch information
flashdagger committed Oct 28, 2023
1 parent 855ff18 commit 0d4702c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zammadoo/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ class Client:
from zammadoo import Client
# basic authentication scheme
client = Client("https://myhost.com/api/v1/", http_auth=("<username>", "<mysecret>")
client = Client("https://myhost.com/api/v1/", http_auth=("<username>", "<mysecret>"))
# token based authentication
client = Client("https://myhost.com/api/v1/", http_token="<secret_token>"
client = Client("https://myhost.com/api/v1/", http_token="<secret_token>")
# authenticate with bearer token (OAuth 2.0)
client = Client("https://myhost.com/api/v1/", oauth2_token="<secret_token>"
client = Client("https://myhost.com/api/v1/", oauth2_token="<secret_token>")
"""

Expand Down

0 comments on commit 0d4702c

Please sign in to comment.