|
4 | 4 |
|
5 | 5 | import httpx |
6 | 6 |
|
| 7 | +from .logs import ( |
| 8 | + LogsResource, |
| 9 | + AsyncLogsResource, |
| 10 | + LogsResourceWithRawResponse, |
| 11 | + AsyncLogsResourceWithRawResponse, |
| 12 | + LogsResourceWithStreamingResponse, |
| 13 | + AsyncLogsResourceWithStreamingResponse, |
| 14 | +) |
7 | 15 | from .fs.fs import ( |
8 | 16 | FsResource, |
9 | 17 | AsyncFsResource, |
|
13 | 21 | AsyncFsResourceWithStreamingResponse, |
14 | 22 | ) |
15 | 23 | from ...types import browser_create_params, browser_delete_params |
| 24 | +from .process import ( |
| 25 | + ProcessResource, |
| 26 | + AsyncProcessResource, |
| 27 | + ProcessResourceWithRawResponse, |
| 28 | + AsyncProcessResourceWithRawResponse, |
| 29 | + ProcessResourceWithStreamingResponse, |
| 30 | + AsyncProcessResourceWithStreamingResponse, |
| 31 | +) |
16 | 32 | from .replays import ( |
17 | 33 | ReplaysResource, |
18 | 34 | AsyncReplaysResource, |
@@ -49,6 +65,14 @@ def replays(self) -> ReplaysResource: |
49 | 65 | def fs(self) -> FsResource: |
50 | 66 | return FsResource(self._client) |
51 | 67 |
|
| 68 | + @cached_property |
| 69 | + def process(self) -> ProcessResource: |
| 70 | + return ProcessResource(self._client) |
| 71 | + |
| 72 | + @cached_property |
| 73 | + def logs(self) -> LogsResource: |
| 74 | + return LogsResource(self._client) |
| 75 | + |
52 | 76 | @cached_property |
53 | 77 | def with_raw_response(self) -> BrowsersResourceWithRawResponse: |
54 | 78 | """ |
@@ -261,6 +285,14 @@ def replays(self) -> AsyncReplaysResource: |
261 | 285 | def fs(self) -> AsyncFsResource: |
262 | 286 | return AsyncFsResource(self._client) |
263 | 287 |
|
| 288 | + @cached_property |
| 289 | + def process(self) -> AsyncProcessResource: |
| 290 | + return AsyncProcessResource(self._client) |
| 291 | + |
| 292 | + @cached_property |
| 293 | + def logs(self) -> AsyncLogsResource: |
| 294 | + return AsyncLogsResource(self._client) |
| 295 | + |
264 | 296 | @cached_property |
265 | 297 | def with_raw_response(self) -> AsyncBrowsersResourceWithRawResponse: |
266 | 298 | """ |
@@ -494,6 +526,14 @@ def replays(self) -> ReplaysResourceWithRawResponse: |
494 | 526 | def fs(self) -> FsResourceWithRawResponse: |
495 | 527 | return FsResourceWithRawResponse(self._browsers.fs) |
496 | 528 |
|
| 529 | + @cached_property |
| 530 | + def process(self) -> ProcessResourceWithRawResponse: |
| 531 | + return ProcessResourceWithRawResponse(self._browsers.process) |
| 532 | + |
| 533 | + @cached_property |
| 534 | + def logs(self) -> LogsResourceWithRawResponse: |
| 535 | + return LogsResourceWithRawResponse(self._browsers.logs) |
| 536 | + |
497 | 537 |
|
498 | 538 | class AsyncBrowsersResourceWithRawResponse: |
499 | 539 | def __init__(self, browsers: AsyncBrowsersResource) -> None: |
@@ -523,6 +563,14 @@ def replays(self) -> AsyncReplaysResourceWithRawResponse: |
523 | 563 | def fs(self) -> AsyncFsResourceWithRawResponse: |
524 | 564 | return AsyncFsResourceWithRawResponse(self._browsers.fs) |
525 | 565 |
|
| 566 | + @cached_property |
| 567 | + def process(self) -> AsyncProcessResourceWithRawResponse: |
| 568 | + return AsyncProcessResourceWithRawResponse(self._browsers.process) |
| 569 | + |
| 570 | + @cached_property |
| 571 | + def logs(self) -> AsyncLogsResourceWithRawResponse: |
| 572 | + return AsyncLogsResourceWithRawResponse(self._browsers.logs) |
| 573 | + |
526 | 574 |
|
527 | 575 | class BrowsersResourceWithStreamingResponse: |
528 | 576 | def __init__(self, browsers: BrowsersResource) -> None: |
@@ -552,6 +600,14 @@ def replays(self) -> ReplaysResourceWithStreamingResponse: |
552 | 600 | def fs(self) -> FsResourceWithStreamingResponse: |
553 | 601 | return FsResourceWithStreamingResponse(self._browsers.fs) |
554 | 602 |
|
| 603 | + @cached_property |
| 604 | + def process(self) -> ProcessResourceWithStreamingResponse: |
| 605 | + return ProcessResourceWithStreamingResponse(self._browsers.process) |
| 606 | + |
| 607 | + @cached_property |
| 608 | + def logs(self) -> LogsResourceWithStreamingResponse: |
| 609 | + return LogsResourceWithStreamingResponse(self._browsers.logs) |
| 610 | + |
555 | 611 |
|
556 | 612 | class AsyncBrowsersResourceWithStreamingResponse: |
557 | 613 | def __init__(self, browsers: AsyncBrowsersResource) -> None: |
@@ -580,3 +636,11 @@ def replays(self) -> AsyncReplaysResourceWithStreamingResponse: |
580 | 636 | @cached_property |
581 | 637 | def fs(self) -> AsyncFsResourceWithStreamingResponse: |
582 | 638 | return AsyncFsResourceWithStreamingResponse(self._browsers.fs) |
| 639 | + |
| 640 | + @cached_property |
| 641 | + def process(self) -> AsyncProcessResourceWithStreamingResponse: |
| 642 | + return AsyncProcessResourceWithStreamingResponse(self._browsers.process) |
| 643 | + |
| 644 | + @cached_property |
| 645 | + def logs(self) -> AsyncLogsResourceWithStreamingResponse: |
| 646 | + return AsyncLogsResourceWithStreamingResponse(self._browsers.logs) |
0 commit comments