Skip to content

Commit 3641ac6

Browse files
feat(api): add after_date, update findAll nomenclature
1 parent 2eb1adc commit 3641ac6

26 files changed

Lines changed: 262 additions & 232 deletions

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 22
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web%2Fparallel-sdk-e6afa27fc86492ffa6ee5f929f2d1eb8166750c3a9652a393aede2ca467c49ef.yml
3-
openapi_spec_hash: 12e9b47405451f5286c199d7ee26c3cc
4-
config_hash: 6a16116c579cf9a3739083c24b10534d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web%2Fparallel-sdk-105d778ad64daf94bc1a8b074c609be5200c570c8a3e9fb646d418d572083dac.yml
3+
openapi_spec_hash: b5d7390ed05ec6f332a1a91266a74ac3
4+
config_hash: a377da139cf6858ba9350a5a88f5b228

api.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -103,34 +103,34 @@ Methods:
103103
- <code title="get /v1beta/tasks/groups/{taskgroup_id}/events">client.beta.task_group.<a href="./src/parallel/resources/beta/task_group.py">events</a>(task_group_id, \*\*<a href="src/parallel/types/beta/task_group_events_params.py">params</a>) -> <a href="./src/parallel/types/beta/task_group_events_response.py">TaskGroupEventsResponse</a></code>
104104
- <code title="get /v1beta/tasks/groups/{taskgroup_id}/runs">client.beta.task_group.<a href="./src/parallel/resources/beta/task_group.py">get_runs</a>(task_group_id, \*\*<a href="src/parallel/types/beta/task_group_get_runs_params.py">params</a>) -> <a href="./src/parallel/types/beta/task_group_get_runs_response.py">TaskGroupGetRunsResponse</a></code>
105105

106-
## Findall
106+
## FindAll
107107

108108
Types:
109109

110110
```python
111111
from parallel.types.beta import (
112-
FindallCandidateMatchStatusEvent,
113-
FindallEnrichInput,
114-
FindallExtendInput,
115-
FindallRun,
116-
FindallRunInput,
117-
FindallRunResult,
118-
FindallRunStatusEvent,
119-
FindallSchema,
120-
FindallSchemaUpdatedEvent,
112+
FindAllCandidateMatchStatusEvent,
113+
FindAllEnrichInput,
114+
FindAllExtendInput,
115+
FindAllRun,
116+
FindAllRunInput,
117+
FindAllRunResult,
118+
FindAllRunStatusEvent,
119+
FindAllSchema,
120+
FindAllSchemaUpdatedEvent,
121121
IngestInput,
122-
FindallEventsResponse,
122+
FindAllEventsResponse,
123123
)
124124
```
125125

126126
Methods:
127127

128-
- <code title="post /v1beta/findall/runs">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">create</a>(\*\*<a href="src/parallel/types/beta/findall_create_params.py">params</a>) -> <a href="./src/parallel/types/beta/findall_run.py">FindallRun</a></code>
129-
- <code title="get /v1beta/findall/runs/{findall_id}">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">retrieve</a>(findall_id) -> <a href="./src/parallel/types/beta/findall_run.py">FindallRun</a></code>
128+
- <code title="post /v1beta/findall/runs">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">create</a>(\*\*<a href="src/parallel/types/beta/findall_create_params.py">params</a>) -> <a href="./src/parallel/types/beta/findall_run.py">FindAllRun</a></code>
129+
- <code title="get /v1beta/findall/runs/{findall_id}">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">retrieve</a>(findall_id) -> <a href="./src/parallel/types/beta/findall_run.py">FindAllRun</a></code>
130130
- <code title="post /v1beta/findall/runs/{findall_id}/cancel">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">cancel</a>(findall_id) -> object</code>
131-
- <code title="post /v1beta/findall/runs/{findall_id}/enrich">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">enrich</a>(findall_id, \*\*<a href="src/parallel/types/beta/findall_enrich_params.py">params</a>) -> <a href="./src/parallel/types/beta/findall_schema.py">FindallSchema</a></code>
132-
- <code title="get /v1beta/findall/runs/{findall_id}/events">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">events</a>(findall_id, \*\*<a href="src/parallel/types/beta/findall_events_params.py">params</a>) -> <a href="./src/parallel/types/beta/findall_events_response.py">FindallEventsResponse</a></code>
133-
- <code title="post /v1beta/findall/runs/{findall_id}/extend">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">extend</a>(findall_id, \*\*<a href="src/parallel/types/beta/findall_extend_params.py">params</a>) -> <a href="./src/parallel/types/beta/findall_schema.py">FindallSchema</a></code>
134-
- <code title="post /v1beta/findall/ingest">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">ingest</a>(\*\*<a href="src/parallel/types/beta/findall_ingest_params.py">params</a>) -> <a href="./src/parallel/types/beta/findall_schema.py">FindallSchema</a></code>
135-
- <code title="get /v1beta/findall/runs/{findall_id}/result">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">result</a>(findall_id) -> <a href="./src/parallel/types/beta/findall_run_result.py">FindallRunResult</a></code>
136-
- <code title="get /v1beta/findall/runs/{findall_id}/schema">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">schema</a>(findall_id) -> <a href="./src/parallel/types/beta/findall_schema.py">FindallSchema</a></code>
131+
- <code title="post /v1beta/findall/runs/{findall_id}/enrich">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">enrich</a>(findall_id, \*\*<a href="src/parallel/types/beta/findall_enrich_params.py">params</a>) -> <a href="./src/parallel/types/beta/findall_schema.py">FindAllSchema</a></code>
132+
- <code title="get /v1beta/findall/runs/{findall_id}/events">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">events</a>(findall_id, \*\*<a href="src/parallel/types/beta/findall_events_params.py">params</a>) -> <a href="./src/parallel/types/beta/findall_events_response.py">FindAllEventsResponse</a></code>
133+
- <code title="post /v1beta/findall/runs/{findall_id}/extend">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">extend</a>(findall_id, \*\*<a href="src/parallel/types/beta/findall_extend_params.py">params</a>) -> <a href="./src/parallel/types/beta/findall_schema.py">FindAllSchema</a></code>
134+
- <code title="post /v1beta/findall/ingest">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">ingest</a>(\*\*<a href="src/parallel/types/beta/findall_ingest_params.py">params</a>) -> <a href="./src/parallel/types/beta/findall_schema.py">FindAllSchema</a></code>
135+
- <code title="get /v1beta/findall/runs/{findall_id}/result">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">result</a>(findall_id) -> <a href="./src/parallel/types/beta/findall_run_result.py">FindAllRunResult</a></code>
136+
- <code title="get /v1beta/findall/runs/{findall_id}/schema">client.beta.findall.<a href="./src/parallel/resources/beta/findall.py">schema</a>(findall_id) -> <a href="./src/parallel/types/beta/findall_schema.py">FindAllSchema</a></code>

src/parallel/resources/beta/__init__.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
AsyncBetaResourceWithStreamingResponse,
1010
)
1111
from .findall import (
12-
FindallResource,
13-
AsyncFindallResource,
14-
FindallResourceWithRawResponse,
15-
AsyncFindallResourceWithRawResponse,
16-
FindallResourceWithStreamingResponse,
17-
AsyncFindallResourceWithStreamingResponse,
12+
FindAllResource,
13+
AsyncFindAllResource,
14+
FindAllResourceWithRawResponse,
15+
AsyncFindAllResourceWithRawResponse,
16+
FindAllResourceWithStreamingResponse,
17+
AsyncFindAllResourceWithStreamingResponse,
1818
)
1919
from .task_run import (
2020
TaskRunResource,
@@ -46,12 +46,12 @@
4646
"AsyncTaskGroupResourceWithRawResponse",
4747
"TaskGroupResourceWithStreamingResponse",
4848
"AsyncTaskGroupResourceWithStreamingResponse",
49-
"FindallResource",
50-
"AsyncFindallResource",
51-
"FindallResourceWithRawResponse",
52-
"AsyncFindallResourceWithRawResponse",
53-
"FindallResourceWithStreamingResponse",
54-
"AsyncFindallResourceWithStreamingResponse",
49+
"FindAllResource",
50+
"AsyncFindAllResource",
51+
"FindAllResourceWithRawResponse",
52+
"AsyncFindAllResourceWithRawResponse",
53+
"FindAllResourceWithStreamingResponse",
54+
"AsyncFindAllResourceWithStreamingResponse",
5555
"BetaResource",
5656
"AsyncBetaResource",
5757
"BetaResourceWithRawResponse",

src/parallel/resources/beta/beta.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
import httpx
1010

1111
from .findall import (
12-
FindallResource,
13-
AsyncFindallResource,
14-
FindallResourceWithRawResponse,
15-
AsyncFindallResourceWithRawResponse,
16-
FindallResourceWithStreamingResponse,
17-
AsyncFindallResourceWithStreamingResponse,
12+
FindAllResource,
13+
AsyncFindAllResource,
14+
FindAllResourceWithRawResponse,
15+
AsyncFindAllResourceWithRawResponse,
16+
FindAllResourceWithStreamingResponse,
17+
AsyncFindAllResourceWithStreamingResponse,
1818
)
1919
from ..._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given
2020
from ..._utils import is_given, maybe_transform, strip_not_given, async_maybe_transform
@@ -64,8 +64,8 @@ def task_group(self) -> TaskGroupResource:
6464
return TaskGroupResource(self._client)
6565

6666
@cached_property
67-
def findall(self) -> FindallResource:
68-
return FindallResource(self._client)
67+
def findall(self) -> FindAllResource:
68+
return FindAllResource(self._client)
6969

7070
@cached_property
7171
def with_raw_response(self) -> BetaResourceWithRawResponse:
@@ -266,8 +266,8 @@ def task_group(self) -> AsyncTaskGroupResource:
266266
return AsyncTaskGroupResource(self._client)
267267

268268
@cached_property
269-
def findall(self) -> AsyncFindallResource:
270-
return AsyncFindallResource(self._client)
269+
def findall(self) -> AsyncFindAllResource:
270+
return AsyncFindAllResource(self._client)
271271

272272
@cached_property
273273
def with_raw_response(self) -> AsyncBetaResourceWithRawResponse:
@@ -478,8 +478,8 @@ def task_group(self) -> TaskGroupResourceWithRawResponse:
478478
return TaskGroupResourceWithRawResponse(self._beta.task_group)
479479

480480
@cached_property
481-
def findall(self) -> FindallResourceWithRawResponse:
482-
return FindallResourceWithRawResponse(self._beta.findall)
481+
def findall(self) -> FindAllResourceWithRawResponse:
482+
return FindAllResourceWithRawResponse(self._beta.findall)
483483

484484

485485
class AsyncBetaResourceWithRawResponse:
@@ -502,8 +502,8 @@ def task_group(self) -> AsyncTaskGroupResourceWithRawResponse:
502502
return AsyncTaskGroupResourceWithRawResponse(self._beta.task_group)
503503

504504
@cached_property
505-
def findall(self) -> AsyncFindallResourceWithRawResponse:
506-
return AsyncFindallResourceWithRawResponse(self._beta.findall)
505+
def findall(self) -> AsyncFindAllResourceWithRawResponse:
506+
return AsyncFindAllResourceWithRawResponse(self._beta.findall)
507507

508508

509509
class BetaResourceWithStreamingResponse:
@@ -526,8 +526,8 @@ def task_group(self) -> TaskGroupResourceWithStreamingResponse:
526526
return TaskGroupResourceWithStreamingResponse(self._beta.task_group)
527527

528528
@cached_property
529-
def findall(self) -> FindallResourceWithStreamingResponse:
530-
return FindallResourceWithStreamingResponse(self._beta.findall)
529+
def findall(self) -> FindAllResourceWithStreamingResponse:
530+
return FindAllResourceWithStreamingResponse(self._beta.findall)
531531

532532

533533
class AsyncBetaResourceWithStreamingResponse:
@@ -550,5 +550,5 @@ def task_group(self) -> AsyncTaskGroupResourceWithStreamingResponse:
550550
return AsyncTaskGroupResourceWithStreamingResponse(self._beta.task_group)
551551

552552
@cached_property
553-
def findall(self) -> AsyncFindallResourceWithStreamingResponse:
554-
return AsyncFindallResourceWithStreamingResponse(self._beta.findall)
553+
def findall(self) -> AsyncFindAllResourceWithStreamingResponse:
554+
return AsyncFindAllResourceWithStreamingResponse(self._beta.findall)

0 commit comments

Comments
 (0)