Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
f1d74e2
feat(api): api update (#71)
stainless-app[bot] Mar 31, 2025
4e2d3a4
codegen metadata
stainless-app[bot] Apr 3, 2025
75e43a9
chore(internal): remove trailing character (#73)
stainless-app[bot] Apr 4, 2025
9808a93
chore(internal): slight transform perf improvement (#74)
stainless-app[bot] Apr 9, 2025
064117a
chore(internal): expand CI branch coverage
stainless-app[bot] Apr 10, 2025
e0381ae
chore(internal): reduce CI branch coverage
stainless-app[bot] Apr 10, 2025
62cf11f
fix(perf): skip traversing types for NotGiven values
stainless-app[bot] Apr 12, 2025
2130460
fix(perf): optimize some hot paths
stainless-app[bot] Apr 12, 2025
ccd70c6
chore(internal): update pyright settings
stainless-app[bot] Apr 15, 2025
024b925
chore(client): minor internal fixes
stainless-app[bot] Apr 15, 2025
730f781
chore(internal): bump pyright version
stainless-app[bot] Apr 17, 2025
bd85924
chore(internal): base client updates
stainless-app[bot] Apr 17, 2025
02396c5
chore(internal): update models test
stainless-app[bot] Apr 19, 2025
e3ab35a
chore(ci): add timeout thresholds for CI jobs
stainless-app[bot] Apr 23, 2025
0541854
chore(internal): import reformatting
stainless-app[bot] Apr 23, 2025
4ac36d0
chore(internal): fix list file params
stainless-app[bot] Apr 23, 2025
85d0556
chore(internal): refactor retries to not use recursion
stainless-app[bot] Apr 23, 2025
c9e8911
fix(pydantic v1): more robust ModelField.annotation check
stainless-app[bot] Apr 23, 2025
0ef9e84
chore(internal): minor formatting changes
stainless-app[bot] Apr 24, 2025
a5c88eb
chore(internal): codegen related update
stainless-app[bot] Apr 24, 2025
efaf732
chore(ci): only use depot for staging repos
stainless-app[bot] Apr 24, 2025
893312b
chore: broadly detect json family of content-type headers
stainless-app[bot] Apr 24, 2025
b109cd3
chore(internal): avoid errors for isinstance checks on proxies
stainless-app[bot] May 9, 2025
db3beee
fix(package): support direct resource imports
stainless-app[bot] May 10, 2025
6ee22ad
chore(ci): upload sdks to package manager
stainless-app[bot] May 15, 2025
1edfc67
chore(ci): fix installation instructions
stainless-app[bot] May 16, 2025
60b41d0
chore(docs): grammar improvements
stainless-app[bot] May 22, 2025
64cfb26
release: 2.9.0
stainless-app[bot] Aug 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat(api): api update (#71)
  • Loading branch information
stainless-app[bot] committed Mar 31, 2025
commit f1d74e2bd52f9c00e8d14c894716b2719469b260
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 85
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/evrim%2Fevrim-bfa1475f723b89cde7b4d5db25ad11a54cb2f28cbfaae95e3fc058d63dba9690.yml
openapi_spec_hash: 91ccf99085fa20cd7edf365b2ee8d2b3
configured_endpoints: 78
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/evrim%2Fevrim-9dc575d29f97c73efdda70c4c985dbd831004f20555176ff49b17479a49d4ac7.yml
openapi_spec_hash: eb82760f4f03848af1c9f2293e18f733
config_hash: cfac76dd5ce7c345175ea4884c19195c
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ created_field = client.created_fields.create(
"name": "name",
"description": "description",
"questions": ["string"],
"tags": ["string"],
},
)
print(created_field.rel_template)
Expand Down
33 changes: 2 additions & 31 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,41 +413,12 @@ Methods:
Types:

```python
from evrim.types import Tag, TagListResponse
from evrim.types import Tag
```

Methods:

- <code title="post /prod/v0/tags/">client.tags.<a href="./src/evrim/resources/tags/tags.py">create</a>(\*\*<a href="src/evrim/types/tag_create_params.py">params</a>) -> <a href="./src/evrim/types/tag.py">Tag</a></code>
- <code title="get /prod/v0/tags/{id}/">client.tags.<a href="./src/evrim/resources/tags/tags.py">retrieve</a>(id) -> <a href="./src/evrim/types/tag.py">Tag</a></code>
- <code title="put /prod/v0/tags/{id}/">client.tags.<a href="./src/evrim/resources/tags/tags.py">update</a>(id, \*\*<a href="src/evrim/types/tag_update_params.py">params</a>) -> <a href="./src/evrim/types/tag.py">Tag</a></code>
- <code title="get /prod/v0/tags/">client.tags.<a href="./src/evrim/resources/tags/tags.py">list</a>(\*\*<a href="src/evrim/types/tag_list_params.py">params</a>) -> <a href="./src/evrim/types/tag_list_response.py">TagListResponse</a></code>
- <code title="delete /prod/v0/tags/{id}/">client.tags.<a href="./src/evrim/resources/tags/tags.py">delete</a>(id) -> None</code>

## Collections

Types:

```python
from evrim.types.tags import TagToCollection
```

Methods:

- <code title="post /prod/v0/tags/{tag_id}/collections/">client.tags.collections.<a href="./src/evrim/resources/tags/collections.py">tag</a>(tag_id, \*\*<a href="src/evrim/types/tags/collection_tag_params.py">params</a>) -> <a href="./src/evrim/types/tags/tag_to_collection.py">TagToCollection</a></code>

## Profiles

Types:

```python
from evrim.types.tags import ProfileListResponse
```

Methods:

- <code title="get /prod/v0/tags/{tag_id}/profiles/">client.tags.profiles.<a href="./src/evrim/resources/tags/profiles.py">list</a>(tag_id, \*\*<a href="src/evrim/types/tags/profile_list_params.py">params</a>) -> <a href="./src/evrim/types/tags/profile_list_response.py">ProfileListResponse</a></code>
- <code title="post /prod/v0/tags/{tag_id}/profiles/">client.tags.profiles.<a href="./src/evrim/resources/tags/profiles.py">tag</a>(tag_id, \*\*<a href="src/evrim/types/tags/profile_tag_params.py">params</a>) -> None</code>
- <code title="get /prod/v0/tags/">client.tags.<a href="./src/evrim/resources/tags/tags.py">list</a>() -> None</code>

# Templates

Expand Down
8 changes: 8 additions & 0 deletions src/evrim/resources/profiles/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def list(
*,
limit: int | NotGiven = NOT_GIVEN,
offset: int | NotGiven = NOT_GIVEN,
search: str | NotGiven = NOT_GIVEN,
specification: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand All @@ -249,6 +250,8 @@ def list(

offset: The initial index from which to return the results.

search: A search term.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -268,6 +271,7 @@ def list(
{
"limit": limit,
"offset": offset,
"search": search,
"specification": specification,
},
profile_list_params.ProfileListParams,
Expand Down Expand Up @@ -503,6 +507,7 @@ async def list(
*,
limit: int | NotGiven = NOT_GIVEN,
offset: int | NotGiven = NOT_GIVEN,
search: str | NotGiven = NOT_GIVEN,
specification: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand All @@ -517,6 +522,8 @@ async def list(

offset: The initial index from which to return the results.

search: A search term.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -536,6 +543,7 @@ async def list(
{
"limit": limit,
"offset": offset,
"search": search,
"specification": specification,
},
profile_list_params.ProfileListParams,
Expand Down
28 changes: 0 additions & 28 deletions src/evrim/resources/tags/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,8 @@
TagsResourceWithStreamingResponse,
AsyncTagsResourceWithStreamingResponse,
)
from .profiles import (
ProfilesResource,
AsyncProfilesResource,
ProfilesResourceWithRawResponse,
AsyncProfilesResourceWithRawResponse,
ProfilesResourceWithStreamingResponse,
AsyncProfilesResourceWithStreamingResponse,
)
from .collections import (
CollectionsResource,
AsyncCollectionsResource,
CollectionsResourceWithRawResponse,
AsyncCollectionsResourceWithRawResponse,
CollectionsResourceWithStreamingResponse,
AsyncCollectionsResourceWithStreamingResponse,
)

__all__ = [
"CollectionsResource",
"AsyncCollectionsResource",
"CollectionsResourceWithRawResponse",
"AsyncCollectionsResourceWithRawResponse",
"CollectionsResourceWithStreamingResponse",
"AsyncCollectionsResourceWithStreamingResponse",
"ProfilesResource",
"AsyncProfilesResource",
"ProfilesResourceWithRawResponse",
"AsyncProfilesResourceWithRawResponse",
"ProfilesResourceWithStreamingResponse",
"AsyncProfilesResourceWithStreamingResponse",
"TagsResource",
"AsyncTagsResource",
"TagsResourceWithRawResponse",
Expand Down
174 changes: 0 additions & 174 deletions src/evrim/resources/tags/collections.py

This file was deleted.

Loading