You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,29 @@
1
1
# Changelog
2
2
3
+
## 0.1.0-alpha.11 (2024-08-07)
4
+
5
+
Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/runloopai/api-client-python/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)
6
+
7
+
### Features
8
+
9
+
***api:** OpenAPI spec update via Stainless API ([#66](https://github.com/runloopai/api-client-python/issues/66)) ([291eddb](https://github.com/runloopai/api-client-python/commit/291eddbf05d2e12d882f8d53baac9617149a1e34))
10
+
***api:** OpenAPI spec update via Stainless API ([#68](https://github.com/runloopai/api-client-python/issues/68)) ([91913d6](https://github.com/runloopai/api-client-python/commit/91913d6fc7582204fbfa37bf780ea287c0940e97))
11
+
***api:** OpenAPI spec update via Stainless API ([#69](https://github.com/runloopai/api-client-python/issues/69)) ([f82c51c](https://github.com/runloopai/api-client-python/commit/f82c51cc8d5a5b8588d0b8e98cae7bcbf06d4f09))
12
+
***api:** OpenAPI spec update via Stainless API ([#70](https://github.com/runloopai/api-client-python/issues/70)) ([b0ffcf0](https://github.com/runloopai/api-client-python/commit/b0ffcf0031ac84240728907ee722ed3e21de3735))
13
+
***api:** OpenAPI spec update via Stainless API ([#75](https://github.com/runloopai/api-client-python/issues/75)) ([213734e](https://github.com/runloopai/api-client-python/commit/213734e474bce92394eea0aea69132d95850f3c8))
14
+
***api:** OpenAPI spec update via Stainless API ([#76](https://github.com/runloopai/api-client-python/issues/76)) ([d6370bc](https://github.com/runloopai/api-client-python/commit/d6370bce09d23275d632e1b265f6207a189fedc7))
15
+
***api:** OpenAPI spec update via Stainless API ([#79](https://github.com/runloopai/api-client-python/issues/79)) ([23d4705](https://github.com/runloopai/api-client-python/commit/23d470542689d3d227ddff7c11464f6a1849003b))
16
+
***client:** add `retry_count` to raw response class ([#73](https://github.com/runloopai/api-client-python/issues/73)) ([e17fb03](https://github.com/runloopai/api-client-python/commit/e17fb0352e692b04df6f67d98a67182a13cd95ee))
***internal:** bump ruff version ([#77](https://github.com/runloopai/api-client-python/issues/77)) ([240971d](https://github.com/runloopai/api-client-python/commit/240971d1eac9b67a3e85369b0617fc9821e048b3))
23
+
***internal:** test updates ([#74](https://github.com/runloopai/api-client-python/issues/74)) ([cac724a](https://github.com/runloopai/api-client-python/commit/cac724a5db2acdecc40a9775dcde49b9f8f9a277))
24
+
***internal:** update pydantic compat helper function ([#78](https://github.com/runloopai/api-client-python/issues/78)) ([3befea7](https://github.com/runloopai/api-client-python/commit/3befea7ec40892a6f6455d81eb87d8c4ab8a7629))
25
+
***internal:** use `TypeAlias` marker for type assignments ([#71](https://github.com/runloopai/api-client-python/issues/71)) ([4de0849](https://github.com/runloopai/api-client-python/commit/4de08497452923cfa328aadfd6626286b3248d17))
26
+
3
27
## 0.1.0-alpha.10 (2024-08-02)
4
28
5
29
Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/runloopai/api-client-python/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)
blueprint= response.parse() # get the object that `blueprints.create()` would have returned
203
-
print(blueprint.id)
202
+
devbox= response.parse() # get the object that `devboxes.create()` would have returned
203
+
print(devbox.id)
204
204
```
205
205
206
206
These methods return an [`APIResponse`](https://github.com/runloopai/api-client-python/tree/main/src/runloop_api_client/_response.py) object.
@@ -214,7 +214,7 @@ The above interface eagerly reads the full response body when you make the reque
214
214
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
215
215
216
216
```python
217
-
with client.blueprints.with_streaming_response.create() as response:
217
+
with client.devboxes.with_streaming_response.create() as response:
Copy file name to clipboardExpand all lines: pyproject.toml
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
[project]
2
2
name = "runloop_api_client"
3
-
version = "0.1.0-alpha.10"
3
+
version = "0.1.0-alpha.11"
4
4
description = "The official Python library for the runloop API"
5
5
dynamic = ["readme"]
6
6
license = "MIT"
@@ -77,8 +77,8 @@ format = { chain = [
77
77
"check:ruff",
78
78
"typecheck",
79
79
]}
80
-
"check:ruff" = "ruff ."
81
-
"fix:ruff" = "ruff --fix ."
80
+
"check:ruff" = "ruff check ."
81
+
"fix:ruff" = "ruff check --fix ."
82
82
83
83
typecheck = { chain = [
84
84
"typecheck:pyright",
@@ -162,6 +162,11 @@ reportPrivateUsage = false
162
162
line-length = 120
163
163
output-format = "grouped"
164
164
target-version = "py37"
165
+
166
+
[tool.ruff.format]
167
+
docstring-code-format = true
168
+
169
+
[tool.ruff.lint]
165
170
select = [
166
171
# isort
167
172
"I",
@@ -192,9 +197,6 @@ unfixable = [
192
197
]
193
198
ignore-init-module-imports = true
194
199
195
-
[tool.ruff.format]
196
-
docstring-code-format = true
197
-
198
200
[tool.ruff.lint.flake8-tidy-imports.banned-api]
199
201
"functools.lru_cache".msg = "This function does not retain type information for the wrapped function's arguments; The `lru_cache` function from `_utils` should be used instead"
0 commit comments