Skip to content

Commit f0412ef

Browse files
release: 0.1.0-alpha.17 (#111)
* chore(internal): version bump * chore(internal): version bump * chore(internal): update models test * feat(api): api update * feat(api): add project increment_queries and other recent endpoints * feat(api): add project increment_queries and other recent endpoints * feat(api): add project increment_queries and other recent endpoints * feat(api): api update * feat(api): api update * chore(ci): add timeout thresholds for CI jobs * chore(internal): import reformatting * chore(internal): fix list file params * chore(internal): refactor retries to not use recursion * fix(pydantic v1): more robust ModelField.annotation check * codegen metadata * feat(api): add proj analytics endpoint * release: 0.1.0-alpha.17 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent d5f2767 commit f0412ef

39 files changed

+1819
-362
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
lint:
13+
timeout-minutes: 10
1314
name: lint
1415
runs-on: ubuntu-latest
1516
steps:

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.0-alpha.16"
2+
".": "0.1.0-alpha.17"
33
}

.stats.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
configured_endpoints: 36
2-
openapi_spec_hash: 6311021a3aba7ac56cc3b474762945c0
3-
config_hash: adbedb6317fca6f566f54564cc341846
1+
configured_endpoints: 43
2+
openapi_spec_hash: 62b629dd5b215c1eebc57e0c6039eea7
3+
config_hash: 5e459b33c53ffa6e554087a779bdb790

CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# Changelog
22

3+
## 0.1.0-alpha.17 (2025-04-23)
4+
5+
Full Changelog: [v0.1.0-alpha.16...v0.1.0-alpha.17](https://github.com/cleanlab/codex-python/compare/v0.1.0-alpha.16...v0.1.0-alpha.17)
6+
7+
### Features
8+
9+
* **api:** add proj analytics endpoint ([ae79a63](https://github.com/cleanlab/codex-python/commit/ae79a63eb48beb6c4c72fd99e39c8de37915e028))
10+
* **api:** add project increment_queries and other recent endpoints ([5bf31f7](https://github.com/cleanlab/codex-python/commit/5bf31f74b6008c9bda7b4ec290b1216a51ef9d1f))
11+
* **api:** add project increment_queries and other recent endpoints ([e81cc3d](https://github.com/cleanlab/codex-python/commit/e81cc3d451c7c8d163c0b80d983140506a0adb66))
12+
* **api:** add project increment_queries and other recent endpoints ([b038fbe](https://github.com/cleanlab/codex-python/commit/b038fbe3e90f3096b0913256db9e31ca52cd4001))
13+
* **api:** api update ([ed0b337](https://github.com/cleanlab/codex-python/commit/ed0b337167c713bebd54c21fe587ee05c57a90d4))
14+
* **api:** api update ([3f85757](https://github.com/cleanlab/codex-python/commit/3f857575176d200a639880dfa7e60e3a9949750c))
15+
* **api:** api update ([4f39e46](https://github.com/cleanlab/codex-python/commit/4f39e46167b88a0c7198bdd8ad7d31bf118d485c))
16+
17+
18+
### Bug Fixes
19+
20+
* **pydantic v1:** more robust ModelField.annotation check ([2db34b6](https://github.com/cleanlab/codex-python/commit/2db34b6bcbd0b62c6474146d50c259244f13f84f))
21+
22+
23+
### Chores
24+
25+
* **ci:** add timeout thresholds for CI jobs ([bcc2ed0](https://github.com/cleanlab/codex-python/commit/bcc2ed013f1e88ac4f97bdb0dc7e47364276e182))
26+
* **internal:** fix list file params ([2e9cf89](https://github.com/cleanlab/codex-python/commit/2e9cf89c75d12ed44ace20998aa7245a8b241922))
27+
* **internal:** import reformatting ([bcf89d2](https://github.com/cleanlab/codex-python/commit/bcf89d29f760b4eb2e9b7534034adfc28582ea03))
28+
* **internal:** refactor retries to not use recursion ([2f3a24a](https://github.com/cleanlab/codex-python/commit/2f3a24a40294e21f2e3d9e9464796750ff25b51e))
29+
* **internal:** update models test ([444cd03](https://github.com/cleanlab/codex-python/commit/444cd038fc03a545fc2da0a6e5ab14ea84102408))
30+
* **internal:** version bump ([03cd933](https://github.com/cleanlab/codex-python/commit/03cd93334de3db9beea06ae0f62bcb0ab61466a4))
31+
* **internal:** version bump ([88821c7](https://github.com/cleanlab/codex-python/commit/88821c710de290b37a6dbc9a81ef0a1cc396db62))
32+
333
## 0.1.0-alpha.16 (2025-04-18)
434

535
Full Changelog: [v0.1.0-alpha.15...v0.1.0-alpha.16](https://github.com/cleanlab/codex-python/compare/v0.1.0-alpha.15...v0.1.0-alpha.16)

api.md

+18-11
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,18 @@ Methods:
1616
Types:
1717

1818
```python
19-
from codex.types import OrganizationSchemaPublic
19+
from codex.types import (
20+
OrganizationSchemaPublic,
21+
OrganizationListMembersResponse,
22+
OrganizationRetrievePermissionsResponse,
23+
)
2024
```
2125

2226
Methods:
2327

2428
- <code title="get /api/organizations/{organization_id}">client.organizations.<a href="./src/codex/resources/organizations/organizations.py">retrieve</a>(organization_id) -> <a href="./src/codex/types/organization_schema_public.py">OrganizationSchemaPublic</a></code>
29+
- <code title="get /api/organizations/{organization_id}/members">client.organizations.<a href="./src/codex/resources/organizations/organizations.py">list_members</a>(organization_id) -> <a href="./src/codex/types/organization_list_members_response.py">OrganizationListMembersResponse</a></code>
30+
- <code title="get /api/organizations/{organization_id}/permissions">client.organizations.<a href="./src/codex/resources/organizations/organizations.py">retrieve_permissions</a>(organization_id) -> <a href="./src/codex/types/organization_retrieve_permissions_response.py">OrganizationRetrievePermissionsResponse</a></code>
2531

2632
## Billing
2733

@@ -77,15 +83,9 @@ Methods:
7783

7884
# Users
7985

80-
Types:
81-
82-
```python
83-
from codex.types import User
84-
```
85-
8686
Methods:
8787

88-
- <code title="patch /api/users/activate_account">client.users.<a href="./src/codex/resources/users/users.py">activate_account</a>(\*\*<a href="src/codex/types/user_activate_account_params.py">params</a>) -> <a href="./src/codex/types/user.py">User</a></code>
88+
- <code title="patch /api/users/activate_account">client.users.<a href="./src/codex/resources/users/users.py">activate_account</a>(\*\*<a href="src/codex/types/user_activate_account_params.py">params</a>) -> <a href="./src/codex/types/users/user_schema_public.py">UserSchemaPublic</a></code>
8989

9090
## Myself
9191

@@ -97,13 +97,13 @@ from codex.types.users import UserSchema, UserSchemaPublic
9797

9898
Methods:
9999

100-
- <code title="get /api/users/myself">client.users.myself.<a href="./src/codex/resources/users/myself/myself.py">retrieve</a>() -> <a href="./src/codex/types/user.py">User</a></code>
100+
- <code title="get /api/users/myself">client.users.myself.<a href="./src/codex/resources/users/myself/myself.py">retrieve</a>() -> <a href="./src/codex/types/users/user_schema_public.py">UserSchemaPublic</a></code>
101101

102102
### APIKey
103103

104104
Methods:
105105

106-
- <code title="get /api/users/myself/api-key">client.users.myself.api_key.<a href="./src/codex/resources/users/myself/api_key.py">retrieve</a>() -> <a href="./src/codex/types/user.py">User</a></code>
106+
- <code title="get /api/users/myself/api-key">client.users.myself.api_key.<a href="./src/codex/resources/users/myself/api_key.py">retrieve</a>() -> <a href="./src/codex/types/users/user_schema_public.py">UserSchemaPublic</a></code>
107107
- <code title="post /api/users/myself/api-key/refresh">client.users.myself.api_key.<a href="./src/codex/resources/users/myself/api_key.py">refresh</a>() -> <a href="./src/codex/types/users/user_schema.py">UserSchema</a></code>
108108

109109
### Organizations
@@ -140,6 +140,8 @@ from codex.types import (
140140
ProjectRetrieveResponse,
141141
ProjectListResponse,
142142
ProjectExportResponse,
143+
ProjectIncrementQueriesResponse,
144+
ProjectRetrieveAnalyticsResponse,
143145
)
144146
```
145147

@@ -151,6 +153,8 @@ Methods:
151153
- <code title="get /api/projects/">client.projects.<a href="./src/codex/resources/projects/projects.py">list</a>(\*\*<a href="src/codex/types/project_list_params.py">params</a>) -> <a href="./src/codex/types/project_list_response.py">ProjectListResponse</a></code>
152154
- <code title="delete /api/projects/{project_id}">client.projects.<a href="./src/codex/resources/projects/projects.py">delete</a>(project_id) -> None</code>
153155
- <code title="get /api/projects/{project_id}/export">client.projects.<a href="./src/codex/resources/projects/projects.py">export</a>(project_id) -> <a href="./src/codex/types/project_export_response.py">object</a></code>
156+
- <code title="post /api/projects/{project_id}/increment_queries">client.projects.<a href="./src/codex/resources/projects/projects.py">increment_queries</a>(project_id) -> <a href="./src/codex/types/project_increment_queries_response.py">object</a></code>
157+
- <code title="get /api/projects/{project_id}/analytics/">client.projects.<a href="./src/codex/resources/projects/projects.py">retrieve_analytics</a>(project_id, \*\*<a href="src/codex/types/project_retrieve_analytics_params.py">params</a>) -> <a href="./src/codex/types/project_retrieve_analytics_response.py">ProjectRetrieveAnalyticsResponse</a></code>
154158

155159
## AccessKeys
156160

@@ -179,7 +183,7 @@ Methods:
179183
Types:
180184

181185
```python
182-
from codex.types.projects import Entry, EntryQueryResponse
186+
from codex.types.projects import Entry, EntryNotifySmeResponse, EntryQueryResponse
183187
```
184188

185189
Methods:
@@ -188,7 +192,10 @@ Methods:
188192
- <code title="get /api/projects/{project_id}/entries/{entry_id}">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">retrieve</a>(entry_id, \*, project_id) -> <a href="./src/codex/types/projects/entry.py">Entry</a></code>
189193
- <code title="put /api/projects/{project_id}/entries/{entry_id}">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">update</a>(entry_id, \*, project_id, \*\*<a href="src/codex/types/projects/entry_update_params.py">params</a>) -> <a href="./src/codex/types/projects/entry.py">Entry</a></code>
190194
- <code title="delete /api/projects/{project_id}/entries/{entry_id}">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">delete</a>(entry_id, \*, project_id) -> None</code>
195+
- <code title="post /api/projects/{project_id}/entries/{entry_id}/notifications">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">notify_sme</a>(entry_id, \*, project_id, \*\*<a href="src/codex/types/projects/entry_notify_sme_params.py">params</a>) -> <a href="./src/codex/types/projects/entry_notify_sme_response.py">EntryNotifySmeResponse</a></code>
196+
- <code title="put /api/projects/{project_id}/entries/{entry_id}/publish_draft_answer">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">publish_draft_answer</a>(entry_id, \*, project_id) -> <a href="./src/codex/types/projects/entry.py">Entry</a></code>
191197
- <code title="post /api/projects/{project_id}/entries/query">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">query</a>(project_id, \*\*<a href="src/codex/types/projects/entry_query_params.py">params</a>) -> <a href="./src/codex/types/projects/entry_query_response.py">EntryQueryResponse</a></code>
198+
- <code title="put /api/projects/{project_id}/entries/{entry_id}/unpublish_answer">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">unpublish_answer</a>(entry_id, \*, project_id) -> <a href="./src/codex/types/projects/entry.py">Entry</a></code>
192199

193200
## Clusters
194201

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "codex-sdk"
3-
version = "0.1.0-alpha.16"
3+
version = "0.1.0-alpha.17"
44
description = "Internal SDK used within cleanlab-codex package. Refer to https://pypi.org/project/cleanlab-codex/ instead."
55
dynamic = ["readme"]
66
license = "MIT"

0 commit comments

Comments
 (0)