From 69ef0db3223ae2b9447be666432adaa98815230b Mon Sep 17 00:00:00 2001 From: Justin Brooks Date: Tue, 12 Nov 2024 21:19:37 -0500 Subject: [PATCH] fix docs --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cefe37c..486de1e 100644 --- a/README.md +++ b/README.md @@ -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") ``` @@ -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") @@ -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",