|
31 | 31 | ) |
32 | 32 |
|
33 | 33 | if TYPE_CHECKING: |
34 | | - from .resources import auth, vaults, actions, evaluate, memories, sessions, connections, integrations |
| 34 | + from .resources import auth, vaults, actions, folders, evaluate, memories, sessions, connections, integrations |
35 | 35 | from .resources.auth import AuthResource, AsyncAuthResource |
36 | 36 | from .resources.vaults import VaultsResource, AsyncVaultsResource |
37 | 37 | from .resources.actions import ActionsResource, AsyncActionsResource |
| 38 | + from .resources.folders import FoldersResource, AsyncFoldersResource |
38 | 39 | from .resources.evaluate import EvaluateResource, AsyncEvaluateResource |
39 | 40 | from .resources.memories import MemoriesResource, AsyncMemoriesResource |
40 | 41 | from .resources.sessions import SessionsResource, AsyncSessionsResource |
@@ -118,6 +119,12 @@ def connections(self) -> ConnectionsResource: |
118 | 119 |
|
119 | 120 | return ConnectionsResource(self) |
120 | 121 |
|
| 122 | + @cached_property |
| 123 | + def folders(self) -> FoldersResource: |
| 124 | + from .resources.folders import FoldersResource |
| 125 | + |
| 126 | + return FoldersResource(self) |
| 127 | + |
121 | 128 | @cached_property |
122 | 129 | def integrations(self) -> IntegrationsResource: |
123 | 130 | from .resources.integrations import IntegrationsResource |
@@ -351,6 +358,12 @@ def connections(self) -> AsyncConnectionsResource: |
351 | 358 |
|
352 | 359 | return AsyncConnectionsResource(self) |
353 | 360 |
|
| 361 | + @cached_property |
| 362 | + def folders(self) -> AsyncFoldersResource: |
| 363 | + from .resources.folders import AsyncFoldersResource |
| 364 | + |
| 365 | + return AsyncFoldersResource(self) |
| 366 | + |
354 | 367 | @cached_property |
355 | 368 | def integrations(self) -> AsyncIntegrationsResource: |
356 | 369 | from .resources.integrations import AsyncIntegrationsResource |
@@ -531,6 +544,12 @@ def connections(self) -> connections.ConnectionsResourceWithRawResponse: |
531 | 544 |
|
532 | 545 | return ConnectionsResourceWithRawResponse(self._client.connections) |
533 | 546 |
|
| 547 | + @cached_property |
| 548 | + def folders(self) -> folders.FoldersResourceWithRawResponse: |
| 549 | + from .resources.folders import FoldersResourceWithRawResponse |
| 550 | + |
| 551 | + return FoldersResourceWithRawResponse(self._client.folders) |
| 552 | + |
534 | 553 | @cached_property |
535 | 554 | def integrations(self) -> integrations.IntegrationsResourceWithRawResponse: |
536 | 555 | from .resources.integrations import IntegrationsResourceWithRawResponse |
@@ -586,6 +605,12 @@ def connections(self) -> connections.AsyncConnectionsResourceWithRawResponse: |
586 | 605 |
|
587 | 606 | return AsyncConnectionsResourceWithRawResponse(self._client.connections) |
588 | 607 |
|
| 608 | + @cached_property |
| 609 | + def folders(self) -> folders.AsyncFoldersResourceWithRawResponse: |
| 610 | + from .resources.folders import AsyncFoldersResourceWithRawResponse |
| 611 | + |
| 612 | + return AsyncFoldersResourceWithRawResponse(self._client.folders) |
| 613 | + |
589 | 614 | @cached_property |
590 | 615 | def integrations(self) -> integrations.AsyncIntegrationsResourceWithRawResponse: |
591 | 616 | from .resources.integrations import AsyncIntegrationsResourceWithRawResponse |
@@ -641,6 +666,12 @@ def connections(self) -> connections.ConnectionsResourceWithStreamingResponse: |
641 | 666 |
|
642 | 667 | return ConnectionsResourceWithStreamingResponse(self._client.connections) |
643 | 668 |
|
| 669 | + @cached_property |
| 670 | + def folders(self) -> folders.FoldersResourceWithStreamingResponse: |
| 671 | + from .resources.folders import FoldersResourceWithStreamingResponse |
| 672 | + |
| 673 | + return FoldersResourceWithStreamingResponse(self._client.folders) |
| 674 | + |
644 | 675 | @cached_property |
645 | 676 | def integrations(self) -> integrations.IntegrationsResourceWithStreamingResponse: |
646 | 677 | from .resources.integrations import IntegrationsResourceWithStreamingResponse |
@@ -696,6 +727,12 @@ def connections(self) -> connections.AsyncConnectionsResourceWithStreamingRespon |
696 | 727 |
|
697 | 728 | return AsyncConnectionsResourceWithStreamingResponse(self._client.connections) |
698 | 729 |
|
| 730 | + @cached_property |
| 731 | + def folders(self) -> folders.AsyncFoldersResourceWithStreamingResponse: |
| 732 | + from .resources.folders import AsyncFoldersResourceWithStreamingResponse |
| 733 | + |
| 734 | + return AsyncFoldersResourceWithStreamingResponse(self._client.folders) |
| 735 | + |
699 | 736 | @cached_property |
700 | 737 | def integrations(self) -> integrations.AsyncIntegrationsResourceWithStreamingResponse: |
701 | 738 | from .resources.integrations import AsyncIntegrationsResourceWithStreamingResponse |
|
0 commit comments