raccoonai 0.1.0a6__py3-none-any.whl → 0.1.0a8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of raccoonai might be problematic. Click here for more details.
- raccoonai/_base_client.py +7 -1
- raccoonai/_client.py +20 -3
- raccoonai/_files.py +1 -1
- raccoonai/_version.py +1 -1
- raccoonai/resources/__init__.py +28 -0
- raccoonai/resources/extensions.py +400 -0
- raccoonai/resources/fleet.py +176 -14
- raccoonai/resources/lam.py +219 -764
- raccoonai/resources/tail/__init__.py +47 -0
- raccoonai/resources/tail/apps.py +225 -0
- raccoonai/resources/tail/auth.py +186 -0
- raccoonai/resources/tail/tail.py +273 -0
- raccoonai/types/__init__.py +10 -4
- raccoonai/types/extension_all_response.py +22 -0
- raccoonai/types/extension_get_response.py +16 -0
- raccoonai/types/extension_upload_params.py +13 -0
- raccoonai/types/extension_upload_response.py +16 -0
- raccoonai/types/fleet_create_params.py +26 -12
- raccoonai/types/fleet_create_response.py +3 -5
- raccoonai/types/fleet_sessions_params.py +42 -0
- raccoonai/types/fleet_sessions_response.py +58 -0
- raccoonai/types/fleet_status_response.py +3 -5
- raccoonai/types/fleet_terminate_response.py +3 -5
- raccoonai/types/lam_run_params.py +36 -3
- raccoonai/types/lam_run_response.py +9 -1
- raccoonai/types/lam_tasks_params.py +39 -0
- raccoonai/types/lam_tasks_response.py +52 -0
- raccoonai/types/tail/__init__.py +9 -0
- raccoonai/types/tail/app_all_response.py +38 -0
- raccoonai/types/tail/app_linked_params.py +13 -0
- raccoonai/types/tail/app_linked_response.py +14 -0
- raccoonai/types/tail/auth_status_params.py +15 -0
- raccoonai/types/tail/auth_status_response.py +17 -0
- raccoonai/types/tail_users_params.py +26 -0
- raccoonai/types/tail_users_response.py +48 -0
- {raccoonai-0.1.0a6.dist-info → raccoonai-0.1.0a8.dist-info}/METADATA +33 -16
- raccoonai-0.1.0a8.dist-info/RECORD +61 -0
- raccoonai/types/lam_extract_params.py +0 -68
- raccoonai/types/lam_extract_response.py +0 -31
- raccoonai/types/lam_integration_run_params.py +0 -57
- raccoonai/types/lam_integration_run_response.py +0 -53
- raccoonai-0.1.0a6.dist-info/RECORD +0 -44
- {raccoonai-0.1.0a6.dist-info → raccoonai-0.1.0a8.dist-info}/WHEEL +0 -0
- {raccoonai-0.1.0a6.dist-info → raccoonai-0.1.0a8.dist-info}/licenses/LICENSE +0 -0
raccoonai/resources/lam.py
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import
|
|
5
|
+
from typing import List, Iterable, Optional
|
|
6
6
|
from typing_extensions import Literal, overload
|
|
7
7
|
|
|
8
8
|
import httpx
|
|
9
9
|
|
|
10
|
-
from ..types import lam_run_params,
|
|
10
|
+
from ..types import lam_run_params, lam_tasks_params
|
|
11
11
|
from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
12
12
|
from .._utils import (
|
|
13
13
|
required_args,
|
|
@@ -25,8 +25,7 @@ from .._response import (
|
|
|
25
25
|
from .._streaming import Stream, AsyncStream
|
|
26
26
|
from .._base_client import make_request_options
|
|
27
27
|
from ..types.lam_run_response import LamRunResponse
|
|
28
|
-
from ..types.
|
|
29
|
-
from ..types.lam_integration_run_response import LamIntegrationRunResponse
|
|
28
|
+
from ..types.lam_tasks_response import LamTasksResponse
|
|
30
29
|
|
|
31
30
|
__all__ = ["LamResource", "AsyncLamResource"]
|
|
32
31
|
|
|
@@ -52,592 +51,16 @@ class LamResource(SyncAPIResource):
|
|
|
52
51
|
return LamResourceWithStreamingResponse(self)
|
|
53
52
|
|
|
54
53
|
@overload
|
|
55
|
-
def
|
|
56
|
-
self,
|
|
57
|
-
*,
|
|
58
|
-
query: str,
|
|
59
|
-
raccoon_passcode: str,
|
|
60
|
-
advanced: Optional[lam_extract_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
61
|
-
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
62
|
-
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
63
|
-
max_count: Optional[int] | NotGiven = NOT_GIVEN,
|
|
64
|
-
schema: object | NotGiven = NOT_GIVEN,
|
|
65
|
-
stream: Optional[Literal[False]] | NotGiven = NOT_GIVEN,
|
|
66
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
67
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
68
|
-
extra_headers: Headers | None = None,
|
|
69
|
-
extra_query: Query | None = None,
|
|
70
|
-
extra_body: Body | None = None,
|
|
71
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
72
|
-
) -> LamExtractResponse:
|
|
73
|
-
"""Lam Extract Endpoint
|
|
74
|
-
|
|
75
|
-
Args:
|
|
76
|
-
query: The input query string for the request.
|
|
77
|
-
|
|
78
|
-
This is typically the main prompt.
|
|
79
|
-
|
|
80
|
-
raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
|
|
81
|
-
being made.
|
|
82
|
-
|
|
83
|
-
advanced: Advanced configuration options for the session, such as ad-blocking and CAPTCHA
|
|
84
|
-
solving.
|
|
85
|
-
|
|
86
|
-
app_url: This is the entrypoint URL for the web agent.
|
|
87
|
-
|
|
88
|
-
chat_history: The history of the conversation as a list of messages or objects you might use
|
|
89
|
-
while building a chat app to give the model context of the past conversation.
|
|
90
|
-
|
|
91
|
-
max_count: The maximum number of results to extract.
|
|
92
|
-
|
|
93
|
-
schema: The expected schema for the response. This is a dictionary where the keys
|
|
94
|
-
describe the fields and the values describe their purposes.
|
|
95
|
-
|
|
96
|
-
stream: Whether the response should be streamed back or not.
|
|
97
|
-
|
|
98
|
-
extra_headers: Send extra headers
|
|
99
|
-
|
|
100
|
-
extra_query: Add additional query parameters to the request
|
|
101
|
-
|
|
102
|
-
extra_body: Add additional JSON properties to the request
|
|
103
|
-
|
|
104
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
105
|
-
"""
|
|
106
|
-
...
|
|
107
|
-
|
|
108
|
-
@overload
|
|
109
|
-
def extract(
|
|
110
|
-
self,
|
|
111
|
-
*,
|
|
112
|
-
query: str,
|
|
113
|
-
raccoon_passcode: str,
|
|
114
|
-
stream: Literal[True],
|
|
115
|
-
advanced: Optional[lam_extract_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
116
|
-
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
117
|
-
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
118
|
-
max_count: Optional[int] | NotGiven = NOT_GIVEN,
|
|
119
|
-
schema: object | NotGiven = NOT_GIVEN,
|
|
120
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
121
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
122
|
-
extra_headers: Headers | None = None,
|
|
123
|
-
extra_query: Query | None = None,
|
|
124
|
-
extra_body: Body | None = None,
|
|
125
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
126
|
-
) -> Stream[LamExtractResponse]:
|
|
127
|
-
"""Lam Extract Endpoint
|
|
128
|
-
|
|
129
|
-
Args:
|
|
130
|
-
query: The input query string for the request.
|
|
131
|
-
|
|
132
|
-
This is typically the main prompt.
|
|
133
|
-
|
|
134
|
-
raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
|
|
135
|
-
being made.
|
|
136
|
-
|
|
137
|
-
stream: Whether the response should be streamed back or not.
|
|
138
|
-
|
|
139
|
-
advanced: Advanced configuration options for the session, such as ad-blocking and CAPTCHA
|
|
140
|
-
solving.
|
|
141
|
-
|
|
142
|
-
app_url: This is the entrypoint URL for the web agent.
|
|
143
|
-
|
|
144
|
-
chat_history: The history of the conversation as a list of messages or objects you might use
|
|
145
|
-
while building a chat app to give the model context of the past conversation.
|
|
146
|
-
|
|
147
|
-
max_count: The maximum number of results to extract.
|
|
148
|
-
|
|
149
|
-
schema: The expected schema for the response. This is a dictionary where the keys
|
|
150
|
-
describe the fields and the values describe their purposes.
|
|
151
|
-
|
|
152
|
-
extra_headers: Send extra headers
|
|
153
|
-
|
|
154
|
-
extra_query: Add additional query parameters to the request
|
|
155
|
-
|
|
156
|
-
extra_body: Add additional JSON properties to the request
|
|
157
|
-
|
|
158
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
159
|
-
"""
|
|
160
|
-
...
|
|
161
|
-
|
|
162
|
-
@overload
|
|
163
|
-
def extract(
|
|
164
|
-
self,
|
|
165
|
-
*,
|
|
166
|
-
query: str,
|
|
167
|
-
raccoon_passcode: str,
|
|
168
|
-
stream: bool,
|
|
169
|
-
advanced: Optional[lam_extract_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
170
|
-
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
171
|
-
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
172
|
-
max_count: Optional[int] | NotGiven = NOT_GIVEN,
|
|
173
|
-
schema: object | NotGiven = NOT_GIVEN,
|
|
174
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
175
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
176
|
-
extra_headers: Headers | None = None,
|
|
177
|
-
extra_query: Query | None = None,
|
|
178
|
-
extra_body: Body | None = None,
|
|
179
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
180
|
-
) -> LamExtractResponse | Stream[LamExtractResponse]:
|
|
181
|
-
"""Lam Extract Endpoint
|
|
182
|
-
|
|
183
|
-
Args:
|
|
184
|
-
query: The input query string for the request.
|
|
185
|
-
|
|
186
|
-
This is typically the main prompt.
|
|
187
|
-
|
|
188
|
-
raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
|
|
189
|
-
being made.
|
|
190
|
-
|
|
191
|
-
stream: Whether the response should be streamed back or not.
|
|
192
|
-
|
|
193
|
-
advanced: Advanced configuration options for the session, such as ad-blocking and CAPTCHA
|
|
194
|
-
solving.
|
|
195
|
-
|
|
196
|
-
app_url: This is the entrypoint URL for the web agent.
|
|
197
|
-
|
|
198
|
-
chat_history: The history of the conversation as a list of messages or objects you might use
|
|
199
|
-
while building a chat app to give the model context of the past conversation.
|
|
200
|
-
|
|
201
|
-
max_count: The maximum number of results to extract.
|
|
202
|
-
|
|
203
|
-
schema: The expected schema for the response. This is a dictionary where the keys
|
|
204
|
-
describe the fields and the values describe their purposes.
|
|
205
|
-
|
|
206
|
-
extra_headers: Send extra headers
|
|
207
|
-
|
|
208
|
-
extra_query: Add additional query parameters to the request
|
|
209
|
-
|
|
210
|
-
extra_body: Add additional JSON properties to the request
|
|
211
|
-
|
|
212
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
213
|
-
"""
|
|
214
|
-
...
|
|
215
|
-
|
|
216
|
-
@required_args(["query", "raccoon_passcode"], ["query", "raccoon_passcode", "stream"])
|
|
217
|
-
def extract(
|
|
218
|
-
self,
|
|
219
|
-
*,
|
|
220
|
-
query: str,
|
|
221
|
-
raccoon_passcode: str,
|
|
222
|
-
advanced: Optional[lam_extract_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
223
|
-
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
224
|
-
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
225
|
-
max_count: Optional[int] | NotGiven = NOT_GIVEN,
|
|
226
|
-
schema: object | NotGiven = NOT_GIVEN,
|
|
227
|
-
stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
|
|
228
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
229
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
230
|
-
extra_headers: Headers | None = None,
|
|
231
|
-
extra_query: Query | None = None,
|
|
232
|
-
extra_body: Body | None = None,
|
|
233
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
234
|
-
) -> LamExtractResponse | Stream[LamExtractResponse]:
|
|
235
|
-
return self._post(
|
|
236
|
-
"/lam/extract",
|
|
237
|
-
body=maybe_transform(
|
|
238
|
-
{
|
|
239
|
-
"query": query,
|
|
240
|
-
"raccoon_passcode": raccoon_passcode,
|
|
241
|
-
"advanced": advanced,
|
|
242
|
-
"app_url": app_url,
|
|
243
|
-
"chat_history": chat_history,
|
|
244
|
-
"max_count": max_count,
|
|
245
|
-
"schema": schema,
|
|
246
|
-
"stream": stream,
|
|
247
|
-
},
|
|
248
|
-
lam_extract_params.LamExtractParams,
|
|
249
|
-
),
|
|
250
|
-
options=make_request_options(
|
|
251
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
252
|
-
),
|
|
253
|
-
cast_to=LamExtractResponse,
|
|
254
|
-
stream=stream or False,
|
|
255
|
-
stream_cls=Stream[LamExtractResponse],
|
|
256
|
-
)
|
|
257
|
-
|
|
258
|
-
@overload
|
|
259
|
-
def integration_run(
|
|
260
|
-
self,
|
|
261
|
-
app_name: str,
|
|
262
|
-
*,
|
|
263
|
-
raccoon_passcode: str,
|
|
264
|
-
advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
265
|
-
integration_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
266
|
-
properties: Optional[object] | NotGiven = NOT_GIVEN,
|
|
267
|
-
stream: Optional[Literal[False]] | NotGiven = NOT_GIVEN,
|
|
268
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
269
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
270
|
-
extra_headers: Headers | None = None,
|
|
271
|
-
extra_query: Query | None = None,
|
|
272
|
-
extra_body: Body | None = None,
|
|
273
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
274
|
-
) -> LamIntegrationRunResponse:
|
|
275
|
-
"""
|
|
276
|
-
Lam Integrations Endpoint
|
|
277
|
-
|
|
278
|
-
Args:
|
|
279
|
-
raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
|
|
280
|
-
being made.
|
|
281
|
-
|
|
282
|
-
advanced: Advanced configuration options for the session, such as ad-blocking and CAPTCHA
|
|
283
|
-
solving.
|
|
284
|
-
|
|
285
|
-
integration_id: The unique identifier for the integration being called.
|
|
286
|
-
|
|
287
|
-
properties: Additional properties or data related to the particular integration.
|
|
288
|
-
|
|
289
|
-
stream: Whether the response should be streamed back or not.
|
|
290
|
-
|
|
291
|
-
extra_headers: Send extra headers
|
|
292
|
-
|
|
293
|
-
extra_query: Add additional query parameters to the request
|
|
294
|
-
|
|
295
|
-
extra_body: Add additional JSON properties to the request
|
|
296
|
-
|
|
297
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
298
|
-
"""
|
|
299
|
-
...
|
|
300
|
-
|
|
301
|
-
@overload
|
|
302
|
-
def integration_run(
|
|
303
|
-
self,
|
|
304
|
-
app_name: str,
|
|
305
|
-
*,
|
|
306
|
-
raccoon_passcode: str,
|
|
307
|
-
stream: Literal[True],
|
|
308
|
-
advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
309
|
-
integration_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
310
|
-
properties: Optional[object] | NotGiven = NOT_GIVEN,
|
|
311
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
312
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
313
|
-
extra_headers: Headers | None = None,
|
|
314
|
-
extra_query: Query | None = None,
|
|
315
|
-
extra_body: Body | None = None,
|
|
316
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
317
|
-
) -> Stream[LamIntegrationRunResponse]:
|
|
318
|
-
"""
|
|
319
|
-
Lam Integrations Endpoint
|
|
320
|
-
|
|
321
|
-
Args:
|
|
322
|
-
raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
|
|
323
|
-
being made.
|
|
324
|
-
|
|
325
|
-
stream: Whether the response should be streamed back or not.
|
|
326
|
-
|
|
327
|
-
advanced: Advanced configuration options for the session, such as ad-blocking and CAPTCHA
|
|
328
|
-
solving.
|
|
329
|
-
|
|
330
|
-
integration_id: The unique identifier for the integration being called.
|
|
331
|
-
|
|
332
|
-
properties: Additional properties or data related to the particular integration.
|
|
333
|
-
|
|
334
|
-
extra_headers: Send extra headers
|
|
335
|
-
|
|
336
|
-
extra_query: Add additional query parameters to the request
|
|
337
|
-
|
|
338
|
-
extra_body: Add additional JSON properties to the request
|
|
339
|
-
|
|
340
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
341
|
-
"""
|
|
342
|
-
...
|
|
343
|
-
|
|
344
|
-
@overload
|
|
345
|
-
def integration_run(
|
|
346
|
-
self,
|
|
347
|
-
app_name: str,
|
|
348
|
-
*,
|
|
349
|
-
raccoon_passcode: str,
|
|
350
|
-
stream: bool,
|
|
351
|
-
advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
352
|
-
integration_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
353
|
-
properties: Optional[object] | NotGiven = NOT_GIVEN,
|
|
354
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
355
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
356
|
-
extra_headers: Headers | None = None,
|
|
357
|
-
extra_query: Query | None = None,
|
|
358
|
-
extra_body: Body | None = None,
|
|
359
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
360
|
-
) -> LamIntegrationRunResponse | Stream[LamIntegrationRunResponse]:
|
|
361
|
-
"""
|
|
362
|
-
Lam Integrations Endpoint
|
|
363
|
-
|
|
364
|
-
Args:
|
|
365
|
-
raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
|
|
366
|
-
being made.
|
|
367
|
-
|
|
368
|
-
stream: Whether the response should be streamed back or not.
|
|
369
|
-
|
|
370
|
-
advanced: Advanced configuration options for the session, such as ad-blocking and CAPTCHA
|
|
371
|
-
solving.
|
|
372
|
-
|
|
373
|
-
integration_id: The unique identifier for the integration being called.
|
|
374
|
-
|
|
375
|
-
properties: Additional properties or data related to the particular integration.
|
|
376
|
-
|
|
377
|
-
extra_headers: Send extra headers
|
|
378
|
-
|
|
379
|
-
extra_query: Add additional query parameters to the request
|
|
380
|
-
|
|
381
|
-
extra_body: Add additional JSON properties to the request
|
|
382
|
-
|
|
383
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
384
|
-
"""
|
|
385
|
-
...
|
|
386
|
-
|
|
387
|
-
@required_args(["raccoon_passcode"], ["raccoon_passcode", "stream"])
|
|
388
|
-
def integration_run(
|
|
389
|
-
self,
|
|
390
|
-
app_name: str,
|
|
391
|
-
*,
|
|
392
|
-
raccoon_passcode: str,
|
|
393
|
-
advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
394
|
-
integration_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
395
|
-
properties: Optional[object] | NotGiven = NOT_GIVEN,
|
|
396
|
-
stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
|
|
397
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
398
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
399
|
-
extra_headers: Headers | None = None,
|
|
400
|
-
extra_query: Query | None = None,
|
|
401
|
-
extra_body: Body | None = None,
|
|
402
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
403
|
-
) -> LamIntegrationRunResponse | Stream[LamIntegrationRunResponse]:
|
|
404
|
-
if not app_name:
|
|
405
|
-
raise ValueError(f"Expected a non-empty value for `app_name` but received {app_name!r}")
|
|
406
|
-
return cast(
|
|
407
|
-
LamIntegrationRunResponse,
|
|
408
|
-
self._post(
|
|
409
|
-
f"/lam/{app_name}/run",
|
|
410
|
-
body=maybe_transform(
|
|
411
|
-
{
|
|
412
|
-
"raccoon_passcode": raccoon_passcode,
|
|
413
|
-
"advanced": advanced,
|
|
414
|
-
"integration_id": integration_id,
|
|
415
|
-
"properties": properties,
|
|
416
|
-
"stream": stream,
|
|
417
|
-
},
|
|
418
|
-
lam_integration_run_params.LamIntegrationRunParams,
|
|
419
|
-
),
|
|
420
|
-
options=make_request_options(
|
|
421
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
422
|
-
),
|
|
423
|
-
cast_to=cast(
|
|
424
|
-
Any, LamIntegrationRunResponse
|
|
425
|
-
), # Union types cannot be passed in as arguments in the type system
|
|
426
|
-
stream=stream or False,
|
|
427
|
-
stream_cls=Stream[LamIntegrationRunResponse],
|
|
428
|
-
),
|
|
429
|
-
)
|
|
430
|
-
|
|
431
|
-
@overload
|
|
432
|
-
def run(
|
|
433
|
-
self,
|
|
434
|
-
*,
|
|
435
|
-
query: str,
|
|
436
|
-
raccoon_passcode: str,
|
|
437
|
-
advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
438
|
-
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
439
|
-
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
440
|
-
stream: Optional[Literal[False]] | NotGiven = NOT_GIVEN,
|
|
441
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
442
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
443
|
-
extra_headers: Headers | None = None,
|
|
444
|
-
extra_query: Query | None = None,
|
|
445
|
-
extra_body: Body | None = None,
|
|
446
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
447
|
-
) -> LamRunResponse:
|
|
448
|
-
"""Lam Run Endpoint
|
|
449
|
-
|
|
450
|
-
Args:
|
|
451
|
-
query: The input query string for the request.
|
|
452
|
-
|
|
453
|
-
This is typically the main prompt.
|
|
454
|
-
|
|
455
|
-
raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
|
|
456
|
-
being made.
|
|
457
|
-
|
|
458
|
-
advanced: Advanced configuration options for the session, such as ad-blocking and CAPTCHA
|
|
459
|
-
solving.
|
|
460
|
-
|
|
461
|
-
app_url: This is the entrypoint URL for the web agent.
|
|
462
|
-
|
|
463
|
-
chat_history: The history of the conversation as a list of messages or objects you might use
|
|
464
|
-
while building a chat app to give the model context of the past conversation.
|
|
465
|
-
|
|
466
|
-
stream: Whether the response should be streamed back or not.
|
|
467
|
-
|
|
468
|
-
extra_headers: Send extra headers
|
|
469
|
-
|
|
470
|
-
extra_query: Add additional query parameters to the request
|
|
471
|
-
|
|
472
|
-
extra_body: Add additional JSON properties to the request
|
|
473
|
-
|
|
474
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
475
|
-
"""
|
|
476
|
-
...
|
|
477
|
-
|
|
478
|
-
@overload
|
|
479
|
-
def run(
|
|
480
|
-
self,
|
|
481
|
-
*,
|
|
482
|
-
query: str,
|
|
483
|
-
raccoon_passcode: str,
|
|
484
|
-
stream: Literal[True],
|
|
485
|
-
advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
486
|
-
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
487
|
-
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
488
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
489
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
490
|
-
extra_headers: Headers | None = None,
|
|
491
|
-
extra_query: Query | None = None,
|
|
492
|
-
extra_body: Body | None = None,
|
|
493
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
494
|
-
) -> Stream[LamRunResponse]:
|
|
495
|
-
"""Lam Run Endpoint
|
|
496
|
-
|
|
497
|
-
Args:
|
|
498
|
-
query: The input query string for the request.
|
|
499
|
-
|
|
500
|
-
This is typically the main prompt.
|
|
501
|
-
|
|
502
|
-
raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
|
|
503
|
-
being made.
|
|
504
|
-
|
|
505
|
-
stream: Whether the response should be streamed back or not.
|
|
506
|
-
|
|
507
|
-
advanced: Advanced configuration options for the session, such as ad-blocking and CAPTCHA
|
|
508
|
-
solving.
|
|
509
|
-
|
|
510
|
-
app_url: This is the entrypoint URL for the web agent.
|
|
511
|
-
|
|
512
|
-
chat_history: The history of the conversation as a list of messages or objects you might use
|
|
513
|
-
while building a chat app to give the model context of the past conversation.
|
|
514
|
-
|
|
515
|
-
extra_headers: Send extra headers
|
|
516
|
-
|
|
517
|
-
extra_query: Add additional query parameters to the request
|
|
518
|
-
|
|
519
|
-
extra_body: Add additional JSON properties to the request
|
|
520
|
-
|
|
521
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
522
|
-
"""
|
|
523
|
-
...
|
|
524
|
-
|
|
525
|
-
@overload
|
|
526
|
-
def run(
|
|
527
|
-
self,
|
|
528
|
-
*,
|
|
529
|
-
query: str,
|
|
530
|
-
raccoon_passcode: str,
|
|
531
|
-
stream: bool,
|
|
532
|
-
advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
533
|
-
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
534
|
-
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
535
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
536
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
537
|
-
extra_headers: Headers | None = None,
|
|
538
|
-
extra_query: Query | None = None,
|
|
539
|
-
extra_body: Body | None = None,
|
|
540
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
541
|
-
) -> LamRunResponse | Stream[LamRunResponse]:
|
|
542
|
-
"""Lam Run Endpoint
|
|
543
|
-
|
|
544
|
-
Args:
|
|
545
|
-
query: The input query string for the request.
|
|
546
|
-
|
|
547
|
-
This is typically the main prompt.
|
|
548
|
-
|
|
549
|
-
raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
|
|
550
|
-
being made.
|
|
551
|
-
|
|
552
|
-
stream: Whether the response should be streamed back or not.
|
|
553
|
-
|
|
554
|
-
advanced: Advanced configuration options for the session, such as ad-blocking and CAPTCHA
|
|
555
|
-
solving.
|
|
556
|
-
|
|
557
|
-
app_url: This is the entrypoint URL for the web agent.
|
|
558
|
-
|
|
559
|
-
chat_history: The history of the conversation as a list of messages or objects you might use
|
|
560
|
-
while building a chat app to give the model context of the past conversation.
|
|
561
|
-
|
|
562
|
-
extra_headers: Send extra headers
|
|
563
|
-
|
|
564
|
-
extra_query: Add additional query parameters to the request
|
|
565
|
-
|
|
566
|
-
extra_body: Add additional JSON properties to the request
|
|
567
|
-
|
|
568
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
569
|
-
"""
|
|
570
|
-
...
|
|
571
|
-
|
|
572
|
-
@required_args(["query", "raccoon_passcode"], ["query", "raccoon_passcode", "stream"])
|
|
573
|
-
def run(
|
|
574
|
-
self,
|
|
575
|
-
*,
|
|
576
|
-
query: str,
|
|
577
|
-
raccoon_passcode: str,
|
|
578
|
-
advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
579
|
-
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
580
|
-
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
581
|
-
stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
|
|
582
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
583
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
584
|
-
extra_headers: Headers | None = None,
|
|
585
|
-
extra_query: Query | None = None,
|
|
586
|
-
extra_body: Body | None = None,
|
|
587
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
588
|
-
) -> LamRunResponse | Stream[LamRunResponse]:
|
|
589
|
-
return self._post(
|
|
590
|
-
"/lam/run",
|
|
591
|
-
body=maybe_transform(
|
|
592
|
-
{
|
|
593
|
-
"query": query,
|
|
594
|
-
"raccoon_passcode": raccoon_passcode,
|
|
595
|
-
"advanced": advanced,
|
|
596
|
-
"app_url": app_url,
|
|
597
|
-
"chat_history": chat_history,
|
|
598
|
-
"stream": stream,
|
|
599
|
-
},
|
|
600
|
-
lam_run_params.LamRunParams,
|
|
601
|
-
),
|
|
602
|
-
options=make_request_options(
|
|
603
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
604
|
-
),
|
|
605
|
-
cast_to=LamRunResponse,
|
|
606
|
-
stream=stream or False,
|
|
607
|
-
stream_cls=Stream[LamRunResponse],
|
|
608
|
-
)
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
class AsyncLamResource(AsyncAPIResource):
|
|
612
|
-
@cached_property
|
|
613
|
-
def with_raw_response(self) -> AsyncLamResourceWithRawResponse:
|
|
614
|
-
"""
|
|
615
|
-
This property can be used as a prefix for any HTTP method call to return
|
|
616
|
-
the raw response object instead of the parsed content.
|
|
617
|
-
|
|
618
|
-
For more information, see https://www.github.com/raccoonaihq/raccoonai-python#accessing-raw-response-data-eg-headers
|
|
619
|
-
"""
|
|
620
|
-
return AsyncLamResourceWithRawResponse(self)
|
|
621
|
-
|
|
622
|
-
@cached_property
|
|
623
|
-
def with_streaming_response(self) -> AsyncLamResourceWithStreamingResponse:
|
|
624
|
-
"""
|
|
625
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
626
|
-
|
|
627
|
-
For more information, see https://www.github.com/raccoonaihq/raccoonai-python#with_streaming_response
|
|
628
|
-
"""
|
|
629
|
-
return AsyncLamResourceWithStreamingResponse(self)
|
|
630
|
-
|
|
631
|
-
@overload
|
|
632
|
-
async def extract(
|
|
54
|
+
def run(
|
|
633
55
|
self,
|
|
634
56
|
*,
|
|
635
57
|
query: str,
|
|
636
58
|
raccoon_passcode: str,
|
|
637
|
-
advanced: Optional[
|
|
59
|
+
advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
638
60
|
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
639
61
|
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
640
62
|
max_count: Optional[int] | NotGiven = NOT_GIVEN,
|
|
63
|
+
mode: Optional[Literal["deepsearch", "default"]] | NotGiven = NOT_GIVEN,
|
|
641
64
|
schema: object | NotGiven = NOT_GIVEN,
|
|
642
65
|
stream: Optional[Literal[False]] | NotGiven = NOT_GIVEN,
|
|
643
66
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -646,8 +69,8 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
646
69
|
extra_query: Query | None = None,
|
|
647
70
|
extra_body: Body | None = None,
|
|
648
71
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
649
|
-
) ->
|
|
650
|
-
"""Lam
|
|
72
|
+
) -> LamRunResponse:
|
|
73
|
+
"""Lam Run Endpoint
|
|
651
74
|
|
|
652
75
|
Args:
|
|
653
76
|
query: The input query string for the request.
|
|
@@ -667,6 +90,8 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
667
90
|
|
|
668
91
|
max_count: The maximum number of results to extract.
|
|
669
92
|
|
|
93
|
+
mode: Mode of execution.
|
|
94
|
+
|
|
670
95
|
schema: The expected schema for the response. This is a dictionary where the keys
|
|
671
96
|
describe the fields and the values describe their purposes.
|
|
672
97
|
|
|
@@ -683,16 +108,17 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
683
108
|
...
|
|
684
109
|
|
|
685
110
|
@overload
|
|
686
|
-
|
|
111
|
+
def run(
|
|
687
112
|
self,
|
|
688
113
|
*,
|
|
689
114
|
query: str,
|
|
690
115
|
raccoon_passcode: str,
|
|
691
116
|
stream: Literal[True],
|
|
692
|
-
advanced: Optional[
|
|
117
|
+
advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
693
118
|
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
694
119
|
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
695
120
|
max_count: Optional[int] | NotGiven = NOT_GIVEN,
|
|
121
|
+
mode: Optional[Literal["deepsearch", "default"]] | NotGiven = NOT_GIVEN,
|
|
696
122
|
schema: object | NotGiven = NOT_GIVEN,
|
|
697
123
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
698
124
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -700,8 +126,8 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
700
126
|
extra_query: Query | None = None,
|
|
701
127
|
extra_body: Body | None = None,
|
|
702
128
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
703
|
-
) ->
|
|
704
|
-
"""Lam
|
|
129
|
+
) -> Stream[LamRunResponse]:
|
|
130
|
+
"""Lam Run Endpoint
|
|
705
131
|
|
|
706
132
|
Args:
|
|
707
133
|
query: The input query string for the request.
|
|
@@ -723,6 +149,8 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
723
149
|
|
|
724
150
|
max_count: The maximum number of results to extract.
|
|
725
151
|
|
|
152
|
+
mode: Mode of execution.
|
|
153
|
+
|
|
726
154
|
schema: The expected schema for the response. This is a dictionary where the keys
|
|
727
155
|
describe the fields and the values describe their purposes.
|
|
728
156
|
|
|
@@ -737,16 +165,17 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
737
165
|
...
|
|
738
166
|
|
|
739
167
|
@overload
|
|
740
|
-
|
|
168
|
+
def run(
|
|
741
169
|
self,
|
|
742
170
|
*,
|
|
743
171
|
query: str,
|
|
744
172
|
raccoon_passcode: str,
|
|
745
173
|
stream: bool,
|
|
746
|
-
advanced: Optional[
|
|
174
|
+
advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
747
175
|
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
748
176
|
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
749
177
|
max_count: Optional[int] | NotGiven = NOT_GIVEN,
|
|
178
|
+
mode: Optional[Literal["deepsearch", "default"]] | NotGiven = NOT_GIVEN,
|
|
750
179
|
schema: object | NotGiven = NOT_GIVEN,
|
|
751
180
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
752
181
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -754,8 +183,8 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
754
183
|
extra_query: Query | None = None,
|
|
755
184
|
extra_body: Body | None = None,
|
|
756
185
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
757
|
-
) ->
|
|
758
|
-
"""Lam
|
|
186
|
+
) -> LamRunResponse | Stream[LamRunResponse]:
|
|
187
|
+
"""Lam Run Endpoint
|
|
759
188
|
|
|
760
189
|
Args:
|
|
761
190
|
query: The input query string for the request.
|
|
@@ -777,6 +206,8 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
777
206
|
|
|
778
207
|
max_count: The maximum number of results to extract.
|
|
779
208
|
|
|
209
|
+
mode: Mode of execution.
|
|
210
|
+
|
|
780
211
|
schema: The expected schema for the response. This is a dictionary where the keys
|
|
781
212
|
describe the fields and the values describe their purposes.
|
|
782
213
|
|
|
@@ -791,15 +222,16 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
791
222
|
...
|
|
792
223
|
|
|
793
224
|
@required_args(["query", "raccoon_passcode"], ["query", "raccoon_passcode", "stream"])
|
|
794
|
-
|
|
225
|
+
def run(
|
|
795
226
|
self,
|
|
796
227
|
*,
|
|
797
228
|
query: str,
|
|
798
229
|
raccoon_passcode: str,
|
|
799
|
-
advanced: Optional[
|
|
230
|
+
advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
800
231
|
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
801
232
|
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
802
233
|
max_count: Optional[int] | NotGiven = NOT_GIVEN,
|
|
234
|
+
mode: Optional[Literal["deepsearch", "default"]] | NotGiven = NOT_GIVEN,
|
|
803
235
|
schema: object | NotGiven = NOT_GIVEN,
|
|
804
236
|
stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
|
|
805
237
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -808,10 +240,10 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
808
240
|
extra_query: Query | None = None,
|
|
809
241
|
extra_body: Body | None = None,
|
|
810
242
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
811
|
-
) ->
|
|
812
|
-
return
|
|
813
|
-
"/lam/
|
|
814
|
-
body=
|
|
243
|
+
) -> LamRunResponse | Stream[LamRunResponse]:
|
|
244
|
+
return self._post(
|
|
245
|
+
"/lam/run",
|
|
246
|
+
body=maybe_transform(
|
|
815
247
|
{
|
|
816
248
|
"query": query,
|
|
817
249
|
"raccoon_passcode": raccoon_passcode,
|
|
@@ -819,137 +251,61 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
819
251
|
"app_url": app_url,
|
|
820
252
|
"chat_history": chat_history,
|
|
821
253
|
"max_count": max_count,
|
|
254
|
+
"mode": mode,
|
|
822
255
|
"schema": schema,
|
|
823
256
|
"stream": stream,
|
|
824
257
|
},
|
|
825
|
-
|
|
258
|
+
lam_run_params.LamRunParams,
|
|
826
259
|
),
|
|
827
260
|
options=make_request_options(
|
|
828
261
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
829
262
|
),
|
|
830
|
-
cast_to=
|
|
263
|
+
cast_to=LamRunResponse,
|
|
831
264
|
stream=stream or False,
|
|
832
|
-
stream_cls=
|
|
265
|
+
stream_cls=Stream[LamRunResponse],
|
|
833
266
|
)
|
|
834
267
|
|
|
835
|
-
|
|
836
|
-
async def integration_run(
|
|
837
|
-
self,
|
|
838
|
-
app_name: str,
|
|
839
|
-
*,
|
|
840
|
-
raccoon_passcode: str,
|
|
841
|
-
advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
842
|
-
integration_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
843
|
-
properties: Optional[object] | NotGiven = NOT_GIVEN,
|
|
844
|
-
stream: Optional[Literal[False]] | NotGiven = NOT_GIVEN,
|
|
845
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
846
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
847
|
-
extra_headers: Headers | None = None,
|
|
848
|
-
extra_query: Query | None = None,
|
|
849
|
-
extra_body: Body | None = None,
|
|
850
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
851
|
-
) -> LamIntegrationRunResponse:
|
|
852
|
-
"""
|
|
853
|
-
Lam Integrations Endpoint
|
|
854
|
-
|
|
855
|
-
Args:
|
|
856
|
-
raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
|
|
857
|
-
being made.
|
|
858
|
-
|
|
859
|
-
advanced: Advanced configuration options for the session, such as ad-blocking and CAPTCHA
|
|
860
|
-
solving.
|
|
861
|
-
|
|
862
|
-
integration_id: The unique identifier for the integration being called.
|
|
863
|
-
|
|
864
|
-
properties: Additional properties or data related to the particular integration.
|
|
865
|
-
|
|
866
|
-
stream: Whether the response should be streamed back or not.
|
|
867
|
-
|
|
868
|
-
extra_headers: Send extra headers
|
|
869
|
-
|
|
870
|
-
extra_query: Add additional query parameters to the request
|
|
871
|
-
|
|
872
|
-
extra_body: Add additional JSON properties to the request
|
|
873
|
-
|
|
874
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
875
|
-
"""
|
|
876
|
-
...
|
|
877
|
-
|
|
878
|
-
@overload
|
|
879
|
-
async def integration_run(
|
|
268
|
+
def tasks(
|
|
880
269
|
self,
|
|
881
|
-
app_name: str,
|
|
882
270
|
*,
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
271
|
+
end_time: Optional[int] | NotGiven = NOT_GIVEN,
|
|
272
|
+
execution_type: Optional[List[Literal["run", "extract", "fleet"]]] | NotGiven = NOT_GIVEN,
|
|
273
|
+
limit: Optional[int] | NotGiven = NOT_GIVEN,
|
|
274
|
+
page: Optional[int] | NotGiven = NOT_GIVEN,
|
|
275
|
+
raccoon_passcode: Optional[str] | NotGiven = NOT_GIVEN,
|
|
276
|
+
sort_by: Optional[Literal["timestamp", "executionTime", "taskId", "status", "executionType"]]
|
|
277
|
+
| NotGiven = NOT_GIVEN,
|
|
278
|
+
sort_order: Optional[Literal["ascend", "descend"]] | NotGiven = NOT_GIVEN,
|
|
279
|
+
start_time: Optional[int] | NotGiven = NOT_GIVEN,
|
|
280
|
+
task_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
888
281
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
889
282
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
890
283
|
extra_headers: Headers | None = None,
|
|
891
284
|
extra_query: Query | None = None,
|
|
892
285
|
extra_body: Body | None = None,
|
|
893
286
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
894
|
-
) ->
|
|
287
|
+
) -> LamTasksResponse:
|
|
895
288
|
"""
|
|
896
|
-
|
|
289
|
+
Get Tasks Endpoint
|
|
897
290
|
|
|
898
291
|
Args:
|
|
899
|
-
|
|
900
|
-
being made.
|
|
292
|
+
end_time: Filter tasks created before this Unix timestamp (in milliseconds).
|
|
901
293
|
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
advanced: Advanced configuration options for the session, such as ad-blocking and CAPTCHA
|
|
905
|
-
solving.
|
|
906
|
-
|
|
907
|
-
integration_id: The unique identifier for the integration being called.
|
|
908
|
-
|
|
909
|
-
properties: Additional properties or data related to the particular integration.
|
|
910
|
-
|
|
911
|
-
extra_headers: Send extra headers
|
|
294
|
+
execution_type: Filter tasks by execution type (e.g., 'run', 'extract').
|
|
912
295
|
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
extra_body: Add additional JSON properties to the request
|
|
916
|
-
|
|
917
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
918
|
-
"""
|
|
919
|
-
...
|
|
296
|
+
limit: Number of tasks per page (maximum 100).
|
|
920
297
|
|
|
921
|
-
|
|
922
|
-
async def integration_run(
|
|
923
|
-
self,
|
|
924
|
-
app_name: str,
|
|
925
|
-
*,
|
|
926
|
-
raccoon_passcode: str,
|
|
927
|
-
stream: bool,
|
|
928
|
-
advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
929
|
-
integration_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
930
|
-
properties: Optional[object] | NotGiven = NOT_GIVEN,
|
|
931
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
932
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
933
|
-
extra_headers: Headers | None = None,
|
|
934
|
-
extra_query: Query | None = None,
|
|
935
|
-
extra_body: Body | None = None,
|
|
936
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
937
|
-
) -> LamIntegrationRunResponse | AsyncStream[LamIntegrationRunResponse]:
|
|
938
|
-
"""
|
|
939
|
-
Lam Integrations Endpoint
|
|
298
|
+
page: Page number for pagination.
|
|
940
299
|
|
|
941
|
-
|
|
942
|
-
raccoon_passcode: The raccoon passcode associated with the end user on behalf of which the call is
|
|
943
|
-
being made.
|
|
300
|
+
raccoon_passcode: Filter tasks by Raccoon passcode.
|
|
944
301
|
|
|
945
|
-
|
|
302
|
+
sort_by: Field to sort tasks by (e.g., 'timestamp', 'executionTime').
|
|
946
303
|
|
|
947
|
-
|
|
948
|
-
solving.
|
|
304
|
+
sort_order: Sort order ('ascend' or 'descend').
|
|
949
305
|
|
|
950
|
-
|
|
306
|
+
start_time: Filter tasks created after this Unix timestamp (in milliseconds).
|
|
951
307
|
|
|
952
|
-
|
|
308
|
+
task_id: Filter tasks by a specific task ID.
|
|
953
309
|
|
|
954
310
|
extra_headers: Send extra headers
|
|
955
311
|
|
|
@@ -959,52 +315,52 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
959
315
|
|
|
960
316
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
961
317
|
"""
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
advanced: Optional[lam_integration_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
971
|
-
integration_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
972
|
-
properties: Optional[object] | NotGiven = NOT_GIVEN,
|
|
973
|
-
stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
|
|
974
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
975
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
976
|
-
extra_headers: Headers | None = None,
|
|
977
|
-
extra_query: Query | None = None,
|
|
978
|
-
extra_body: Body | None = None,
|
|
979
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
980
|
-
) -> LamIntegrationRunResponse | AsyncStream[LamIntegrationRunResponse]:
|
|
981
|
-
if not app_name:
|
|
982
|
-
raise ValueError(f"Expected a non-empty value for `app_name` but received {app_name!r}")
|
|
983
|
-
return cast(
|
|
984
|
-
LamIntegrationRunResponse,
|
|
985
|
-
await self._post(
|
|
986
|
-
f"/lam/{app_name}/run",
|
|
987
|
-
body=await async_maybe_transform(
|
|
318
|
+
return self._get(
|
|
319
|
+
"/lam/tasks",
|
|
320
|
+
options=make_request_options(
|
|
321
|
+
extra_headers=extra_headers,
|
|
322
|
+
extra_query=extra_query,
|
|
323
|
+
extra_body=extra_body,
|
|
324
|
+
timeout=timeout,
|
|
325
|
+
query=maybe_transform(
|
|
988
326
|
{
|
|
327
|
+
"end_time": end_time,
|
|
328
|
+
"execution_type": execution_type,
|
|
329
|
+
"limit": limit,
|
|
330
|
+
"page": page,
|
|
989
331
|
"raccoon_passcode": raccoon_passcode,
|
|
990
|
-
"
|
|
991
|
-
"
|
|
992
|
-
"
|
|
993
|
-
"
|
|
332
|
+
"sort_by": sort_by,
|
|
333
|
+
"sort_order": sort_order,
|
|
334
|
+
"start_time": start_time,
|
|
335
|
+
"task_id": task_id,
|
|
994
336
|
},
|
|
995
|
-
|
|
337
|
+
lam_tasks_params.LamTasksParams,
|
|
996
338
|
),
|
|
997
|
-
options=make_request_options(
|
|
998
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
999
|
-
),
|
|
1000
|
-
cast_to=cast(
|
|
1001
|
-
Any, LamIntegrationRunResponse
|
|
1002
|
-
), # Union types cannot be passed in as arguments in the type system
|
|
1003
|
-
stream=stream or False,
|
|
1004
|
-
stream_cls=AsyncStream[LamIntegrationRunResponse],
|
|
1005
339
|
),
|
|
340
|
+
cast_to=LamTasksResponse,
|
|
1006
341
|
)
|
|
1007
342
|
|
|
343
|
+
|
|
344
|
+
class AsyncLamResource(AsyncAPIResource):
|
|
345
|
+
@cached_property
|
|
346
|
+
def with_raw_response(self) -> AsyncLamResourceWithRawResponse:
|
|
347
|
+
"""
|
|
348
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
349
|
+
the raw response object instead of the parsed content.
|
|
350
|
+
|
|
351
|
+
For more information, see https://www.github.com/raccoonaihq/raccoonai-python#accessing-raw-response-data-eg-headers
|
|
352
|
+
"""
|
|
353
|
+
return AsyncLamResourceWithRawResponse(self)
|
|
354
|
+
|
|
355
|
+
@cached_property
|
|
356
|
+
def with_streaming_response(self) -> AsyncLamResourceWithStreamingResponse:
|
|
357
|
+
"""
|
|
358
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
359
|
+
|
|
360
|
+
For more information, see https://www.github.com/raccoonaihq/raccoonai-python#with_streaming_response
|
|
361
|
+
"""
|
|
362
|
+
return AsyncLamResourceWithStreamingResponse(self)
|
|
363
|
+
|
|
1008
364
|
@overload
|
|
1009
365
|
async def run(
|
|
1010
366
|
self,
|
|
@@ -1014,6 +370,9 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
1014
370
|
advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
1015
371
|
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
1016
372
|
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
373
|
+
max_count: Optional[int] | NotGiven = NOT_GIVEN,
|
|
374
|
+
mode: Optional[Literal["deepsearch", "default"]] | NotGiven = NOT_GIVEN,
|
|
375
|
+
schema: object | NotGiven = NOT_GIVEN,
|
|
1017
376
|
stream: Optional[Literal[False]] | NotGiven = NOT_GIVEN,
|
|
1018
377
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1019
378
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -1040,6 +399,13 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
1040
399
|
chat_history: The history of the conversation as a list of messages or objects you might use
|
|
1041
400
|
while building a chat app to give the model context of the past conversation.
|
|
1042
401
|
|
|
402
|
+
max_count: The maximum number of results to extract.
|
|
403
|
+
|
|
404
|
+
mode: Mode of execution.
|
|
405
|
+
|
|
406
|
+
schema: The expected schema for the response. This is a dictionary where the keys
|
|
407
|
+
describe the fields and the values describe their purposes.
|
|
408
|
+
|
|
1043
409
|
stream: Whether the response should be streamed back or not.
|
|
1044
410
|
|
|
1045
411
|
extra_headers: Send extra headers
|
|
@@ -1062,6 +428,9 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
1062
428
|
advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
1063
429
|
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
1064
430
|
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
431
|
+
max_count: Optional[int] | NotGiven = NOT_GIVEN,
|
|
432
|
+
mode: Optional[Literal["deepsearch", "default"]] | NotGiven = NOT_GIVEN,
|
|
433
|
+
schema: object | NotGiven = NOT_GIVEN,
|
|
1065
434
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1066
435
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1067
436
|
extra_headers: Headers | None = None,
|
|
@@ -1089,6 +458,13 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
1089
458
|
chat_history: The history of the conversation as a list of messages or objects you might use
|
|
1090
459
|
while building a chat app to give the model context of the past conversation.
|
|
1091
460
|
|
|
461
|
+
max_count: The maximum number of results to extract.
|
|
462
|
+
|
|
463
|
+
mode: Mode of execution.
|
|
464
|
+
|
|
465
|
+
schema: The expected schema for the response. This is a dictionary where the keys
|
|
466
|
+
describe the fields and the values describe their purposes.
|
|
467
|
+
|
|
1092
468
|
extra_headers: Send extra headers
|
|
1093
469
|
|
|
1094
470
|
extra_query: Add additional query parameters to the request
|
|
@@ -1109,6 +485,9 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
1109
485
|
advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
1110
486
|
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
1111
487
|
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
488
|
+
max_count: Optional[int] | NotGiven = NOT_GIVEN,
|
|
489
|
+
mode: Optional[Literal["deepsearch", "default"]] | NotGiven = NOT_GIVEN,
|
|
490
|
+
schema: object | NotGiven = NOT_GIVEN,
|
|
1112
491
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1113
492
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1114
493
|
extra_headers: Headers | None = None,
|
|
@@ -1136,6 +515,13 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
1136
515
|
chat_history: The history of the conversation as a list of messages or objects you might use
|
|
1137
516
|
while building a chat app to give the model context of the past conversation.
|
|
1138
517
|
|
|
518
|
+
max_count: The maximum number of results to extract.
|
|
519
|
+
|
|
520
|
+
mode: Mode of execution.
|
|
521
|
+
|
|
522
|
+
schema: The expected schema for the response. This is a dictionary where the keys
|
|
523
|
+
describe the fields and the values describe their purposes.
|
|
524
|
+
|
|
1139
525
|
extra_headers: Send extra headers
|
|
1140
526
|
|
|
1141
527
|
extra_query: Add additional query parameters to the request
|
|
@@ -1155,6 +541,9 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
1155
541
|
advanced: Optional[lam_run_params.Advanced] | NotGiven = NOT_GIVEN,
|
|
1156
542
|
app_url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
1157
543
|
chat_history: Optional[Iterable[object]] | NotGiven = NOT_GIVEN,
|
|
544
|
+
max_count: Optional[int] | NotGiven = NOT_GIVEN,
|
|
545
|
+
mode: Optional[Literal["deepsearch", "default"]] | NotGiven = NOT_GIVEN,
|
|
546
|
+
schema: object | NotGiven = NOT_GIVEN,
|
|
1158
547
|
stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
|
|
1159
548
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1160
549
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -1172,6 +561,9 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
1172
561
|
"advanced": advanced,
|
|
1173
562
|
"app_url": app_url,
|
|
1174
563
|
"chat_history": chat_history,
|
|
564
|
+
"max_count": max_count,
|
|
565
|
+
"mode": mode,
|
|
566
|
+
"schema": schema,
|
|
1175
567
|
"stream": stream,
|
|
1176
568
|
},
|
|
1177
569
|
lam_run_params.LamRunParams,
|
|
@@ -1184,62 +576,125 @@ class AsyncLamResource(AsyncAPIResource):
|
|
|
1184
576
|
stream_cls=AsyncStream[LamRunResponse],
|
|
1185
577
|
)
|
|
1186
578
|
|
|
579
|
+
async def tasks(
|
|
580
|
+
self,
|
|
581
|
+
*,
|
|
582
|
+
end_time: Optional[int] | NotGiven = NOT_GIVEN,
|
|
583
|
+
execution_type: Optional[List[Literal["run", "extract", "fleet"]]] | NotGiven = NOT_GIVEN,
|
|
584
|
+
limit: Optional[int] | NotGiven = NOT_GIVEN,
|
|
585
|
+
page: Optional[int] | NotGiven = NOT_GIVEN,
|
|
586
|
+
raccoon_passcode: Optional[str] | NotGiven = NOT_GIVEN,
|
|
587
|
+
sort_by: Optional[Literal["timestamp", "executionTime", "taskId", "status", "executionType"]]
|
|
588
|
+
| NotGiven = NOT_GIVEN,
|
|
589
|
+
sort_order: Optional[Literal["ascend", "descend"]] | NotGiven = NOT_GIVEN,
|
|
590
|
+
start_time: Optional[int] | NotGiven = NOT_GIVEN,
|
|
591
|
+
task_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
592
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
593
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
594
|
+
extra_headers: Headers | None = None,
|
|
595
|
+
extra_query: Query | None = None,
|
|
596
|
+
extra_body: Body | None = None,
|
|
597
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
598
|
+
) -> LamTasksResponse:
|
|
599
|
+
"""
|
|
600
|
+
Get Tasks Endpoint
|
|
601
|
+
|
|
602
|
+
Args:
|
|
603
|
+
end_time: Filter tasks created before this Unix timestamp (in milliseconds).
|
|
604
|
+
|
|
605
|
+
execution_type: Filter tasks by execution type (e.g., 'run', 'extract').
|
|
606
|
+
|
|
607
|
+
limit: Number of tasks per page (maximum 100).
|
|
608
|
+
|
|
609
|
+
page: Page number for pagination.
|
|
610
|
+
|
|
611
|
+
raccoon_passcode: Filter tasks by Raccoon passcode.
|
|
612
|
+
|
|
613
|
+
sort_by: Field to sort tasks by (e.g., 'timestamp', 'executionTime').
|
|
614
|
+
|
|
615
|
+
sort_order: Sort order ('ascend' or 'descend').
|
|
616
|
+
|
|
617
|
+
start_time: Filter tasks created after this Unix timestamp (in milliseconds).
|
|
618
|
+
|
|
619
|
+
task_id: Filter tasks by a specific task ID.
|
|
620
|
+
|
|
621
|
+
extra_headers: Send extra headers
|
|
622
|
+
|
|
623
|
+
extra_query: Add additional query parameters to the request
|
|
624
|
+
|
|
625
|
+
extra_body: Add additional JSON properties to the request
|
|
626
|
+
|
|
627
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
628
|
+
"""
|
|
629
|
+
return await self._get(
|
|
630
|
+
"/lam/tasks",
|
|
631
|
+
options=make_request_options(
|
|
632
|
+
extra_headers=extra_headers,
|
|
633
|
+
extra_query=extra_query,
|
|
634
|
+
extra_body=extra_body,
|
|
635
|
+
timeout=timeout,
|
|
636
|
+
query=await async_maybe_transform(
|
|
637
|
+
{
|
|
638
|
+
"end_time": end_time,
|
|
639
|
+
"execution_type": execution_type,
|
|
640
|
+
"limit": limit,
|
|
641
|
+
"page": page,
|
|
642
|
+
"raccoon_passcode": raccoon_passcode,
|
|
643
|
+
"sort_by": sort_by,
|
|
644
|
+
"sort_order": sort_order,
|
|
645
|
+
"start_time": start_time,
|
|
646
|
+
"task_id": task_id,
|
|
647
|
+
},
|
|
648
|
+
lam_tasks_params.LamTasksParams,
|
|
649
|
+
),
|
|
650
|
+
),
|
|
651
|
+
cast_to=LamTasksResponse,
|
|
652
|
+
)
|
|
653
|
+
|
|
1187
654
|
|
|
1188
655
|
class LamResourceWithRawResponse:
|
|
1189
656
|
def __init__(self, lam: LamResource) -> None:
|
|
1190
657
|
self._lam = lam
|
|
1191
658
|
|
|
1192
|
-
self.extract = to_raw_response_wrapper(
|
|
1193
|
-
lam.extract,
|
|
1194
|
-
)
|
|
1195
|
-
self.integration_run = to_raw_response_wrapper(
|
|
1196
|
-
lam.integration_run,
|
|
1197
|
-
)
|
|
1198
659
|
self.run = to_raw_response_wrapper(
|
|
1199
660
|
lam.run,
|
|
1200
661
|
)
|
|
662
|
+
self.tasks = to_raw_response_wrapper(
|
|
663
|
+
lam.tasks,
|
|
664
|
+
)
|
|
1201
665
|
|
|
1202
666
|
|
|
1203
667
|
class AsyncLamResourceWithRawResponse:
|
|
1204
668
|
def __init__(self, lam: AsyncLamResource) -> None:
|
|
1205
669
|
self._lam = lam
|
|
1206
670
|
|
|
1207
|
-
self.extract = async_to_raw_response_wrapper(
|
|
1208
|
-
lam.extract,
|
|
1209
|
-
)
|
|
1210
|
-
self.integration_run = async_to_raw_response_wrapper(
|
|
1211
|
-
lam.integration_run,
|
|
1212
|
-
)
|
|
1213
671
|
self.run = async_to_raw_response_wrapper(
|
|
1214
672
|
lam.run,
|
|
1215
673
|
)
|
|
674
|
+
self.tasks = async_to_raw_response_wrapper(
|
|
675
|
+
lam.tasks,
|
|
676
|
+
)
|
|
1216
677
|
|
|
1217
678
|
|
|
1218
679
|
class LamResourceWithStreamingResponse:
|
|
1219
680
|
def __init__(self, lam: LamResource) -> None:
|
|
1220
681
|
self._lam = lam
|
|
1221
682
|
|
|
1222
|
-
self.extract = to_streamed_response_wrapper(
|
|
1223
|
-
lam.extract,
|
|
1224
|
-
)
|
|
1225
|
-
self.integration_run = to_streamed_response_wrapper(
|
|
1226
|
-
lam.integration_run,
|
|
1227
|
-
)
|
|
1228
683
|
self.run = to_streamed_response_wrapper(
|
|
1229
684
|
lam.run,
|
|
1230
685
|
)
|
|
686
|
+
self.tasks = to_streamed_response_wrapper(
|
|
687
|
+
lam.tasks,
|
|
688
|
+
)
|
|
1231
689
|
|
|
1232
690
|
|
|
1233
691
|
class AsyncLamResourceWithStreamingResponse:
|
|
1234
692
|
def __init__(self, lam: AsyncLamResource) -> None:
|
|
1235
693
|
self._lam = lam
|
|
1236
694
|
|
|
1237
|
-
self.extract = async_to_streamed_response_wrapper(
|
|
1238
|
-
lam.extract,
|
|
1239
|
-
)
|
|
1240
|
-
self.integration_run = async_to_streamed_response_wrapper(
|
|
1241
|
-
lam.integration_run,
|
|
1242
|
-
)
|
|
1243
695
|
self.run = async_to_streamed_response_wrapper(
|
|
1244
696
|
lam.run,
|
|
1245
697
|
)
|
|
698
|
+
self.tasks = async_to_streamed_response_wrapper(
|
|
699
|
+
lam.tasks,
|
|
700
|
+
)
|