Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Nov 13, 2024
1 parent 64fe80c commit 69ef0db
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 @@ -7,7 +7,7 @@ A client library for accessing Ctrlplane API
First, create a client:

```python
from ctrlplane_api_client import Client
from ctrlplane import Client

client = Client(base_url="https://api.example.com")
```
Expand Down Expand Up @@ -83,7 +83,7 @@ Things to know:
There are more settings on the generated `Client` class which let you control more runtime behavior, check out the docstring on that class for more info. You can also customize the underlying `httpx.Client` or `httpx.AsyncClient` (depending on your use-case):

```python
from ctrlplane_api_client import Client
from ctrlplane import Client

def log_request(request):
print(f"Request event hook: {request.method} {request.url} - Waiting for response")
Expand All @@ -104,7 +104,7 @@ You can even set the httpx client directly, but beware that this will override a

```python
import httpx
from ctrlplane_api_client import Client
from ctrlplane import Client

client = Client(
base_url="https://api.example.com",
Expand Down

0 comments on commit 69ef0db

Please sign in to comment.