|
32 | 32 |
|
33 | 33 | if TYPE_CHECKING: |
34 | 34 | from .resources import ( |
| 35 | + axons, |
35 | 36 | agents, |
36 | 37 | objects, |
37 | 38 | secrets, |
|
46 | 47 | gateway_configs, |
47 | 48 | network_policies, |
48 | 49 | ) |
| 50 | + from .resources.axons import AxonsResource, AsyncAxonsResource |
49 | 51 | from .resources.agents import AgentsResource, AsyncAgentsResource |
50 | 52 | from .resources.objects import ObjectsResource, AsyncObjectsResource |
51 | 53 | from .resources.secrets import SecretsResource, AsyncSecretsResource |
@@ -144,6 +146,12 @@ def agents(self) -> AgentsResource: |
144 | 146 |
|
145 | 147 | return AgentsResource(self) |
146 | 148 |
|
| 149 | + @cached_property |
| 150 | + def axons(self) -> AxonsResource: |
| 151 | + from .resources.axons import AxonsResource |
| 152 | + |
| 153 | + return AxonsResource(self) |
| 154 | + |
147 | 155 | @cached_property |
148 | 156 | def blueprints(self) -> BlueprintsResource: |
149 | 157 | from .resources.blueprints import BlueprintsResource |
@@ -392,6 +400,12 @@ def agents(self) -> AsyncAgentsResource: |
392 | 400 |
|
393 | 401 | return AsyncAgentsResource(self) |
394 | 402 |
|
| 403 | + @cached_property |
| 404 | + def axons(self) -> AsyncAxonsResource: |
| 405 | + from .resources.axons import AsyncAxonsResource |
| 406 | + |
| 407 | + return AsyncAxonsResource(self) |
| 408 | + |
395 | 409 | @cached_property |
396 | 410 | def blueprints(self) -> AsyncBlueprintsResource: |
397 | 411 | from .resources.blueprints import AsyncBlueprintsResource |
@@ -589,6 +603,12 @@ def agents(self) -> agents.AgentsResourceWithRawResponse: |
589 | 603 |
|
590 | 604 | return AgentsResourceWithRawResponse(self._client.agents) |
591 | 605 |
|
| 606 | + @cached_property |
| 607 | + def axons(self) -> axons.AxonsResourceWithRawResponse: |
| 608 | + from .resources.axons import AxonsResourceWithRawResponse |
| 609 | + |
| 610 | + return AxonsResourceWithRawResponse(self._client.axons) |
| 611 | + |
592 | 612 | @cached_property |
593 | 613 | def blueprints(self) -> blueprints.BlueprintsResourceWithRawResponse: |
594 | 614 | from .resources.blueprints import BlueprintsResourceWithRawResponse |
@@ -674,6 +694,12 @@ def agents(self) -> agents.AsyncAgentsResourceWithRawResponse: |
674 | 694 |
|
675 | 695 | return AsyncAgentsResourceWithRawResponse(self._client.agents) |
676 | 696 |
|
| 697 | + @cached_property |
| 698 | + def axons(self) -> axons.AsyncAxonsResourceWithRawResponse: |
| 699 | + from .resources.axons import AsyncAxonsResourceWithRawResponse |
| 700 | + |
| 701 | + return AsyncAxonsResourceWithRawResponse(self._client.axons) |
| 702 | + |
677 | 703 | @cached_property |
678 | 704 | def blueprints(self) -> blueprints.AsyncBlueprintsResourceWithRawResponse: |
679 | 705 | from .resources.blueprints import AsyncBlueprintsResourceWithRawResponse |
@@ -759,6 +785,12 @@ def agents(self) -> agents.AgentsResourceWithStreamingResponse: |
759 | 785 |
|
760 | 786 | return AgentsResourceWithStreamingResponse(self._client.agents) |
761 | 787 |
|
| 788 | + @cached_property |
| 789 | + def axons(self) -> axons.AxonsResourceWithStreamingResponse: |
| 790 | + from .resources.axons import AxonsResourceWithStreamingResponse |
| 791 | + |
| 792 | + return AxonsResourceWithStreamingResponse(self._client.axons) |
| 793 | + |
762 | 794 | @cached_property |
763 | 795 | def blueprints(self) -> blueprints.BlueprintsResourceWithStreamingResponse: |
764 | 796 | from .resources.blueprints import BlueprintsResourceWithStreamingResponse |
@@ -844,6 +876,12 @@ def agents(self) -> agents.AsyncAgentsResourceWithStreamingResponse: |
844 | 876 |
|
845 | 877 | return AsyncAgentsResourceWithStreamingResponse(self._client.agents) |
846 | 878 |
|
| 879 | + @cached_property |
| 880 | + def axons(self) -> axons.AsyncAxonsResourceWithStreamingResponse: |
| 881 | + from .resources.axons import AsyncAxonsResourceWithStreamingResponse |
| 882 | + |
| 883 | + return AsyncAxonsResourceWithStreamingResponse(self._client.axons) |
| 884 | + |
847 | 885 | @cached_property |
848 | 886 | def blueprints(self) -> blueprints.AsyncBlueprintsResourceWithStreamingResponse: |
849 | 887 | from .resources.blueprints import AsyncBlueprintsResourceWithStreamingResponse |
|
0 commit comments