Skip to content

Commit e10f211

Browse files
committed
fix lints
1 parent 5623116 commit e10f211

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

src/do_gradientai/_client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
)
5151
from .resources.agents.agents import AgentsResource, AsyncAgentsResource
5252
from .resources.models.models import ModelsResource, AsyncModelsResource
53+
from .resources.gpu_droplets.sizes import (
54+
SizesResource,
55+
)
5356
from .resources.databases.databases import DatabasesResource, AsyncDatabasesResource
5457
from .resources.inference.inference import InferenceResource, AsyncInferenceResource
5558
from .resources.gpu_droplets.snapshots import (

src/do_gradientai/types/__init__.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,13 @@
6969
from .agent_retrieve_response import AgentRetrieveResponse as AgentRetrieveResponse
7070
from .api_openai_api_key_info import APIOpenAIAPIKeyInfo as APIOpenAIAPIKeyInfo
7171
from .gpu_droplet_list_params import GPUDropletListParams as GPUDropletListParams
72-
from .api_deployment_visibility import APIDeploymentVisibility as APIDeploymentVisibility
72+
from .agents.evaluation_metrics import (
73+
openai, # type: ignore # noqa: F401
74+
anthropic, # type: ignore # noqa: F401
75+
)
76+
from .api_deployment_visibility import (
77+
APIDeploymentVisibility as APIDeploymentVisibility,
78+
)
7379
from .gpu_droplet_create_params import GPUDropletCreateParams as GPUDropletCreateParams
7480
from .gpu_droplet_list_response import GPUDropletListResponse as GPUDropletListResponse
7581
from .agent_update_status_params import (
@@ -112,6 +118,9 @@
112118
from .gpu_droplet_list_kernels_params import (
113119
GPUDropletListKernelsParams as GPUDropletListKernelsParams,
114120
)
121+
from .agents.evaluation_metrics.openai import (
122+
key_list_agents_response, # type: ignore # noqa: F401
123+
)
115124
from .gpu_droplet_delete_by_tag_params import (
116125
GPUDropletDeleteByTagParams as GPUDropletDeleteByTagParams,
117126
)
@@ -127,6 +136,9 @@
127136
from .gpu_droplet_list_snapshots_params import (
128137
GPUDropletListSnapshotsParams as GPUDropletListSnapshotsParams,
129138
)
139+
from .agents.evaluation_metrics.anthropic import (
140+
key_list_agents_response, # type: ignore # noqa: F401
141+
)
130142
from .gpu_droplet_list_firewalls_response import (
131143
GPUDropletListFirewallsResponse as GPUDropletListFirewallsResponse,
132144
)
@@ -199,7 +211,9 @@
199211
agents.route_view_response.RouteViewResponse.model_rebuild(
200212
_parent_namespace_depth=0
201213
)
202-
models.providers.anthropic_list_agents_response.AnthropicListAgentsResponse.model_rebuild(_parent_namespace_depth=0)
214+
models.providers.anthropic_list_agents_response.AnthropicListAgentsResponse.model_rebuild(
215+
_parent_namespace_depth=0
216+
)
203217
models.providers.openai_retrieve_agents_response.OpenAIRetrieveAgentsResponse.model_rebuild(
204218
_parent_namespace_depth=0
205219
)

src/do_gradientai/types/agents/evaluation_metrics/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
from __future__ import annotations
44

5-
from . import workspaces # type: ignore # noqa: F401
5+
from . import (
6+
openai, # type: ignore # noqa: F401
7+
anthropic, # type: ignore # noqa: F401
8+
workspaces, # type: ignore # noqa: F401
9+
)
610
from .model_list_params import ModelListParams as ModelListParams
711
from .model_list_response import ModelListResponse as ModelListResponse
812
from .workspace_create_params import WorkspaceCreateParams as WorkspaceCreateParams

0 commit comments

Comments
 (0)