|
13 | 13 | agent_retrieve_response, |
14 | 14 | agent_update_status_response, |
15 | 15 | ) |
16 | | -from .agents import evaluation_metrics |
17 | | -from .agents.evaluation_metrics import workspaces |
18 | | -from .agents.evaluation_metrics.workspaces import ( |
19 | | - agent_list_response, # type: ignore |
20 | | - agent_move_response # type: ignore |
21 | | -) |
22 | | -from .models import providers |
23 | 16 | from .. import _compat |
| 17 | +from .agents import evaluation_metrics # noqa: F401 |
| 18 | +from .models import providers # noqa: F401 |
24 | 19 | from .shared import ( |
25 | 20 | Size as Size, |
26 | 21 | Image as Image, |
|
74 | 69 | from .api_openai_api_key_info import APIOpenAIAPIKeyInfo as APIOpenAIAPIKeyInfo |
75 | 70 | from .gpu_droplet_list_params import GPUDropletListParams as GPUDropletListParams |
76 | 71 | from .model_retrieve_response import ModelRetrieveResponse as ModelRetrieveResponse |
77 | | -from .api_deployment_visibility import APIDeploymentVisibility as APIDeploymentVisibility |
| 72 | +from .agents.evaluation_metrics import workspaces # noqa: F401 |
| 73 | +from .api_deployment_visibility import ( |
| 74 | + APIDeploymentVisibility as APIDeploymentVisibility, |
| 75 | +) |
78 | 76 | from .gpu_droplet_create_params import GPUDropletCreateParams as GPUDropletCreateParams |
79 | 77 | from .gpu_droplet_list_response import GPUDropletListResponse as GPUDropletListResponse |
80 | | -from .agent_update_status_params import AgentUpdateStatusParams as AgentUpdateStatusParams |
| 78 | +from .agent_update_status_params import ( |
| 79 | + AgentUpdateStatusParams as AgentUpdateStatusParams, |
| 80 | +) |
81 | 81 | from .api_anthropic_api_key_info import APIAnthropicAPIKeyInfo as APIAnthropicAPIKeyInfo |
82 | | -from .knowledge_base_list_params import KnowledgeBaseListParams as KnowledgeBaseListParams |
83 | | -from .droplet_backup_policy_param import DropletBackupPolicyParam as DropletBackupPolicyParam |
84 | | -from .gpu_droplet_create_response import GPUDropletCreateResponse as GPUDropletCreateResponse |
85 | | -from .agent_update_status_response import AgentUpdateStatusResponse as AgentUpdateStatusResponse |
86 | | -from .knowledge_base_create_params import KnowledgeBaseCreateParams as KnowledgeBaseCreateParams |
87 | | -from .knowledge_base_list_response import KnowledgeBaseListResponse as KnowledgeBaseListResponse |
88 | | -from .knowledge_base_update_params import KnowledgeBaseUpdateParams as KnowledgeBaseUpdateParams |
89 | | -from .gpu_droplet_retrieve_response import GPUDropletRetrieveResponse as GPUDropletRetrieveResponse |
90 | | -from .knowledge_base_create_response import KnowledgeBaseCreateResponse as KnowledgeBaseCreateResponse |
91 | | -from .knowledge_base_delete_response import KnowledgeBaseDeleteResponse as KnowledgeBaseDeleteResponse |
92 | | -from .knowledge_base_update_response import KnowledgeBaseUpdateResponse as KnowledgeBaseUpdateResponse |
93 | | -from .gpu_droplet_list_kernels_params import GPUDropletListKernelsParams as GPUDropletListKernelsParams |
94 | | -from .gpu_droplet_delete_by_tag_params import GPUDropletDeleteByTagParams as GPUDropletDeleteByTagParams |
95 | | -from .knowledge_base_retrieve_response import KnowledgeBaseRetrieveResponse as KnowledgeBaseRetrieveResponse |
96 | | -from .gpu_droplet_list_firewalls_params import GPUDropletListFirewallsParams as GPUDropletListFirewallsParams |
97 | | -from .gpu_droplet_list_kernels_response import GPUDropletListKernelsResponse as GPUDropletListKernelsResponse |
98 | | -from .gpu_droplet_list_snapshots_params import GPUDropletListSnapshotsParams as GPUDropletListSnapshotsParams |
99 | | -from .gpu_droplet_list_firewalls_response import GPUDropletListFirewallsResponse as GPUDropletListFirewallsResponse |
100 | | -from .gpu_droplet_list_neighbors_response import GPUDropletListNeighborsResponse as GPUDropletListNeighborsResponse |
101 | | -from .gpu_droplet_list_snapshots_response import GPUDropletListSnapshotsResponse as GPUDropletListSnapshotsResponse |
| 82 | +from .knowledge_base_list_params import ( |
| 83 | + KnowledgeBaseListParams as KnowledgeBaseListParams, |
| 84 | +) |
| 85 | +from .droplet_backup_policy_param import ( |
| 86 | + DropletBackupPolicyParam as DropletBackupPolicyParam, |
| 87 | +) |
| 88 | +from .gpu_droplet_create_response import ( |
| 89 | + GPUDropletCreateResponse as GPUDropletCreateResponse, |
| 90 | +) |
| 91 | +from .agent_update_status_response import ( |
| 92 | + AgentUpdateStatusResponse as AgentUpdateStatusResponse, |
| 93 | +) |
| 94 | +from .knowledge_base_create_params import ( |
| 95 | + KnowledgeBaseCreateParams as KnowledgeBaseCreateParams, |
| 96 | +) |
| 97 | +from .knowledge_base_list_response import ( |
| 98 | + KnowledgeBaseListResponse as KnowledgeBaseListResponse, |
| 99 | +) |
| 100 | +from .knowledge_base_update_params import ( |
| 101 | + KnowledgeBaseUpdateParams as KnowledgeBaseUpdateParams, |
| 102 | +) |
| 103 | +from .gpu_droplet_retrieve_response import ( |
| 104 | + GPUDropletRetrieveResponse as GPUDropletRetrieveResponse, |
| 105 | +) |
| 106 | +from .knowledge_base_create_response import ( |
| 107 | + KnowledgeBaseCreateResponse as KnowledgeBaseCreateResponse, |
| 108 | +) |
| 109 | +from .knowledge_base_delete_response import ( |
| 110 | + KnowledgeBaseDeleteResponse as KnowledgeBaseDeleteResponse, |
| 111 | +) |
| 112 | +from .knowledge_base_update_response import ( |
| 113 | + KnowledgeBaseUpdateResponse as KnowledgeBaseUpdateResponse, |
| 114 | +) |
| 115 | +from .gpu_droplet_list_kernels_params import ( |
| 116 | + GPUDropletListKernelsParams as GPUDropletListKernelsParams, |
| 117 | +) |
| 118 | +from .gpu_droplet_delete_by_tag_params import ( |
| 119 | + GPUDropletDeleteByTagParams as GPUDropletDeleteByTagParams, |
| 120 | +) |
| 121 | +from .knowledge_base_retrieve_response import ( |
| 122 | + KnowledgeBaseRetrieveResponse as KnowledgeBaseRetrieveResponse, |
| 123 | +) |
| 124 | +from .gpu_droplet_list_firewalls_params import ( |
| 125 | + GPUDropletListFirewallsParams as GPUDropletListFirewallsParams, |
| 126 | +) |
| 127 | +from .gpu_droplet_list_kernels_response import ( |
| 128 | + GPUDropletListKernelsResponse as GPUDropletListKernelsResponse, |
| 129 | +) |
| 130 | +from .gpu_droplet_list_snapshots_params import ( |
| 131 | + GPUDropletListSnapshotsParams as GPUDropletListSnapshotsParams, |
| 132 | +) |
| 133 | +from .gpu_droplet_list_firewalls_response import ( |
| 134 | + GPUDropletListFirewallsResponse as GPUDropletListFirewallsResponse, |
| 135 | +) |
| 136 | +from .gpu_droplet_list_neighbors_response import ( |
| 137 | + GPUDropletListNeighborsResponse as GPUDropletListNeighborsResponse, |
| 138 | +) |
| 139 | +from .gpu_droplet_list_snapshots_response import ( |
| 140 | + GPUDropletListSnapshotsResponse as GPUDropletListSnapshotsResponse, |
| 141 | +) |
| 142 | +from .agents.evaluation_metrics.workspaces import ( |
| 143 | + agent_list_response, # noqa: F401 |
| 144 | + agent_move_response, # noqa: F401 |
| 145 | +) |
102 | 146 |
|
103 | 147 | # Rebuild cyclical models only after all modules are imported. |
104 | 148 | # This ensures that, when building the deferred (due to cyclical references) model schema, |
|
108 | 152 | api_agent.APIAgent.model_rebuild(_parent_namespace_depth=0) |
109 | 153 | api_workspace.APIWorkspace.model_rebuild(_parent_namespace_depth=0) |
110 | 154 | agent_create_response.AgentCreateResponse.model_rebuild(_parent_namespace_depth=0) |
111 | | - agent_retrieve_response.AgentRetrieveResponse.model_rebuild(_parent_namespace_depth=0) |
| 155 | + agent_retrieve_response.AgentRetrieveResponse.model_rebuild( |
| 156 | + _parent_namespace_depth=0 |
| 157 | + ) |
112 | 158 | agent_update_response.AgentUpdateResponse.model_rebuild(_parent_namespace_depth=0) |
113 | 159 | agent_delete_response.AgentDeleteResponse.model_rebuild(_parent_namespace_depth=0) |
114 | | - agent_update_status_response.AgentUpdateStatusResponse.model_rebuild(_parent_namespace_depth=0) |
115 | | - agents.evaluation_metrics.workspace_create_response.WorkspaceCreateResponse.model_rebuild(_parent_namespace_depth=0) |
| 160 | + agent_update_status_response.AgentUpdateStatusResponse.model_rebuild( |
| 161 | + _parent_namespace_depth=0 |
| 162 | + ) |
| 163 | + agents.evaluation_metrics.workspace_create_response.WorkspaceCreateResponse.model_rebuild( |
| 164 | + _parent_namespace_depth=0 |
| 165 | + ) |
116 | 166 | agents.evaluation_metrics.workspace_retrieve_response.WorkspaceRetrieveResponse.model_rebuild( |
117 | 167 | _parent_namespace_depth=0 |
118 | 168 | ) |
119 | | - agents.evaluation_metrics.workspace_update_response.WorkspaceUpdateResponse.model_rebuild(_parent_namespace_depth=0) |
120 | | - agents.evaluation_metrics.workspace_list_response.WorkspaceListResponse.model_rebuild(_parent_namespace_depth=0) |
121 | | - agents.evaluation_metrics.workspaces.agent_list_response.AgentListResponse.model_rebuild(_parent_namespace_depth=0) |
122 | | - agents.evaluation_metrics.workspaces.agent_move_response.AgentMoveResponse.model_rebuild(_parent_namespace_depth=0) |
123 | | - agents.function_create_response.FunctionCreateResponse.model_rebuild(_parent_namespace_depth=0) |
124 | | - agents.function_update_response.FunctionUpdateResponse.model_rebuild(_parent_namespace_depth=0) |
125 | | - agents.function_delete_response.FunctionDeleteResponse.model_rebuild(_parent_namespace_depth=0) |
126 | | - agents.api_link_knowledge_base_output.APILinkKnowledgeBaseOutput.model_rebuild(_parent_namespace_depth=0) |
127 | | - agents.knowledge_base_detach_response.KnowledgeBaseDetachResponse.model_rebuild(_parent_namespace_depth=0) |
128 | | - agents.route_view_response.RouteViewResponse.model_rebuild(_parent_namespace_depth=0) |
129 | | - models.providers.anthropic_list_agents_response.AnthropicListAgentsResponse.model_rebuild(_parent_namespace_depth=0) |
| 169 | + agents.evaluation_metrics.workspace_update_response.WorkspaceUpdateResponse.model_rebuild( |
| 170 | + _parent_namespace_depth=0 |
| 171 | + ) |
| 172 | + agents.evaluation_metrics.workspace_list_response.WorkspaceListResponse.model_rebuild( |
| 173 | + _parent_namespace_depth=0 |
| 174 | + ) |
| 175 | + agents.evaluation_metrics.workspaces.agent_list_response.AgentListResponse.model_rebuild( |
| 176 | + _parent_namespace_depth=0 |
| 177 | + ) |
| 178 | + agents.evaluation_metrics.workspaces.agent_move_response.AgentMoveResponse.model_rebuild( |
| 179 | + _parent_namespace_depth=0 |
| 180 | + ) |
| 181 | + agents.function_create_response.FunctionCreateResponse.model_rebuild( |
| 182 | + _parent_namespace_depth=0 |
| 183 | + ) |
| 184 | + agents.function_update_response.FunctionUpdateResponse.model_rebuild( |
| 185 | + _parent_namespace_depth=0 |
| 186 | + ) |
| 187 | + agents.function_delete_response.FunctionDeleteResponse.model_rebuild( |
| 188 | + _parent_namespace_depth=0 |
| 189 | + ) |
| 190 | + agents.api_link_knowledge_base_output.APILinkKnowledgeBaseOutput.model_rebuild( |
| 191 | + _parent_namespace_depth=0 |
| 192 | + ) |
| 193 | + agents.knowledge_base_detach_response.KnowledgeBaseDetachResponse.model_rebuild( |
| 194 | + _parent_namespace_depth=0 |
| 195 | + ) |
| 196 | + agents.route_view_response.RouteViewResponse.model_rebuild( |
| 197 | + _parent_namespace_depth=0 |
| 198 | + ) |
| 199 | + models.providers.anthropic_list_agents_response.AnthropicListAgentsResponse.model_rebuild( |
| 200 | + _parent_namespace_depth=0 |
| 201 | + ) |
130 | 202 | models.providers.openai_retrieve_agents_response.OpenAIRetrieveAgentsResponse.model_rebuild( |
131 | 203 | _parent_namespace_depth=0 |
132 | 204 | ) |
|
0 commit comments