Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Update auth to use a tuple directly
Browse files Browse the repository at this point in the history
  • Loading branch information
piotch authored Jan 9, 2018
1 parent eed38ca commit c2680f1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
# Usage

```python
from requests.auth import HTTPBasicAuth

username, password = '###', '###'

auth = HTTPBasicAuth(username, password)
auth = ('<username>', '<password>')
client = ToucanClient('https://api.some.project.com/my_small_app', auth=auth)
etl_config = client.config.etl.get() # -> GET 'https://api.some.project.com/config/etl'

Expand Down

0 comments on commit c2680f1

Please sign in to comment.