|
34 | 34 | from .resources import ( |
35 | 35 | axons, |
36 | 36 | agents, |
| 37 | + apikeys, |
37 | 38 | objects, |
38 | 39 | secrets, |
39 | 40 | devboxes, |
|
44 | 45 | benchmark_jobs, |
45 | 46 | benchmark_runs, |
46 | 47 | gateway_configs, |
| 48 | + restricted_keys, |
47 | 49 | network_policies, |
48 | 50 | ) |
49 | 51 | from .resources.agents import AgentsResource, AsyncAgentsResource |
| 52 | + from .resources.apikeys import ApikeysResource, AsyncApikeysResource |
50 | 53 | from .resources.objects import ObjectsResource, AsyncObjectsResource |
51 | 54 | from .resources.secrets import SecretsResource, AsyncSecretsResource |
52 | 55 | from .resources.benchmarks import BenchmarksResource, AsyncBenchmarksResource |
|
56 | 59 | from .resources.benchmark_jobs import BenchmarkJobsResource, AsyncBenchmarkJobsResource |
57 | 60 | from .resources.benchmark_runs import BenchmarkRunsResource, AsyncBenchmarkRunsResource |
58 | 61 | from .resources.gateway_configs import GatewayConfigsResource, AsyncGatewayConfigsResource |
| 62 | + from .resources.restricted_keys import RestrictedKeysResource, AsyncRestrictedKeysResource |
59 | 63 | from .resources.network_policies import NetworkPoliciesResource, AsyncNetworkPoliciesResource |
60 | 64 | from .resources.devboxes.devboxes import DevboxesResource, AsyncDevboxesResource |
61 | 65 | from .resources.scenarios.scenarios import ScenariosResource, AsyncScenariosResource |
@@ -198,6 +202,18 @@ def mcp_configs(self) -> McpConfigsResource: |
198 | 202 |
|
199 | 203 | return McpConfigsResource(self) |
200 | 204 |
|
| 205 | + @cached_property |
| 206 | + def apikeys(self) -> ApikeysResource: |
| 207 | + from .resources.apikeys import ApikeysResource |
| 208 | + |
| 209 | + return ApikeysResource(self) |
| 210 | + |
| 211 | + @cached_property |
| 212 | + def restricted_keys(self) -> RestrictedKeysResource: |
| 213 | + from .resources.restricted_keys import RestrictedKeysResource |
| 214 | + |
| 215 | + return RestrictedKeysResource(self) |
| 216 | + |
201 | 217 | @cached_property |
202 | 218 | def with_raw_response(self) -> RunloopWithRawResponse: |
203 | 219 | return RunloopWithRawResponse(self) |
@@ -446,6 +462,18 @@ def mcp_configs(self) -> AsyncMcpConfigsResource: |
446 | 462 |
|
447 | 463 | return AsyncMcpConfigsResource(self) |
448 | 464 |
|
| 465 | + @cached_property |
| 466 | + def apikeys(self) -> AsyncApikeysResource: |
| 467 | + from .resources.apikeys import AsyncApikeysResource |
| 468 | + |
| 469 | + return AsyncApikeysResource(self) |
| 470 | + |
| 471 | + @cached_property |
| 472 | + def restricted_keys(self) -> AsyncRestrictedKeysResource: |
| 473 | + from .resources.restricted_keys import AsyncRestrictedKeysResource |
| 474 | + |
| 475 | + return AsyncRestrictedKeysResource(self) |
| 476 | + |
449 | 477 | @cached_property |
450 | 478 | def with_raw_response(self) -> AsyncRunloopWithRawResponse: |
451 | 479 | return AsyncRunloopWithRawResponse(self) |
@@ -643,6 +671,18 @@ def mcp_configs(self) -> mcp_configs.McpConfigsResourceWithRawResponse: |
643 | 671 |
|
644 | 672 | return McpConfigsResourceWithRawResponse(self._client.mcp_configs) |
645 | 673 |
|
| 674 | + @cached_property |
| 675 | + def apikeys(self) -> apikeys.ApikeysResourceWithRawResponse: |
| 676 | + from .resources.apikeys import ApikeysResourceWithRawResponse |
| 677 | + |
| 678 | + return ApikeysResourceWithRawResponse(self._client.apikeys) |
| 679 | + |
| 680 | + @cached_property |
| 681 | + def restricted_keys(self) -> restricted_keys.RestrictedKeysResourceWithRawResponse: |
| 682 | + from .resources.restricted_keys import RestrictedKeysResourceWithRawResponse |
| 683 | + |
| 684 | + return RestrictedKeysResourceWithRawResponse(self._client.restricted_keys) |
| 685 | + |
646 | 686 |
|
647 | 687 | class AsyncRunloopWithRawResponse: |
648 | 688 | _client: AsyncRunloop |
@@ -728,6 +768,18 @@ def mcp_configs(self) -> mcp_configs.AsyncMcpConfigsResourceWithRawResponse: |
728 | 768 |
|
729 | 769 | return AsyncMcpConfigsResourceWithRawResponse(self._client.mcp_configs) |
730 | 770 |
|
| 771 | + @cached_property |
| 772 | + def apikeys(self) -> apikeys.AsyncApikeysResourceWithRawResponse: |
| 773 | + from .resources.apikeys import AsyncApikeysResourceWithRawResponse |
| 774 | + |
| 775 | + return AsyncApikeysResourceWithRawResponse(self._client.apikeys) |
| 776 | + |
| 777 | + @cached_property |
| 778 | + def restricted_keys(self) -> restricted_keys.AsyncRestrictedKeysResourceWithRawResponse: |
| 779 | + from .resources.restricted_keys import AsyncRestrictedKeysResourceWithRawResponse |
| 780 | + |
| 781 | + return AsyncRestrictedKeysResourceWithRawResponse(self._client.restricted_keys) |
| 782 | + |
731 | 783 |
|
732 | 784 | class RunloopWithStreamedResponse: |
733 | 785 | _client: Runloop |
@@ -813,6 +865,18 @@ def mcp_configs(self) -> mcp_configs.McpConfigsResourceWithStreamingResponse: |
813 | 865 |
|
814 | 866 | return McpConfigsResourceWithStreamingResponse(self._client.mcp_configs) |
815 | 867 |
|
| 868 | + @cached_property |
| 869 | + def apikeys(self) -> apikeys.ApikeysResourceWithStreamingResponse: |
| 870 | + from .resources.apikeys import ApikeysResourceWithStreamingResponse |
| 871 | + |
| 872 | + return ApikeysResourceWithStreamingResponse(self._client.apikeys) |
| 873 | + |
| 874 | + @cached_property |
| 875 | + def restricted_keys(self) -> restricted_keys.RestrictedKeysResourceWithStreamingResponse: |
| 876 | + from .resources.restricted_keys import RestrictedKeysResourceWithStreamingResponse |
| 877 | + |
| 878 | + return RestrictedKeysResourceWithStreamingResponse(self._client.restricted_keys) |
| 879 | + |
816 | 880 |
|
817 | 881 | class AsyncRunloopWithStreamedResponse: |
818 | 882 | _client: AsyncRunloop |
@@ -898,6 +962,18 @@ def mcp_configs(self) -> mcp_configs.AsyncMcpConfigsResourceWithStreamingRespons |
898 | 962 |
|
899 | 963 | return AsyncMcpConfigsResourceWithStreamingResponse(self._client.mcp_configs) |
900 | 964 |
|
| 965 | + @cached_property |
| 966 | + def apikeys(self) -> apikeys.AsyncApikeysResourceWithStreamingResponse: |
| 967 | + from .resources.apikeys import AsyncApikeysResourceWithStreamingResponse |
| 968 | + |
| 969 | + return AsyncApikeysResourceWithStreamingResponse(self._client.apikeys) |
| 970 | + |
| 971 | + @cached_property |
| 972 | + def restricted_keys(self) -> restricted_keys.AsyncRestrictedKeysResourceWithStreamingResponse: |
| 973 | + from .resources.restricted_keys import AsyncRestrictedKeysResourceWithStreamingResponse |
| 974 | + |
| 975 | + return AsyncRestrictedKeysResourceWithStreamingResponse(self._client.restricted_keys) |
| 976 | + |
901 | 977 |
|
902 | 978 | Client = Runloop |
903 | 979 |
|
|
0 commit comments