Skip to content

Commit c6972a0

Browse files
feat(api): manual updates
1 parent 816c149 commit c6972a0

2 files changed

Lines changed: 9 additions & 36 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 38
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web/parallel-sdk-d19934965b68e6b9445877a27f3bcd08e0f8492125faca7d9e66e538abf193f5.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web/parallel-sdk-b134f034fe11499d713c03d07778aba8a395d7e3cbbc3d8a4bd2891f0aa970ba.yml
33
openapi_spec_hash: c4fc5b0cb3bc48076f736a0ad2b2e75e
4-
config_hash: 0b93697d62ec2afc2b9ed854621dffe7
4+
config_hash: 27cd9354fb0ac3129cbf269737cece6c

src/resources/beta/task-group.ts

Lines changed: 7 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ import { path } from '../../internal/utils/path';
1212

1313
/**
1414
* Tasks (Beta)
15+
*
16+
* @deprecated Use GA Task Group instead
1517
*/
1618
export class TaskGroup extends APIResource {
1719
/**
1820
* Initiates a TaskGroup to group and track multiple runs.
1921
*
20-
* @example
21-
* ```ts
22-
* const taskGroup = await client.beta.taskGroup.create();
23-
* ```
22+
* @deprecated Use GA Task Group instead
2423
*/
2524
create(body: TaskGroupCreateParams, options?: RequestOptions): APIPromise<TaskGroupAPI.TaskGroup> {
2625
return this._client.post('/v1beta/tasks/groups', {
@@ -33,12 +32,7 @@ export class TaskGroup extends APIResource {
3332
/**
3433
* Retrieves aggregated status across runs in a TaskGroup.
3534
*
36-
* @example
37-
* ```ts
38-
* const taskGroup = await client.beta.taskGroup.retrieve(
39-
* 'taskgroup_id',
40-
* );
41-
* ```
35+
* @deprecated Use GA Task Group instead
4236
*/
4337
retrieve(taskGroupID: string, options?: RequestOptions): APIPromise<TaskGroupAPI.TaskGroup> {
4438
return this._client.get(path`/v1beta/tasks/groups/${taskGroupID}`, {
@@ -50,18 +44,7 @@ export class TaskGroup extends APIResource {
5044
/**
5145
* Initiates multiple task runs within a TaskGroup.
5246
*
53-
* @example
54-
* ```ts
55-
* const taskGroupRunResponse =
56-
* await client.beta.taskGroup.addRuns('taskgroup_id', {
57-
* inputs: [
58-
* {
59-
* input: 'What was the GDP of France in 2023?',
60-
* processor: 'base',
61-
* },
62-
* ],
63-
* });
64-
* ```
47+
* @deprecated Use GA Task Group instead
6548
*/
6649
addRuns(
6750
taskGroupID: string,
@@ -86,12 +69,7 @@ export class TaskGroup extends APIResource {
8669
* The connection will remain open for up to an hour as long as at least one run in
8770
* the group is still active.
8871
*
89-
* @example
90-
* ```ts
91-
* const response = await client.beta.taskGroup.events(
92-
* 'taskgroup_id',
93-
* );
94-
* ```
72+
* @deprecated Use GA Task Group instead
9573
*/
9674
events(
9775
taskGroupID: string,
@@ -121,12 +99,7 @@ export class TaskGroup extends APIResource {
12199
* the stream. The stream will resume from the next event after the
122100
* `last_event_id`.
123101
*
124-
* @example
125-
* ```ts
126-
* const response = await client.beta.taskGroup.getRuns(
127-
* 'taskgroup_id',
128-
* );
129-
* ```
102+
* @deprecated Use GA Task Group instead
130103
*/
131104
getRuns(
132105
taskGroupID: string,

0 commit comments

Comments
 (0)