Skip to content

Commit 23fe5ec

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#27)
1 parent 051824c commit 23fe5ec

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ The REST API documentation can be found on [lumalabs.ai](https://lumalabs.ai). T
1313
## Installation
1414

1515
```sh
16-
# install from PyPI
17-
pip install --pre lumaai
16+
# install from the production repo
17+
pip install git+ssh://git@github.com/lumalabs/lumaai-python.git
1818
```
1919

20+
> [!NOTE]
21+
> Once this package is [published to PyPI](https://app.stainlessapi.com/docs/guides/publish), this will become: `pip install --pre lumaai`
22+
2023
## Usage
2124

2225
The full API of this library can be found in [api.md](api.md).

src/lumaai/_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __init__(
9292
if base_url is None:
9393
base_url = os.environ.get("LUMAAI_BASE_URL")
9494
if base_url is None:
95-
base_url = f"https://api.lumalabs.ai/dream-machine/v1alpha"
95+
base_url = f"https://api.lumalabs.ai/dream-machine/v1"
9696

9797
super().__init__(
9898
version=__version__,
@@ -262,7 +262,7 @@ def __init__(
262262
if base_url is None:
263263
base_url = os.environ.get("LUMAAI_BASE_URL")
264264
if base_url is None:
265-
base_url = f"https://api.lumalabs.ai/dream-machine/v1alpha"
265+
base_url = f"https://api.lumalabs.ai/dream-machine/v1"
266266

267267
super().__init__(
268268
version=__version__,

0 commit comments

Comments
 (0)