Skip to content

Commit b0966ab

Browse files
release: 3.8.0 (#82)
* feat(api): manual updates * release: 3.8.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent bcb91a1 commit b0966ab

File tree

13 files changed

+12
-483
lines changed

13 files changed

+12
-483
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "3.7.0"
2+
".": "3.8.0"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 188
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/digitalocean%2Fgradient-f07d74847e620dfa26d8df40ea4680814af9bba381b3a57a7b6ed76ad49d85f8.yml
33
openapi_spec_hash: e3553dc2abf2afd4368b736bcc32a289
4-
config_hash: b712366a70c9d33e22d40eb601ca972f
4+
config_hash: b28984dd49d4baf1d68572efe83ac103

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 3.8.0 (2025-11-20)
4+
5+
Full Changelog: [v3.7.0...v3.8.0](https://github.com/digitalocean/gradient-python/compare/v3.7.0...v3.8.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([244277b](https://github.com/digitalocean/gradient-python/commit/244277b483ac97f733e8f37e0b556cb49813b554))
10+
311
## 3.7.0 (2025-11-19)
412

513
Full Changelog: [v3.6.0...v3.7.0](https://github.com/digitalocean/gradient-python/compare/v3.6.0...v3.7.0)

api.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -155,18 +155,6 @@ Methods:
155155
- <code title="get /v2/gen-ai/workspaces/{workspace_uuid}/agents">client.agents.evaluation_metrics.workspaces.agents.<a href="./src/gradient/resources/agents/evaluation_metrics/workspaces/agents.py">list</a>(workspace_uuid, \*\*<a href="src/gradient/types/agents/evaluation_metrics/workspaces/agent_list_params.py">params</a>) -> <a href="./src/gradient/types/agents/evaluation_metrics/workspaces/agent_list_response.py">AgentListResponse</a></code>
156156
- <code title="put /v2/gen-ai/workspaces/{workspace_uuid}/agents">client.agents.evaluation_metrics.workspaces.agents.<a href="./src/gradient/resources/agents/evaluation_metrics/workspaces/agents.py">move</a>(path_workspace_uuid, \*\*<a href="src/gradient/types/agents/evaluation_metrics/workspaces/agent_move_params.py">params</a>) -> <a href="./src/gradient/types/agents/evaluation_metrics/workspaces/agent_move_response.py">AgentMoveResponse</a></code>
157157

158-
### Models
159-
160-
Types:
161-
162-
```python
163-
from gradient.types.agents.evaluation_metrics import ModelListResponse
164-
```
165-
166-
Methods:
167-
168-
- <code title="get /v2/gen-ai/models">client.agents.evaluation_metrics.models.<a href="./src/gradient/resources/agents/evaluation_metrics/models.py">list</a>(\*\*<a href="src/gradient/types/agents/evaluation_metrics/model_list_params.py">params</a>) -> <a href="./src/gradient/types/agents/evaluation_metrics/model_list_response.py">ModelListResponse</a></code>
169-
170158
### Anthropic
171159

172160
#### Keys

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "gradient"
3-
version = "3.7.0"
3+
version = "3.8.0"
44
description = "The official Python library for the Gradient API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/gradient/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "gradient"
4-
__version__ = "3.7.0" # x-release-please-version
4+
__version__ = "3.8.0" # x-release-please-version

src/gradient/resources/agents/evaluation_metrics/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from .models import (
4-
ModelsResource,
5-
AsyncModelsResource,
6-
ModelsResourceWithRawResponse,
7-
AsyncModelsResourceWithRawResponse,
8-
ModelsResourceWithStreamingResponse,
9-
AsyncModelsResourceWithStreamingResponse,
10-
)
113
from .oauth2 import (
124
Oauth2Resource,
135
AsyncOauth2Resource,
@@ -64,12 +56,6 @@
6456
"AsyncWorkspacesResourceWithRawResponse",
6557
"WorkspacesResourceWithStreamingResponse",
6658
"AsyncWorkspacesResourceWithStreamingResponse",
67-
"ModelsResource",
68-
"AsyncModelsResource",
69-
"ModelsResourceWithRawResponse",
70-
"AsyncModelsResourceWithRawResponse",
71-
"ModelsResourceWithStreamingResponse",
72-
"AsyncModelsResourceWithStreamingResponse",
7359
"AnthropicResource",
7460
"AsyncAnthropicResource",
7561
"AnthropicResourceWithRawResponse",

src/gradient/resources/agents/evaluation_metrics/evaluation_metrics.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@
44

55
import httpx
66

7-
from .models import (
8-
ModelsResource,
9-
AsyncModelsResource,
10-
ModelsResourceWithRawResponse,
11-
AsyncModelsResourceWithRawResponse,
12-
ModelsResourceWithStreamingResponse,
13-
AsyncModelsResourceWithStreamingResponse,
14-
)
157
from ...._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
168
from ...._utils import maybe_transform, async_maybe_transform
179
from ...._compat import cached_property
@@ -75,10 +67,6 @@ class EvaluationMetricsResource(SyncAPIResource):
7567
def workspaces(self) -> WorkspacesResource:
7668
return WorkspacesResource(self._client)
7769

78-
@cached_property
79-
def models(self) -> ModelsResource:
80-
return ModelsResource(self._client)
81-
8270
@cached_property
8371
def anthropic(self) -> AnthropicResource:
8472
return AnthropicResource(self._client)
@@ -192,10 +180,6 @@ class AsyncEvaluationMetricsResource(AsyncAPIResource):
192180
def workspaces(self) -> AsyncWorkspacesResource:
193181
return AsyncWorkspacesResource(self._client)
194182

195-
@cached_property
196-
def models(self) -> AsyncModelsResource:
197-
return AsyncModelsResource(self._client)
198-
199183
@cached_property
200184
def anthropic(self) -> AsyncAnthropicResource:
201185
return AsyncAnthropicResource(self._client)
@@ -319,10 +303,6 @@ def __init__(self, evaluation_metrics: EvaluationMetricsResource) -> None:
319303
def workspaces(self) -> WorkspacesResourceWithRawResponse:
320304
return WorkspacesResourceWithRawResponse(self._evaluation_metrics.workspaces)
321305

322-
@cached_property
323-
def models(self) -> ModelsResourceWithRawResponse:
324-
return ModelsResourceWithRawResponse(self._evaluation_metrics.models)
325-
326306
@cached_property
327307
def anthropic(self) -> AnthropicResourceWithRawResponse:
328308
return AnthropicResourceWithRawResponse(self._evaluation_metrics.anthropic)
@@ -355,10 +335,6 @@ def __init__(self, evaluation_metrics: AsyncEvaluationMetricsResource) -> None:
355335
def workspaces(self) -> AsyncWorkspacesResourceWithRawResponse:
356336
return AsyncWorkspacesResourceWithRawResponse(self._evaluation_metrics.workspaces)
357337

358-
@cached_property
359-
def models(self) -> AsyncModelsResourceWithRawResponse:
360-
return AsyncModelsResourceWithRawResponse(self._evaluation_metrics.models)
361-
362338
@cached_property
363339
def anthropic(self) -> AsyncAnthropicResourceWithRawResponse:
364340
return AsyncAnthropicResourceWithRawResponse(self._evaluation_metrics.anthropic)
@@ -391,10 +367,6 @@ def __init__(self, evaluation_metrics: EvaluationMetricsResource) -> None:
391367
def workspaces(self) -> WorkspacesResourceWithStreamingResponse:
392368
return WorkspacesResourceWithStreamingResponse(self._evaluation_metrics.workspaces)
393369

394-
@cached_property
395-
def models(self) -> ModelsResourceWithStreamingResponse:
396-
return ModelsResourceWithStreamingResponse(self._evaluation_metrics.models)
397-
398370
@cached_property
399371
def anthropic(self) -> AnthropicResourceWithStreamingResponse:
400372
return AnthropicResourceWithStreamingResponse(self._evaluation_metrics.anthropic)
@@ -427,10 +399,6 @@ def __init__(self, evaluation_metrics: AsyncEvaluationMetricsResource) -> None:
427399
def workspaces(self) -> AsyncWorkspacesResourceWithStreamingResponse:
428400
return AsyncWorkspacesResourceWithStreamingResponse(self._evaluation_metrics.workspaces)
429401

430-
@cached_property
431-
def models(self) -> AsyncModelsResourceWithStreamingResponse:
432-
return AsyncModelsResourceWithStreamingResponse(self._evaluation_metrics.models)
433-
434402
@cached_property
435403
def anthropic(self) -> AsyncAnthropicResourceWithStreamingResponse:
436404
return AsyncAnthropicResourceWithStreamingResponse(self._evaluation_metrics.anthropic)

0 commit comments

Comments
 (0)