Skip to content

Commit 9bf975b

Browse files
committed
chore: update SDK settings
1 parent 4886cd2 commit 9bf975b

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Onebusaway SDK Python API library
22

3-
[![PyPI version](https://img.shields.io/pypi/v/onebusaway-sdk.svg)](https://pypi.org/project/onebusaway-sdk/)
3+
[![PyPI version](https://img.shields.io/pypi/v/onebusaway.svg)](https://pypi.org/project/onebusaway/)
44

55
The Onebusaway SDK Python library provides convenient access to the Onebusaway SDK REST API from any Python 3.7+
66
application. The library includes type definitions for all request params and response fields,
@@ -20,7 +20,7 @@ pip install git+ssh://git@github.com/stainless-sdks/open-transit-python.git
2020
```
2121

2222
> [!NOTE]
23-
> Once this package is [published to PyPI](https://app.stainlessapi.com/docs/guides/publish), this will become: `pip install --pre onebusaway-sdk`
23+
> Once this package is [published to PyPI](https://app.stainlessapi.com/docs/guides/publish), this will become: `pip install --pre onebusaway`
2424
2525
## Usage
2626

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "onebusaway-sdk"
2+
name = "onebusaway"
33
version = "0.0.1-alpha.0"
44
description = "The official Python library for the onebusaway-sdk API"
55
dynamic = ["readme"]

requirements-dev.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ annotated-types==0.6.0
1313
# via pydantic
1414
anyio==4.4.0
1515
# via httpx
16-
# via onebusaway-sdk
16+
# via onebusaway
1717
argcomplete==3.1.2
1818
# via nox
1919
attrs==23.1.0
@@ -27,7 +27,7 @@ dirty-equals==0.6.0
2727
distlib==0.3.7
2828
# via virtualenv
2929
distro==1.8.0
30-
# via onebusaway-sdk
30+
# via onebusaway
3131
exceptiongroup==1.1.3
3232
# via anyio
3333
filelock==3.12.4
@@ -37,7 +37,7 @@ h11==0.14.0
3737
httpcore==1.0.2
3838
# via httpx
3939
httpx==0.25.2
40-
# via onebusaway-sdk
40+
# via onebusaway
4141
# via respx
4242
idna==3.4
4343
# via anyio
@@ -65,7 +65,7 @@ pluggy==1.3.0
6565
py==1.11.0
6666
# via pytest
6767
pydantic==2.7.1
68-
# via onebusaway-sdk
68+
# via onebusaway
6969
pydantic-core==2.18.2
7070
# via pydantic
7171
pygments==2.18.0
@@ -88,15 +88,15 @@ six==1.16.0
8888
sniffio==1.3.0
8989
# via anyio
9090
# via httpx
91-
# via onebusaway-sdk
91+
# via onebusaway
9292
time-machine==2.9.0
9393
tomli==2.0.1
9494
# via mypy
9595
# via pytest
9696
typing-extensions==4.8.0
9797
# via anyio
9898
# via mypy
99-
# via onebusaway-sdk
99+
# via onebusaway
100100
# via pydantic
101101
# via pydantic-core
102102
virtualenv==20.24.5

requirements.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,33 @@ annotated-types==0.6.0
1313
# via pydantic
1414
anyio==4.4.0
1515
# via httpx
16-
# via onebusaway-sdk
16+
# via onebusaway
1717
certifi==2023.7.22
1818
# via httpcore
1919
# via httpx
2020
distro==1.8.0
21-
# via onebusaway-sdk
21+
# via onebusaway
2222
exceptiongroup==1.1.3
2323
# via anyio
2424
h11==0.14.0
2525
# via httpcore
2626
httpcore==1.0.2
2727
# via httpx
2828
httpx==0.25.2
29-
# via onebusaway-sdk
29+
# via onebusaway
3030
idna==3.4
3131
# via anyio
3232
# via httpx
3333
pydantic==2.7.1
34-
# via onebusaway-sdk
34+
# via onebusaway
3535
pydantic-core==2.18.2
3636
# via pydantic
3737
sniffio==1.3.0
3838
# via anyio
3939
# via httpx
40-
# via onebusaway-sdk
40+
# via onebusaway
4141
typing-extensions==4.8.0
4242
# via anyio
43-
# via onebusaway-sdk
43+
# via onebusaway
4444
# via pydantic
4545
# via pydantic-core

src/onebusaway/_base_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def __init__(
363363

364364
if max_retries is None: # pyright: ignore[reportUnnecessaryComparison]
365365
raise TypeError(
366-
"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 `onebusaway-sdk.DEFAULT_MAX_RETRIES`"
366+
"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 `onebusaway.DEFAULT_MAX_RETRIES`"
367367
)
368368

369369
def _enforce_trailing_slash(self, url: URL) -> URL:

0 commit comments

Comments
 (0)