Skip to content

Commit

Permalink
docs: Add client closing instructions to Python SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
mason-at-pieces committed Aug 24, 2024
1 parent 5a38a88 commit 1ba91a7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/build/sdks/python/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ host_url = "http://your-host-url:your-port"
pieces_client = PiecesClient(host=host_url)
```

### Closing the Client

After you have finished using the Pieces Client, you should always close the client to free up resources:

```python
pieces_client.close()
```

## Examples

Here are some examples of how you can use to get familiar with the Pieces OS Client SDK.
Expand Down

0 comments on commit 1ba91a7

Please sign in to comment.