Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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