Skip to content

Commit 205bb60

Browse files
SDK regeneration
1 parent 38c4aa9 commit 205bb60

File tree

148 files changed

+1609
-610
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+1609
-610
lines changed

.fern/metadata.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"cliVersion": "3.10.0",
2+
"cliVersion": "3.54.1",
33
"generatorName": "fernapi/fern-python-sdk",
4-
"generatorVersion": "4.45.3",
4+
"generatorVersion": "4.54.2",
55
"generatorConfig": {
66
"package_name": "truefoundry_sdk",
77
"pydantic_config": {
@@ -21,5 +21,6 @@
2121
"Jinja2": ">=3.1.6,<4.0.0",
2222
"numpydoc": ">=1.7.0,<2.0.0"
2323
}
24-
}
24+
},
25+
"sdkVersion": "0.0.0"
2526
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ client = TrueFoundry(
191191
)
192192
response = client.applications.with_raw_response.list(...)
193193
print(response.headers) # access the response headers
194+
print(response.status_code) # access the response status code
194195
print(response.data) # access the underlying object
195196
pager = client.users.list(...)
196197
print(pager.response) # access the typed response for the first page

poetry.lock

Lines changed: 58 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ classifiers = [
1919
"Programming Language :: Python :: 3.10",
2020
"Programming Language :: Python :: 3.11",
2121
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
23+
"Programming Language :: Python :: 3.14",
24+
"Programming Language :: Python :: 3.15",
2225
"Operating System :: OS Independent",
2326
"Operating System :: POSIX",
2427
"Operating System :: MacOS",

reference.md

Lines changed: 132 additions & 132 deletions
Large diffs are not rendered by default.

src/truefoundry_sdk/application_versions/raw_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def list(
8787
_get_next = lambda: self.list(
8888
id,
8989
limit=limit,
90-
offset=offset + len(_items),
90+
offset=offset + len(_items or []),
9191
version=version,
9292
deployment_id=deployment_id,
9393
request_options=request_options,
@@ -256,7 +256,7 @@ async def _get_next():
256256
return await self.list(
257257
id,
258258
limit=limit,
259-
offset=offset + len(_items),
259+
offset=offset + len(_items or []),
260260
version=version,
261261
deployment_id=deployment_id,
262262
request_options=request_options,

src/truefoundry_sdk/applications/raw_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def list(
160160
_has_next = True
161161
_get_next = lambda: self.list(
162162
limit=limit,
163-
offset=offset + len(_items),
163+
offset=offset + len(_items or []),
164164
application_id=application_id,
165165
workspace_id=workspace_id,
166166
application_name=application_name,
@@ -800,7 +800,7 @@ async def list(
800800
async def _get_next():
801801
return await self.list(
802802
limit=limit,
803-
offset=offset + len(_items),
803+
offset=offset + len(_items or []),
804804
application_id=application_id,
805805
workspace_id=workspace_id,
806806
application_name=application_name,

src/truefoundry_sdk/artifact_versions/raw_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def list(
286286
version=version,
287287
run_ids=run_ids,
288288
run_steps=run_steps,
289-
offset=offset + len(_items),
289+
offset=offset + len(_items or []),
290290
limit=limit,
291291
include_internal_metadata=include_internal_metadata,
292292
request_options=request_options,
@@ -886,7 +886,7 @@ async def _get_next():
886886
version=version,
887887
run_ids=run_ids,
888888
run_steps=run_steps,
889-
offset=offset + len(_items),
889+
offset=offset + len(_items or []),
890890
limit=limit,
891891
include_internal_metadata=include_internal_metadata,
892892
request_options=request_options,

src/truefoundry_sdk/artifacts/raw_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def list(
189189
fqn=fqn,
190190
ml_repo_id=ml_repo_id,
191191
name=name,
192-
offset=offset + len(_items),
192+
offset=offset + len(_items or []),
193193
limit=limit,
194194
run_id=run_id,
195195
include_empty_artifacts=include_empty_artifacts,
@@ -437,7 +437,7 @@ async def _get_next():
437437
fqn=fqn,
438438
ml_repo_id=ml_repo_id,
439439
name=name,
440-
offset=offset + len(_items),
440+
offset=offset + len(_items or []),
441441
limit=limit,
442442
run_id=run_id,
443443
include_empty_artifacts=include_empty_artifacts,

src/truefoundry_sdk/clusters/raw_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def list(
8282
_has_next = True
8383
_get_next = lambda: self.list(
8484
limit=limit,
85-
offset=offset + len(_items),
85+
offset=offset + len(_items or []),
8686
request_options=request_options,
8787
)
8888
return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response)
@@ -496,7 +496,7 @@ async def list(
496496
async def _get_next():
497497
return await self.list(
498498
limit=limit,
499-
offset=offset + len(_items),
499+
offset=offset + len(_items or []),
500500
request_options=request_options,
501501
)
502502

0 commit comments

Comments
 (0)