Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Jul 10, 2024
1 parent 6a92603 commit 181db49
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Studio SDK Python API library

[![PyPI version](https://img.shields.io/pypi/v/studio_sdk.svg)](https://pypi.org/project/studio_sdk/)
[![PyPI version](https://img.shields.io/pypi/v/studio-sdk.svg)](https://pypi.org/project/studio-sdk/)

The Studio SDK Python library provides convenient access to the Studio SDK REST API from any Python 3.7+
application. The library includes type definitions for all request params and response fields,
Expand All @@ -20,7 +20,7 @@ pip install git+ssh://[email protected]/clear-street/studio-sdk-python.git
```

> [!NOTE]
> Once this package is [published to PyPI](https://app.stainlessapi.com/docs/guides/publish), this will become: `pip install --pre studio_sdk`
> Once this package is [published to PyPI](https://app.stainlessapi.com/docs/guides/publish), this will become: `pip install --pre studio-sdk`
## Usage

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "studio_sdk"
name = "studio-sdk"
version = "0.1.0-alpha.2"
description = "The official Python library for the studio-sdk API"
dynamic = ["readme"]
Expand Down
2 changes: 1 addition & 1 deletion src/studio_sdk/_base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def __init__(

if max_retries is None: # pyright: ignore[reportUnnecessaryComparison]
raise TypeError(
"max_retries cannot be None. If you want to disable retries, pass `0`; if you want unlimited retries, pass `math.inf` or a very high number; if you want the default behavior, pass `studio_sdk.DEFAULT_MAX_RETRIES`"
"max_retries cannot be None. If you want to disable retries, pass `0`; if you want unlimited retries, pass `math.inf` or a very high number; if you want the default behavior, pass `studio-sdk.DEFAULT_MAX_RETRIES`"
)

def _enforce_trailing_slash(self, url: URL) -> URL:
Expand Down

0 comments on commit 181db49

Please sign in to comment.