|
7 | 7 |
|
8 | 8 | import httpx |
9 | 9 |
|
10 | | -from . import agent_ as agent |
11 | 10 | from .runs import ( |
12 | 11 | RunsResource, |
13 | 12 | AsyncRunsResource, |
@@ -66,11 +65,6 @@ def schedules(self) -> SchedulesResource: |
66 | 65 | """Operations for creating and managing scheduled agents""" |
67 | 66 | return SchedulesResource(self._client) |
68 | 67 |
|
69 | | - @cached_property |
70 | | - def agent(self) -> agent.AgentResource: |
71 | | - """Operations for running and managing cloud agents""" |
72 | | - return agent.AgentResource(self._client) |
73 | | - |
74 | 68 | @cached_property |
75 | 69 | def sessions(self) -> SessionsResource: |
76 | 70 | """Operations for running and managing cloud agents""" |
@@ -344,11 +338,6 @@ def schedules(self) -> AsyncSchedulesResource: |
344 | 338 | """Operations for creating and managing scheduled agents""" |
345 | 339 | return AsyncSchedulesResource(self._client) |
346 | 340 |
|
347 | | - @cached_property |
348 | | - def agent(self) -> agent.AsyncAgentResource: |
349 | | - """Operations for running and managing cloud agents""" |
350 | | - return agent.AsyncAgentResource(self._client) |
351 | | - |
352 | 341 | @cached_property |
353 | 342 | def sessions(self) -> AsyncSessionsResource: |
354 | 343 | """Operations for running and managing cloud agents""" |
@@ -638,11 +627,6 @@ def schedules(self) -> SchedulesResourceWithRawResponse: |
638 | 627 | """Operations for creating and managing scheduled agents""" |
639 | 628 | return SchedulesResourceWithRawResponse(self._agent.schedules) |
640 | 629 |
|
641 | | - @cached_property |
642 | | - def agent(self) -> agent.AgentResourceWithRawResponse: |
643 | | - """Operations for running and managing cloud agents""" |
644 | | - return agent.AgentResourceWithRawResponse(self._agent.agent) |
645 | | - |
646 | 630 | @cached_property |
647 | 631 | def sessions(self) -> SessionsResourceWithRawResponse: |
648 | 632 | """Operations for running and managing cloud agents""" |
@@ -676,11 +660,6 @@ def schedules(self) -> AsyncSchedulesResourceWithRawResponse: |
676 | 660 | """Operations for creating and managing scheduled agents""" |
677 | 661 | return AsyncSchedulesResourceWithRawResponse(self._agent.schedules) |
678 | 662 |
|
679 | | - @cached_property |
680 | | - def agent(self) -> agent.AsyncAgentResourceWithRawResponse: |
681 | | - """Operations for running and managing cloud agents""" |
682 | | - return agent.AsyncAgentResourceWithRawResponse(self._agent.agent) |
683 | | - |
684 | 663 | @cached_property |
685 | 664 | def sessions(self) -> AsyncSessionsResourceWithRawResponse: |
686 | 665 | """Operations for running and managing cloud agents""" |
@@ -714,11 +693,6 @@ def schedules(self) -> SchedulesResourceWithStreamingResponse: |
714 | 693 | """Operations for creating and managing scheduled agents""" |
715 | 694 | return SchedulesResourceWithStreamingResponse(self._agent.schedules) |
716 | 695 |
|
717 | | - @cached_property |
718 | | - def agent(self) -> agent.AgentResourceWithStreamingResponse: |
719 | | - """Operations for running and managing cloud agents""" |
720 | | - return agent.AgentResourceWithStreamingResponse(self._agent.agent) |
721 | | - |
722 | 696 | @cached_property |
723 | 697 | def sessions(self) -> SessionsResourceWithStreamingResponse: |
724 | 698 | """Operations for running and managing cloud agents""" |
@@ -752,11 +726,6 @@ def schedules(self) -> AsyncSchedulesResourceWithStreamingResponse: |
752 | 726 | """Operations for creating and managing scheduled agents""" |
753 | 727 | return AsyncSchedulesResourceWithStreamingResponse(self._agent.schedules) |
754 | 728 |
|
755 | | - @cached_property |
756 | | - def agent(self) -> agent.AsyncAgentResourceWithStreamingResponse: |
757 | | - """Operations for running and managing cloud agents""" |
758 | | - return agent.AsyncAgentResourceWithStreamingResponse(self._agent.agent) |
759 | | - |
760 | 729 | @cached_property |
761 | 730 | def sessions(self) -> AsyncSessionsResourceWithStreamingResponse: |
762 | 731 | """Operations for running and managing cloud agents""" |
|
0 commit comments