2424 get_async_library ,
2525)
2626from ._version import __version__
27- from .resources import (
28- tasks ,
29- editors ,
30- projects ,
31- services ,
32- environments ,
33- automations_files ,
34- environment_classes ,
35- personal_access_tokens ,
36- )
27+ from .resources import editors , projects , automations_files , environment_classes , personal_access_tokens
3728from ._streaming import Stream as Stream , AsyncStream as AsyncStream
3829from ._exceptions import APIStatusError
3930from ._base_client import (
4233 AsyncAPIClient ,
4334)
4435from .resources .runners import runners
36+ from .resources .environments import environments
4537from .resources .organizations import organizations
46- from .resources .runner_interactions import runner_interactions
4738from .resources .runner_configurations import runner_configurations
48- from .resources .environment_automations import environment_automations
4939
5040__all__ = ["Timeout" , "Transport" , "ProxiesTypes" , "RequestOptions" , "Gitpod" , "AsyncGitpod" , "Client" , "AsyncClient" ]
5141
5242
5343class Gitpod (SyncAPIClient ):
54- services : services .ServicesResource
5544 automations_files : automations_files .AutomationsFilesResource
56- tasks : tasks .TasksResource
5745 editors : editors .EditorsResource
58- environment_automations : environment_automations .EnvironmentAutomationsResource
5946 environments : environments .EnvironmentsResource
6047 environment_classes : environment_classes .EnvironmentClassesResource
6148 organizations : organizations .OrganizationsResource
6249 projects : projects .ProjectsResource
6350 runner_configurations : runner_configurations .RunnerConfigurationsResource
64- runner_interactions : runner_interactions .RunnerInteractionsResource
6551 runners : runners .RunnersResource
6652 personal_access_tokens : personal_access_tokens .PersonalAccessTokensResource
6753 with_raw_response : GitpodWithRawResponse
@@ -108,17 +94,13 @@ def __init__(
10894 _strict_response_validation = _strict_response_validation ,
10995 )
11096
111- self .services = services .ServicesResource (self )
11297 self .automations_files = automations_files .AutomationsFilesResource (self )
113- self .tasks = tasks .TasksResource (self )
11498 self .editors = editors .EditorsResource (self )
115- self .environment_automations = environment_automations .EnvironmentAutomationsResource (self )
11699 self .environments = environments .EnvironmentsResource (self )
117100 self .environment_classes = environment_classes .EnvironmentClassesResource (self )
118101 self .organizations = organizations .OrganizationsResource (self )
119102 self .projects = projects .ProjectsResource (self )
120103 self .runner_configurations = runner_configurations .RunnerConfigurationsResource (self )
121- self .runner_interactions = runner_interactions .RunnerInteractionsResource (self )
122104 self .runners = runners .RunnersResource (self )
123105 self .personal_access_tokens = personal_access_tokens .PersonalAccessTokensResource (self )
124106 self .with_raw_response = GitpodWithRawResponse (self )
@@ -222,17 +204,13 @@ def _make_status_error(
222204
223205
224206class AsyncGitpod (AsyncAPIClient ):
225- services : services .AsyncServicesResource
226207 automations_files : automations_files .AsyncAutomationsFilesResource
227- tasks : tasks .AsyncTasksResource
228208 editors : editors .AsyncEditorsResource
229- environment_automations : environment_automations .AsyncEnvironmentAutomationsResource
230209 environments : environments .AsyncEnvironmentsResource
231210 environment_classes : environment_classes .AsyncEnvironmentClassesResource
232211 organizations : organizations .AsyncOrganizationsResource
233212 projects : projects .AsyncProjectsResource
234213 runner_configurations : runner_configurations .AsyncRunnerConfigurationsResource
235- runner_interactions : runner_interactions .AsyncRunnerInteractionsResource
236214 runners : runners .AsyncRunnersResource
237215 personal_access_tokens : personal_access_tokens .AsyncPersonalAccessTokensResource
238216 with_raw_response : AsyncGitpodWithRawResponse
@@ -279,17 +257,13 @@ def __init__(
279257 _strict_response_validation = _strict_response_validation ,
280258 )
281259
282- self .services = services .AsyncServicesResource (self )
283260 self .automations_files = automations_files .AsyncAutomationsFilesResource (self )
284- self .tasks = tasks .AsyncTasksResource (self )
285261 self .editors = editors .AsyncEditorsResource (self )
286- self .environment_automations = environment_automations .AsyncEnvironmentAutomationsResource (self )
287262 self .environments = environments .AsyncEnvironmentsResource (self )
288263 self .environment_classes = environment_classes .AsyncEnvironmentClassesResource (self )
289264 self .organizations = organizations .AsyncOrganizationsResource (self )
290265 self .projects = projects .AsyncProjectsResource (self )
291266 self .runner_configurations = runner_configurations .AsyncRunnerConfigurationsResource (self )
292- self .runner_interactions = runner_interactions .AsyncRunnerInteractionsResource (self )
293267 self .runners = runners .AsyncRunnersResource (self )
294268 self .personal_access_tokens = personal_access_tokens .AsyncPersonalAccessTokensResource (self )
295269 self .with_raw_response = AsyncGitpodWithRawResponse (self )
@@ -394,13 +368,8 @@ def _make_status_error(
394368
395369class GitpodWithRawResponse :
396370 def __init__ (self , client : Gitpod ) -> None :
397- self .services = services .ServicesResourceWithRawResponse (client .services )
398371 self .automations_files = automations_files .AutomationsFilesResourceWithRawResponse (client .automations_files )
399- self .tasks = tasks .TasksResourceWithRawResponse (client .tasks )
400372 self .editors = editors .EditorsResourceWithRawResponse (client .editors )
401- self .environment_automations = environment_automations .EnvironmentAutomationsResourceWithRawResponse (
402- client .environment_automations
403- )
404373 self .environments = environments .EnvironmentsResourceWithRawResponse (client .environments )
405374 self .environment_classes = environment_classes .EnvironmentClassesResourceWithRawResponse (
406375 client .environment_classes
@@ -410,9 +379,6 @@ def __init__(self, client: Gitpod) -> None:
410379 self .runner_configurations = runner_configurations .RunnerConfigurationsResourceWithRawResponse (
411380 client .runner_configurations
412381 )
413- self .runner_interactions = runner_interactions .RunnerInteractionsResourceWithRawResponse (
414- client .runner_interactions
415- )
416382 self .runners = runners .RunnersResourceWithRawResponse (client .runners )
417383 self .personal_access_tokens = personal_access_tokens .PersonalAccessTokensResourceWithRawResponse (
418384 client .personal_access_tokens
@@ -421,15 +387,10 @@ def __init__(self, client: Gitpod) -> None:
421387
422388class AsyncGitpodWithRawResponse :
423389 def __init__ (self , client : AsyncGitpod ) -> None :
424- self .services = services .AsyncServicesResourceWithRawResponse (client .services )
425390 self .automations_files = automations_files .AsyncAutomationsFilesResourceWithRawResponse (
426391 client .automations_files
427392 )
428- self .tasks = tasks .AsyncTasksResourceWithRawResponse (client .tasks )
429393 self .editors = editors .AsyncEditorsResourceWithRawResponse (client .editors )
430- self .environment_automations = environment_automations .AsyncEnvironmentAutomationsResourceWithRawResponse (
431- client .environment_automations
432- )
433394 self .environments = environments .AsyncEnvironmentsResourceWithRawResponse (client .environments )
434395 self .environment_classes = environment_classes .AsyncEnvironmentClassesResourceWithRawResponse (
435396 client .environment_classes
@@ -439,9 +400,6 @@ def __init__(self, client: AsyncGitpod) -> None:
439400 self .runner_configurations = runner_configurations .AsyncRunnerConfigurationsResourceWithRawResponse (
440401 client .runner_configurations
441402 )
442- self .runner_interactions = runner_interactions .AsyncRunnerInteractionsResourceWithRawResponse (
443- client .runner_interactions
444- )
445403 self .runners = runners .AsyncRunnersResourceWithRawResponse (client .runners )
446404 self .personal_access_tokens = personal_access_tokens .AsyncPersonalAccessTokensResourceWithRawResponse (
447405 client .personal_access_tokens
@@ -450,15 +408,10 @@ def __init__(self, client: AsyncGitpod) -> None:
450408
451409class GitpodWithStreamedResponse :
452410 def __init__ (self , client : Gitpod ) -> None :
453- self .services = services .ServicesResourceWithStreamingResponse (client .services )
454411 self .automations_files = automations_files .AutomationsFilesResourceWithStreamingResponse (
455412 client .automations_files
456413 )
457- self .tasks = tasks .TasksResourceWithStreamingResponse (client .tasks )
458414 self .editors = editors .EditorsResourceWithStreamingResponse (client .editors )
459- self .environment_automations = environment_automations .EnvironmentAutomationsResourceWithStreamingResponse (
460- client .environment_automations
461- )
462415 self .environments = environments .EnvironmentsResourceWithStreamingResponse (client .environments )
463416 self .environment_classes = environment_classes .EnvironmentClassesResourceWithStreamingResponse (
464417 client .environment_classes
@@ -468,9 +421,6 @@ def __init__(self, client: Gitpod) -> None:
468421 self .runner_configurations = runner_configurations .RunnerConfigurationsResourceWithStreamingResponse (
469422 client .runner_configurations
470423 )
471- self .runner_interactions = runner_interactions .RunnerInteractionsResourceWithStreamingResponse (
472- client .runner_interactions
473- )
474424 self .runners = runners .RunnersResourceWithStreamingResponse (client .runners )
475425 self .personal_access_tokens = personal_access_tokens .PersonalAccessTokensResourceWithStreamingResponse (
476426 client .personal_access_tokens
@@ -479,15 +429,10 @@ def __init__(self, client: Gitpod) -> None:
479429
480430class AsyncGitpodWithStreamedResponse :
481431 def __init__ (self , client : AsyncGitpod ) -> None :
482- self .services = services .AsyncServicesResourceWithStreamingResponse (client .services )
483432 self .automations_files = automations_files .AsyncAutomationsFilesResourceWithStreamingResponse (
484433 client .automations_files
485434 )
486- self .tasks = tasks .AsyncTasksResourceWithStreamingResponse (client .tasks )
487435 self .editors = editors .AsyncEditorsResourceWithStreamingResponse (client .editors )
488- self .environment_automations = environment_automations .AsyncEnvironmentAutomationsResourceWithStreamingResponse (
489- client .environment_automations
490- )
491436 self .environments = environments .AsyncEnvironmentsResourceWithStreamingResponse (client .environments )
492437 self .environment_classes = environment_classes .AsyncEnvironmentClassesResourceWithStreamingResponse (
493438 client .environment_classes
@@ -497,9 +442,6 @@ def __init__(self, client: AsyncGitpod) -> None:
497442 self .runner_configurations = runner_configurations .AsyncRunnerConfigurationsResourceWithStreamingResponse (
498443 client .runner_configurations
499444 )
500- self .runner_interactions = runner_interactions .AsyncRunnerInteractionsResourceWithStreamingResponse (
501- client .runner_interactions
502- )
503445 self .runners = runners .AsyncRunnersResourceWithStreamingResponse (client .runners )
504446 self .personal_access_tokens = personal_access_tokens .AsyncPersonalAccessTokensResourceWithStreamingResponse (
505447 client .personal_access_tokens
0 commit comments