Skip to content

Commit 425caff

Browse files
feat(api): api update
1 parent 658d527 commit 425caff

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
configured_endpoints: 44
2-
openapi_spec_hash: 392a7547e79deafa47b8c452f0f5b79e
2+
openapi_spec_hash: 66a1eb040f577f552228baf4ddbd17d0
33
config_hash: 659f65b6ccf5612986f920f7f9abbcb5

src/codex/resources/projects/projects.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def update(
219219
def list(
220220
self,
221221
*,
222-
include_entry_counts: bool | NotGiven = NOT_GIVEN,
222+
include_unaddressed_counts: bool | NotGiven = NOT_GIVEN,
223223
limit: int | NotGiven = NOT_GIVEN,
224224
offset: int | NotGiven = NOT_GIVEN,
225225
order: Literal["asc", "desc"] | NotGiven = NOT_GIVEN,
@@ -254,7 +254,7 @@ def list(
254254
timeout=timeout,
255255
query=maybe_transform(
256256
{
257-
"include_entry_counts": include_entry_counts,
257+
"include_unaddressed_counts": include_unaddressed_counts,
258258
"limit": limit,
259259
"offset": offset,
260260
"order": order,
@@ -766,7 +766,7 @@ async def update(
766766
async def list(
767767
self,
768768
*,
769-
include_entry_counts: bool | NotGiven = NOT_GIVEN,
769+
include_unaddressed_counts: bool | NotGiven = NOT_GIVEN,
770770
limit: int | NotGiven = NOT_GIVEN,
771771
offset: int | NotGiven = NOT_GIVEN,
772772
order: Literal["asc", "desc"] | NotGiven = NOT_GIVEN,
@@ -801,7 +801,7 @@ async def list(
801801
timeout=timeout,
802802
query=await async_maybe_transform(
803803
{
804-
"include_entry_counts": include_entry_counts,
804+
"include_unaddressed_counts": include_unaddressed_counts,
805805
"limit": limit,
806806
"offset": offset,
807807
"order": order,

src/codex/types/project_list_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
class ProjectListParams(TypedDict, total=False):
12-
include_entry_counts: bool
12+
include_unaddressed_counts: bool
1313

1414
limit: int
1515

src/codex/types/project_list_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ class Project(BaseModel):
327327

328328
description: Optional[str] = None
329329

330-
unanswered_entries_count: Optional[int] = None
330+
unaddressed_count: Optional[int] = None
331331

332332

333333
class ProjectListResponse(BaseModel):

tests/api_resources/test_projects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def test_method_list(self, client: Codex) -> None:
341341
@parametrize
342342
def test_method_list_with_all_params(self, client: Codex) -> None:
343343
project = client.projects.list(
344-
include_entry_counts=True,
344+
include_unaddressed_counts=True,
345345
limit=1,
346346
offset=0,
347347
order="asc",
@@ -979,7 +979,7 @@ async def test_method_list(self, async_client: AsyncCodex) -> None:
979979
@parametrize
980980
async def test_method_list_with_all_params(self, async_client: AsyncCodex) -> None:
981981
project = await async_client.projects.list(
982-
include_entry_counts=True,
982+
include_unaddressed_counts=True,
983983
limit=1,
984984
offset=0,
985985
order="asc",

0 commit comments

Comments
 (0)