21
21
)
22
22
from ._utils import is_given , get_async_library
23
23
from ._version import __version__
24
- from .resources import apps , deployments , invocations
24
+ from .resources import apps , profiles , deployments , invocations
25
25
from ._streaming import Stream as Stream , AsyncStream as AsyncStream
26
26
from ._exceptions import KernelError , APIStatusError
27
27
from ._base_client import (
@@ -54,6 +54,7 @@ class Kernel(SyncAPIClient):
54
54
apps : apps .AppsResource
55
55
invocations : invocations .InvocationsResource
56
56
browsers : browsers .BrowsersResource
57
+ profiles : profiles .ProfilesResource
57
58
with_raw_response : KernelWithRawResponse
58
59
with_streaming_response : KernelWithStreamedResponse
59
60
@@ -139,6 +140,7 @@ def __init__(
139
140
self .apps = apps .AppsResource (self )
140
141
self .invocations = invocations .InvocationsResource (self )
141
142
self .browsers = browsers .BrowsersResource (self )
143
+ self .profiles = profiles .ProfilesResource (self )
142
144
self .with_raw_response = KernelWithRawResponse (self )
143
145
self .with_streaming_response = KernelWithStreamedResponse (self )
144
146
@@ -254,6 +256,7 @@ class AsyncKernel(AsyncAPIClient):
254
256
apps : apps .AsyncAppsResource
255
257
invocations : invocations .AsyncInvocationsResource
256
258
browsers : browsers .AsyncBrowsersResource
259
+ profiles : profiles .AsyncProfilesResource
257
260
with_raw_response : AsyncKernelWithRawResponse
258
261
with_streaming_response : AsyncKernelWithStreamedResponse
259
262
@@ -339,6 +342,7 @@ def __init__(
339
342
self .apps = apps .AsyncAppsResource (self )
340
343
self .invocations = invocations .AsyncInvocationsResource (self )
341
344
self .browsers = browsers .AsyncBrowsersResource (self )
345
+ self .profiles = profiles .AsyncProfilesResource (self )
342
346
self .with_raw_response = AsyncKernelWithRawResponse (self )
343
347
self .with_streaming_response = AsyncKernelWithStreamedResponse (self )
344
348
@@ -455,6 +459,7 @@ def __init__(self, client: Kernel) -> None:
455
459
self .apps = apps .AppsResourceWithRawResponse (client .apps )
456
460
self .invocations = invocations .InvocationsResourceWithRawResponse (client .invocations )
457
461
self .browsers = browsers .BrowsersResourceWithRawResponse (client .browsers )
462
+ self .profiles = profiles .ProfilesResourceWithRawResponse (client .profiles )
458
463
459
464
460
465
class AsyncKernelWithRawResponse :
@@ -463,6 +468,7 @@ def __init__(self, client: AsyncKernel) -> None:
463
468
self .apps = apps .AsyncAppsResourceWithRawResponse (client .apps )
464
469
self .invocations = invocations .AsyncInvocationsResourceWithRawResponse (client .invocations )
465
470
self .browsers = browsers .AsyncBrowsersResourceWithRawResponse (client .browsers )
471
+ self .profiles = profiles .AsyncProfilesResourceWithRawResponse (client .profiles )
466
472
467
473
468
474
class KernelWithStreamedResponse :
@@ -471,6 +477,7 @@ def __init__(self, client: Kernel) -> None:
471
477
self .apps = apps .AppsResourceWithStreamingResponse (client .apps )
472
478
self .invocations = invocations .InvocationsResourceWithStreamingResponse (client .invocations )
473
479
self .browsers = browsers .BrowsersResourceWithStreamingResponse (client .browsers )
480
+ self .profiles = profiles .ProfilesResourceWithStreamingResponse (client .profiles )
474
481
475
482
476
483
class AsyncKernelWithStreamedResponse :
@@ -479,6 +486,7 @@ def __init__(self, client: AsyncKernel) -> None:
479
486
self .apps = apps .AsyncAppsResourceWithStreamingResponse (client .apps )
480
487
self .invocations = invocations .AsyncInvocationsResourceWithStreamingResponse (client .invocations )
481
488
self .browsers = browsers .AsyncBrowsersResourceWithStreamingResponse (client .browsers )
489
+ self .profiles = profiles .AsyncProfilesResourceWithStreamingResponse (client .profiles )
482
490
483
491
484
492
Client = Kernel
0 commit comments