Skip to content

Commit 6d7e4e3

Browse files
SDK regeneration
1 parent b9e2acd commit 6d7e4e3

58 files changed

Lines changed: 1866 additions & 1403 deletions

Some content is hidden

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

.fern/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"numpydoc": ">=1.7.0,<2.0.0"
2323
}
2424
},
25-
"originGitCommit": "e31deb1da1fadcf071eb2a26d8efc4a6a8e66849",
25+
"originGitCommit": "778e8b5bef360a64bc461b98e9e253fde0c829d1",
2626
"originGitCommitIsDirty": false,
2727
"invokedBy": "ci",
2828
"requestedVersion": "0.0.0",

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ A full reference for this library is available [here](https://github.com/truefou
4141
Instantiate and use the client with the following:
4242

4343
```python
44-
from truefoundry_sdk import TrueFoundry
45-
from truefoundry_sdk.applications import ApplicationsListRequestApplicationType, ApplicationsListRequestDeviceTypeFilter, ApplicationsListRequestLifecycleStage
44+
from truefoundry_sdk import TrueFoundry, ApplicationType
45+
from truefoundry_sdk.applications import ApplicationsListRequestDeviceTypeFilter, ApplicationsListRequestLifecycleStage
4646

4747
client = TrueFoundry(
4848
api_key="<token>",
@@ -57,7 +57,7 @@ client.applications.list(
5757
application_name="applicationName",
5858
fqn="fqn",
5959
workspace_fqn="workspaceFqn",
60-
application_type=ApplicationsListRequestApplicationType.ASYNC_SERVICE,
60+
application_type=ApplicationType.ASYNC_SERVICE,
6161
name_search_query="nameSearchQuery",
6262
environment_id="environmentId",
6363
cluster_id="clusterId",
@@ -76,7 +76,7 @@ The SDK also exports an `async` client so that you can make non-blocking calls t
7676

7777
```python
7878
import asyncio
79-
from truefoundry_sdk.applications import ApplicationsListRequestApplicationType, ApplicationsListRequestDeviceTypeFilter, ApplicationsListRequestLifecycleStage
79+
from truefoundry_sdk.applications import ApplicationsListRequestDeviceTypeFilter, ApplicationsListRequestLifecycleStage
8080

8181
from truefoundry_sdk import AsyncTrueFoundry
8282

@@ -95,7 +95,7 @@ async def main() -> None:
9595
application_name="applicationName",
9696
fqn="fqn",
9797
workspace_fqn="workspaceFqn",
98-
application_type=ApplicationsListRequestApplicationType.ASYNC_SERVICE,
98+
application_type=ApplicationType.ASYNC_SERVICE,
9999
name_search_query="nameSearchQuery",
100100
environment_id="environmentId",
101101
cluster_id="clusterId",
@@ -131,8 +131,8 @@ except ApiError as e:
131131
Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used as generators for the underlying object.
132132

133133
```python
134-
from truefoundry_sdk import TrueFoundry
135-
from truefoundry_sdk.applications import ApplicationsListRequestApplicationType, ApplicationsListRequestDeviceTypeFilter, ApplicationsListRequestLifecycleStage
134+
from truefoundry_sdk import TrueFoundry, ApplicationType
135+
from truefoundry_sdk.applications import ApplicationsListRequestDeviceTypeFilter, ApplicationsListRequestLifecycleStage
136136

137137
client = TrueFoundry(
138138
api_key="<token>",
@@ -147,7 +147,7 @@ client.applications.list(
147147
application_name="applicationName",
148148
fqn="fqn",
149149
workspace_fqn="workspaceFqn",
150-
application_type=ApplicationsListRequestApplicationType.ASYNC_SERVICE,
150+
application_type=ApplicationType.ASYNC_SERVICE,
151151
name_search_query="nameSearchQuery",
152152
environment_id="environmentId",
153153
cluster_id="clusterId",

poetry.lock

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

0 commit comments

Comments
 (0)