Skip to content

Commit

Permalink
Fixed some typos in README for SimpleOsduClient instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
puremcc authored Oct 13, 2020
1 parent c0abd70 commit 7e2368b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ pip install osdupy
If environment variable `OSDU_API_URL` is set, then it does not need to be passed as an argument. Otherwise it must be passed as keyword argument.

```python
from osdu.client import AwsOsduClient
from osdu.client import SimpleOsduClient

data_partition = 'opendes'
token = 'token-received-from-front-end-app'

# With env var `OSDU_API_URL` set in current environment.
osdu = AwsOsduClient(data_partition, token)
osdu = SimpleOsduClient(data_partition, token)

# Without env var set.
api_url = 'https://your.api.base_url.com'
osdu = AwsOsduClient(data_partition, token, api_url=api_url)
osdu = SimpleOsduClient(data_partition, token, api_url=api_url)

```

Expand Down

0 comments on commit 7e2368b

Please sign in to comment.