Skip to content

Commit 2139387

Browse files
feat(api): update via SDK Studio
1 parent c9288d5 commit 2139387

File tree

87 files changed

+3012
-4954
lines changed

Some content is hidden

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

87 files changed

+3012
-4954
lines changed

Diff for: .stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
configured_endpoints: 71
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-e382faa61767fc46a2a12e401bc7504f3b8925829c6ecaea5b2553281a5c4e7a.yml
1+
configured_endpoints: 64
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-a56421de8c29e0197c90fcbce09d837e8736c3a808b36b242b5c317231ce91fe.yml

Diff for: api.md

+20-28
Large diffs are not rendered by default.

Diff for: src/gitpod/_client.py

+9
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from ._version import __version__
2727
from .resources import (
2828
tasks,
29+
editors,
2930
projects,
3031
services,
3132
environments,
@@ -53,6 +54,7 @@ class Gitpod(SyncAPIClient):
5354
services: services.ServicesResource
5455
automations_files: automations_files.AutomationsFilesResource
5556
tasks: tasks.TasksResource
57+
editors: editors.EditorsResource
5658
environment_automations: environment_automations.EnvironmentAutomationsResource
5759
environments: environments.EnvironmentsResource
5860
environment_classes: environment_classes.EnvironmentClassesResource
@@ -109,6 +111,7 @@ def __init__(
109111
self.services = services.ServicesResource(self)
110112
self.automations_files = automations_files.AutomationsFilesResource(self)
111113
self.tasks = tasks.TasksResource(self)
114+
self.editors = editors.EditorsResource(self)
112115
self.environment_automations = environment_automations.EnvironmentAutomationsResource(self)
113116
self.environments = environments.EnvironmentsResource(self)
114117
self.environment_classes = environment_classes.EnvironmentClassesResource(self)
@@ -222,6 +225,7 @@ class AsyncGitpod(AsyncAPIClient):
222225
services: services.AsyncServicesResource
223226
automations_files: automations_files.AsyncAutomationsFilesResource
224227
tasks: tasks.AsyncTasksResource
228+
editors: editors.AsyncEditorsResource
225229
environment_automations: environment_automations.AsyncEnvironmentAutomationsResource
226230
environments: environments.AsyncEnvironmentsResource
227231
environment_classes: environment_classes.AsyncEnvironmentClassesResource
@@ -278,6 +282,7 @@ def __init__(
278282
self.services = services.AsyncServicesResource(self)
279283
self.automations_files = automations_files.AsyncAutomationsFilesResource(self)
280284
self.tasks = tasks.AsyncTasksResource(self)
285+
self.editors = editors.AsyncEditorsResource(self)
281286
self.environment_automations = environment_automations.AsyncEnvironmentAutomationsResource(self)
282287
self.environments = environments.AsyncEnvironmentsResource(self)
283288
self.environment_classes = environment_classes.AsyncEnvironmentClassesResource(self)
@@ -392,6 +397,7 @@ def __init__(self, client: Gitpod) -> None:
392397
self.services = services.ServicesResourceWithRawResponse(client.services)
393398
self.automations_files = automations_files.AutomationsFilesResourceWithRawResponse(client.automations_files)
394399
self.tasks = tasks.TasksResourceWithRawResponse(client.tasks)
400+
self.editors = editors.EditorsResourceWithRawResponse(client.editors)
395401
self.environment_automations = environment_automations.EnvironmentAutomationsResourceWithRawResponse(
396402
client.environment_automations
397403
)
@@ -420,6 +426,7 @@ def __init__(self, client: AsyncGitpod) -> None:
420426
client.automations_files
421427
)
422428
self.tasks = tasks.AsyncTasksResourceWithRawResponse(client.tasks)
429+
self.editors = editors.AsyncEditorsResourceWithRawResponse(client.editors)
423430
self.environment_automations = environment_automations.AsyncEnvironmentAutomationsResourceWithRawResponse(
424431
client.environment_automations
425432
)
@@ -448,6 +455,7 @@ def __init__(self, client: Gitpod) -> None:
448455
client.automations_files
449456
)
450457
self.tasks = tasks.TasksResourceWithStreamingResponse(client.tasks)
458+
self.editors = editors.EditorsResourceWithStreamingResponse(client.editors)
451459
self.environment_automations = environment_automations.EnvironmentAutomationsResourceWithStreamingResponse(
452460
client.environment_automations
453461
)
@@ -476,6 +484,7 @@ def __init__(self, client: AsyncGitpod) -> None:
476484
client.automations_files
477485
)
478486
self.tasks = tasks.AsyncTasksResourceWithStreamingResponse(client.tasks)
487+
self.editors = editors.AsyncEditorsResourceWithStreamingResponse(client.editors)
479488
self.environment_automations = environment_automations.AsyncEnvironmentAutomationsResourceWithStreamingResponse(
480489
client.environment_automations
481490
)

Diff for: src/gitpod/resources/__init__.py

+14
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
TasksResourceWithStreamingResponse,
99
AsyncTasksResourceWithStreamingResponse,
1010
)
11+
from .editors import (
12+
EditorsResource,
13+
AsyncEditorsResource,
14+
EditorsResourceWithRawResponse,
15+
AsyncEditorsResourceWithRawResponse,
16+
EditorsResourceWithStreamingResponse,
17+
AsyncEditorsResourceWithStreamingResponse,
18+
)
1119
from .runners import (
1220
RunnersResource,
1321
AsyncRunnersResource,
@@ -116,6 +124,12 @@
116124
"AsyncTasksResourceWithRawResponse",
117125
"TasksResourceWithStreamingResponse",
118126
"AsyncTasksResourceWithStreamingResponse",
127+
"EditorsResource",
128+
"AsyncEditorsResource",
129+
"EditorsResourceWithRawResponse",
130+
"AsyncEditorsResourceWithRawResponse",
131+
"EditorsResourceWithStreamingResponse",
132+
"AsyncEditorsResourceWithStreamingResponse",
119133
"EnvironmentAutomationsResource",
120134
"AsyncEnvironmentAutomationsResource",
121135
"EnvironmentAutomationsResourceWithRawResponse",

0 commit comments

Comments
 (0)