anchorbrowser 0.7.1__py3-none-any.whl → 0.7.3__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.
- anchorbrowser/_version.py +1 -1
- anchorbrowser/resources/applications/auth_flows.py +1 -144
- anchorbrowser/resources/task.py +92 -1
- anchorbrowser/resources/tools.py +79 -0
- anchorbrowser/types/__init__.py +6 -0
- anchorbrowser/types/applications/__init__.py +0 -2
- anchorbrowser/types/task_retrieve_execution_result_response.py +41 -0
- anchorbrowser/types/tool_get_perform_web_task_status_response.py +46 -0
- {anchorbrowser-0.7.1.dist-info → anchorbrowser-0.7.3.dist-info}/METADATA +1 -1
- {anchorbrowser-0.7.1.dist-info → anchorbrowser-0.7.3.dist-info}/RECORD +12 -12
- anchorbrowser/types/applications/auth_flow_update_params.py +0 -32
- anchorbrowser/types/applications/auth_flow_update_response.py +0 -39
- {anchorbrowser-0.7.1.dist-info → anchorbrowser-0.7.3.dist-info}/WHEEL +0 -0
- {anchorbrowser-0.7.1.dist-info → anchorbrowser-0.7.3.dist-info}/licenses/LICENSE +0 -0
anchorbrowser/_version.py
CHANGED
|
@@ -18,11 +18,10 @@ from ..._response import (
|
|
|
18
18
|
async_to_streamed_response_wrapper,
|
|
19
19
|
)
|
|
20
20
|
from ..._base_client import make_request_options
|
|
21
|
-
from ...types.applications import auth_flow_create_params
|
|
21
|
+
from ...types.applications import auth_flow_create_params
|
|
22
22
|
from ...types.applications.auth_flow_list_response import AuthFlowListResponse
|
|
23
23
|
from ...types.applications.auth_flow_create_response import AuthFlowCreateResponse
|
|
24
24
|
from ...types.applications.auth_flow_delete_response import AuthFlowDeleteResponse
|
|
25
|
-
from ...types.applications.auth_flow_update_response import AuthFlowUpdateResponse
|
|
26
25
|
|
|
27
26
|
__all__ = ["AuthFlowsResource", "AsyncAuthFlowsResource"]
|
|
28
27
|
|
|
@@ -109,71 +108,6 @@ class AuthFlowsResource(SyncAPIResource):
|
|
|
109
108
|
cast_to=AuthFlowCreateResponse,
|
|
110
109
|
)
|
|
111
110
|
|
|
112
|
-
def update(
|
|
113
|
-
self,
|
|
114
|
-
auth_flow_id: str,
|
|
115
|
-
*,
|
|
116
|
-
application_id: str,
|
|
117
|
-
custom_fields: Iterable[auth_flow_update_params.CustomField] | Omit = omit,
|
|
118
|
-
description: str | Omit = omit,
|
|
119
|
-
is_recommended: bool | Omit = omit,
|
|
120
|
-
methods: List[Literal["username_password", "authenticator", "custom"]] | Omit = omit,
|
|
121
|
-
name: str | Omit = omit,
|
|
122
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
123
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
124
|
-
extra_headers: Headers | None = None,
|
|
125
|
-
extra_query: Query | None = None,
|
|
126
|
-
extra_body: Body | None = None,
|
|
127
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
128
|
-
) -> AuthFlowUpdateResponse:
|
|
129
|
-
"""Updates an existing authentication flow.
|
|
130
|
-
|
|
131
|
-
**Beta** Capability.
|
|
132
|
-
|
|
133
|
-
[Contact support](mailto:support@anchorbrowser.io) to
|
|
134
|
-
enable.
|
|
135
|
-
|
|
136
|
-
Args:
|
|
137
|
-
custom_fields: Custom fields for this authentication flow
|
|
138
|
-
|
|
139
|
-
description: Description of the authentication flow
|
|
140
|
-
|
|
141
|
-
is_recommended: Whether this is the recommended authentication flow
|
|
142
|
-
|
|
143
|
-
methods: Authentication methods in this flow
|
|
144
|
-
|
|
145
|
-
name: Name of the authentication flow
|
|
146
|
-
|
|
147
|
-
extra_headers: Send extra headers
|
|
148
|
-
|
|
149
|
-
extra_query: Add additional query parameters to the request
|
|
150
|
-
|
|
151
|
-
extra_body: Add additional JSON properties to the request
|
|
152
|
-
|
|
153
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
154
|
-
"""
|
|
155
|
-
if not application_id:
|
|
156
|
-
raise ValueError(f"Expected a non-empty value for `application_id` but received {application_id!r}")
|
|
157
|
-
if not auth_flow_id:
|
|
158
|
-
raise ValueError(f"Expected a non-empty value for `auth_flow_id` but received {auth_flow_id!r}")
|
|
159
|
-
return self._patch(
|
|
160
|
-
f"/v1/applications/{application_id}/auth-flows/{auth_flow_id}",
|
|
161
|
-
body=maybe_transform(
|
|
162
|
-
{
|
|
163
|
-
"custom_fields": custom_fields,
|
|
164
|
-
"description": description,
|
|
165
|
-
"is_recommended": is_recommended,
|
|
166
|
-
"methods": methods,
|
|
167
|
-
"name": name,
|
|
168
|
-
},
|
|
169
|
-
auth_flow_update_params.AuthFlowUpdateParams,
|
|
170
|
-
),
|
|
171
|
-
options=make_request_options(
|
|
172
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
173
|
-
),
|
|
174
|
-
cast_to=AuthFlowUpdateResponse,
|
|
175
|
-
)
|
|
176
|
-
|
|
177
111
|
def list(
|
|
178
112
|
self,
|
|
179
113
|
application_id: str,
|
|
@@ -333,71 +267,6 @@ class AsyncAuthFlowsResource(AsyncAPIResource):
|
|
|
333
267
|
cast_to=AuthFlowCreateResponse,
|
|
334
268
|
)
|
|
335
269
|
|
|
336
|
-
async def update(
|
|
337
|
-
self,
|
|
338
|
-
auth_flow_id: str,
|
|
339
|
-
*,
|
|
340
|
-
application_id: str,
|
|
341
|
-
custom_fields: Iterable[auth_flow_update_params.CustomField] | Omit = omit,
|
|
342
|
-
description: str | Omit = omit,
|
|
343
|
-
is_recommended: bool | Omit = omit,
|
|
344
|
-
methods: List[Literal["username_password", "authenticator", "custom"]] | Omit = omit,
|
|
345
|
-
name: str | Omit = omit,
|
|
346
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
347
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
348
|
-
extra_headers: Headers | None = None,
|
|
349
|
-
extra_query: Query | None = None,
|
|
350
|
-
extra_body: Body | None = None,
|
|
351
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
352
|
-
) -> AuthFlowUpdateResponse:
|
|
353
|
-
"""Updates an existing authentication flow.
|
|
354
|
-
|
|
355
|
-
**Beta** Capability.
|
|
356
|
-
|
|
357
|
-
[Contact support](mailto:support@anchorbrowser.io) to
|
|
358
|
-
enable.
|
|
359
|
-
|
|
360
|
-
Args:
|
|
361
|
-
custom_fields: Custom fields for this authentication flow
|
|
362
|
-
|
|
363
|
-
description: Description of the authentication flow
|
|
364
|
-
|
|
365
|
-
is_recommended: Whether this is the recommended authentication flow
|
|
366
|
-
|
|
367
|
-
methods: Authentication methods in this flow
|
|
368
|
-
|
|
369
|
-
name: Name of the authentication flow
|
|
370
|
-
|
|
371
|
-
extra_headers: Send extra headers
|
|
372
|
-
|
|
373
|
-
extra_query: Add additional query parameters to the request
|
|
374
|
-
|
|
375
|
-
extra_body: Add additional JSON properties to the request
|
|
376
|
-
|
|
377
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
378
|
-
"""
|
|
379
|
-
if not application_id:
|
|
380
|
-
raise ValueError(f"Expected a non-empty value for `application_id` but received {application_id!r}")
|
|
381
|
-
if not auth_flow_id:
|
|
382
|
-
raise ValueError(f"Expected a non-empty value for `auth_flow_id` but received {auth_flow_id!r}")
|
|
383
|
-
return await self._patch(
|
|
384
|
-
f"/v1/applications/{application_id}/auth-flows/{auth_flow_id}",
|
|
385
|
-
body=await async_maybe_transform(
|
|
386
|
-
{
|
|
387
|
-
"custom_fields": custom_fields,
|
|
388
|
-
"description": description,
|
|
389
|
-
"is_recommended": is_recommended,
|
|
390
|
-
"methods": methods,
|
|
391
|
-
"name": name,
|
|
392
|
-
},
|
|
393
|
-
auth_flow_update_params.AuthFlowUpdateParams,
|
|
394
|
-
),
|
|
395
|
-
options=make_request_options(
|
|
396
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
397
|
-
),
|
|
398
|
-
cast_to=AuthFlowUpdateResponse,
|
|
399
|
-
)
|
|
400
|
-
|
|
401
270
|
async def list(
|
|
402
271
|
self,
|
|
403
272
|
application_id: str,
|
|
@@ -482,9 +351,6 @@ class AuthFlowsResourceWithRawResponse:
|
|
|
482
351
|
self.create = to_raw_response_wrapper(
|
|
483
352
|
auth_flows.create,
|
|
484
353
|
)
|
|
485
|
-
self.update = to_raw_response_wrapper(
|
|
486
|
-
auth_flows.update,
|
|
487
|
-
)
|
|
488
354
|
self.list = to_raw_response_wrapper(
|
|
489
355
|
auth_flows.list,
|
|
490
356
|
)
|
|
@@ -500,9 +366,6 @@ class AsyncAuthFlowsResourceWithRawResponse:
|
|
|
500
366
|
self.create = async_to_raw_response_wrapper(
|
|
501
367
|
auth_flows.create,
|
|
502
368
|
)
|
|
503
|
-
self.update = async_to_raw_response_wrapper(
|
|
504
|
-
auth_flows.update,
|
|
505
|
-
)
|
|
506
369
|
self.list = async_to_raw_response_wrapper(
|
|
507
370
|
auth_flows.list,
|
|
508
371
|
)
|
|
@@ -518,9 +381,6 @@ class AuthFlowsResourceWithStreamingResponse:
|
|
|
518
381
|
self.create = to_streamed_response_wrapper(
|
|
519
382
|
auth_flows.create,
|
|
520
383
|
)
|
|
521
|
-
self.update = to_streamed_response_wrapper(
|
|
522
|
-
auth_flows.update,
|
|
523
|
-
)
|
|
524
384
|
self.list = to_streamed_response_wrapper(
|
|
525
385
|
auth_flows.list,
|
|
526
386
|
)
|
|
@@ -536,9 +396,6 @@ class AsyncAuthFlowsResourceWithStreamingResponse:
|
|
|
536
396
|
self.create = async_to_streamed_response_wrapper(
|
|
537
397
|
auth_flows.create,
|
|
538
398
|
)
|
|
539
|
-
self.update = async_to_streamed_response_wrapper(
|
|
540
|
-
auth_flows.update,
|
|
541
|
-
)
|
|
542
399
|
self.list = async_to_streamed_response_wrapper(
|
|
543
400
|
auth_flows.list,
|
|
544
401
|
)
|
anchorbrowser/resources/task.py
CHANGED
|
@@ -16,12 +16,13 @@ from .._response import (
|
|
|
16
16
|
to_raw_response_wrapper,
|
|
17
17
|
to_streamed_response_wrapper,
|
|
18
18
|
async_to_raw_response_wrapper,
|
|
19
|
-
async_to_streamed_response_wrapper
|
|
19
|
+
async_to_streamed_response_wrapper
|
|
20
20
|
)
|
|
21
21
|
from .._base_client import make_request_options
|
|
22
22
|
from ..types.task_run_response import TaskRunResponse
|
|
23
23
|
from ..types.task_list_response import TaskListResponse
|
|
24
24
|
from ..types.task_create_response import TaskCreateResponse
|
|
25
|
+
from ..types.task_retrieve_execution_result_response import TaskRetrieveExecutionResultResponse
|
|
25
26
|
|
|
26
27
|
__all__ = ["TaskResource", "AsyncTaskResource"]
|
|
27
28
|
|
|
@@ -152,6 +153,45 @@ class TaskResource(SyncAPIResource):
|
|
|
152
153
|
cast_to=TaskListResponse,
|
|
153
154
|
)
|
|
154
155
|
|
|
156
|
+
def retrieve_execution_result(
|
|
157
|
+
self,
|
|
158
|
+
execution_id: str,
|
|
159
|
+
*,
|
|
160
|
+
task_id: str,
|
|
161
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
162
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
163
|
+
extra_headers: Headers | None = None,
|
|
164
|
+
extra_query: Query | None = None,
|
|
165
|
+
extra_body: Body | None = None,
|
|
166
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
167
|
+
) -> TaskRetrieveExecutionResultResponse:
|
|
168
|
+
"""Retrieves a single execution result by its ID.
|
|
169
|
+
|
|
170
|
+
This endpoint is useful for
|
|
171
|
+
polling execution status in async mode or retrieving detailed execution
|
|
172
|
+
information.
|
|
173
|
+
|
|
174
|
+
Args:
|
|
175
|
+
extra_headers: Send extra headers
|
|
176
|
+
|
|
177
|
+
extra_query: Add additional query parameters to the request
|
|
178
|
+
|
|
179
|
+
extra_body: Add additional JSON properties to the request
|
|
180
|
+
|
|
181
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
182
|
+
"""
|
|
183
|
+
if not task_id:
|
|
184
|
+
raise ValueError(f"Expected a non-empty value for `task_id` but received {task_id!r}")
|
|
185
|
+
if not execution_id:
|
|
186
|
+
raise ValueError(f"Expected a non-empty value for `execution_id` but received {execution_id!r}")
|
|
187
|
+
return self._get(
|
|
188
|
+
f"/v1/task/{task_id}/executions/{execution_id}",
|
|
189
|
+
options=make_request_options(
|
|
190
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
191
|
+
),
|
|
192
|
+
cast_to=TaskRetrieveExecutionResultResponse,
|
|
193
|
+
)
|
|
194
|
+
|
|
155
195
|
def run(
|
|
156
196
|
self,
|
|
157
197
|
*,
|
|
@@ -345,6 +385,45 @@ class AsyncTaskResource(AsyncAPIResource):
|
|
|
345
385
|
cast_to=TaskListResponse,
|
|
346
386
|
)
|
|
347
387
|
|
|
388
|
+
async def retrieve_execution_result(
|
|
389
|
+
self,
|
|
390
|
+
execution_id: str,
|
|
391
|
+
*,
|
|
392
|
+
task_id: str,
|
|
393
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
394
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
395
|
+
extra_headers: Headers | None = None,
|
|
396
|
+
extra_query: Query | None = None,
|
|
397
|
+
extra_body: Body | None = None,
|
|
398
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
399
|
+
) -> TaskRetrieveExecutionResultResponse:
|
|
400
|
+
"""Retrieves a single execution result by its ID.
|
|
401
|
+
|
|
402
|
+
This endpoint is useful for
|
|
403
|
+
polling execution status in async mode or retrieving detailed execution
|
|
404
|
+
information.
|
|
405
|
+
|
|
406
|
+
Args:
|
|
407
|
+
extra_headers: Send extra headers
|
|
408
|
+
|
|
409
|
+
extra_query: Add additional query parameters to the request
|
|
410
|
+
|
|
411
|
+
extra_body: Add additional JSON properties to the request
|
|
412
|
+
|
|
413
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
414
|
+
"""
|
|
415
|
+
if not task_id:
|
|
416
|
+
raise ValueError(f"Expected a non-empty value for `task_id` but received {task_id!r}")
|
|
417
|
+
if not execution_id:
|
|
418
|
+
raise ValueError(f"Expected a non-empty value for `execution_id` but received {execution_id!r}")
|
|
419
|
+
return await self._get(
|
|
420
|
+
f"/v1/task/{task_id}/executions/{execution_id}",
|
|
421
|
+
options=make_request_options(
|
|
422
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
423
|
+
),
|
|
424
|
+
cast_to=TaskRetrieveExecutionResultResponse,
|
|
425
|
+
)
|
|
426
|
+
|
|
348
427
|
async def run(
|
|
349
428
|
self,
|
|
350
429
|
*,
|
|
@@ -422,6 +501,9 @@ class TaskResourceWithRawResponse:
|
|
|
422
501
|
self.list = to_raw_response_wrapper(
|
|
423
502
|
task.list,
|
|
424
503
|
)
|
|
504
|
+
self.retrieve_execution_result = to_raw_response_wrapper(
|
|
505
|
+
task.retrieve_execution_result,
|
|
506
|
+
)
|
|
425
507
|
self.run = to_raw_response_wrapper(
|
|
426
508
|
task.run,
|
|
427
509
|
)
|
|
@@ -437,6 +519,9 @@ class AsyncTaskResourceWithRawResponse:
|
|
|
437
519
|
self.list = async_to_raw_response_wrapper(
|
|
438
520
|
task.list,
|
|
439
521
|
)
|
|
522
|
+
self.retrieve_execution_result = async_to_raw_response_wrapper(
|
|
523
|
+
task.retrieve_execution_result,
|
|
524
|
+
)
|
|
440
525
|
self.run = async_to_raw_response_wrapper(
|
|
441
526
|
task.run,
|
|
442
527
|
)
|
|
@@ -452,6 +537,9 @@ class TaskResourceWithStreamingResponse:
|
|
|
452
537
|
self.list = to_streamed_response_wrapper(
|
|
453
538
|
task.list,
|
|
454
539
|
)
|
|
540
|
+
self.retrieve_execution_result = to_streamed_response_wrapper(
|
|
541
|
+
task.retrieve_execution_result,
|
|
542
|
+
)
|
|
455
543
|
self.run = to_streamed_response_wrapper(
|
|
456
544
|
task.run,
|
|
457
545
|
)
|
|
@@ -467,6 +555,9 @@ class AsyncTaskResourceWithStreamingResponse:
|
|
|
467
555
|
self.list = async_to_streamed_response_wrapper(
|
|
468
556
|
task.list,
|
|
469
557
|
)
|
|
558
|
+
self.retrieve_execution_result = async_to_streamed_response_wrapper(
|
|
559
|
+
task.retrieve_execution_result,
|
|
560
|
+
)
|
|
470
561
|
self.run = async_to_streamed_response_wrapper(
|
|
471
562
|
task.run,
|
|
472
563
|
)
|
anchorbrowser/resources/tools.py
CHANGED
|
@@ -28,6 +28,7 @@ from .._response import (
|
|
|
28
28
|
)
|
|
29
29
|
from .._base_client import make_request_options
|
|
30
30
|
from ..types.tool_perform_web_task_response import ToolPerformWebTaskResponse
|
|
31
|
+
from ..types.tool_get_perform_web_task_status_response import ToolGetPerformWebTaskStatusResponse
|
|
31
32
|
|
|
32
33
|
__all__ = ["ToolsResource", "AsyncToolsResource"]
|
|
33
34
|
|
|
@@ -123,6 +124,39 @@ class ToolsResource(SyncAPIResource):
|
|
|
123
124
|
cast_to=str,
|
|
124
125
|
)
|
|
125
126
|
|
|
127
|
+
def get_perform_web_task_status(
|
|
128
|
+
self,
|
|
129
|
+
workflow_id: str,
|
|
130
|
+
*,
|
|
131
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
132
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
133
|
+
extra_headers: Headers | None = None,
|
|
134
|
+
extra_query: Query | None = None,
|
|
135
|
+
extra_body: Body | None = None,
|
|
136
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
137
|
+
) -> ToolGetPerformWebTaskStatusResponse:
|
|
138
|
+
"""
|
|
139
|
+
Get the status of an asynchronous perform-web-task execution by workflow ID.
|
|
140
|
+
|
|
141
|
+
Args:
|
|
142
|
+
extra_headers: Send extra headers
|
|
143
|
+
|
|
144
|
+
extra_query: Add additional query parameters to the request
|
|
145
|
+
|
|
146
|
+
extra_body: Add additional JSON properties to the request
|
|
147
|
+
|
|
148
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
149
|
+
"""
|
|
150
|
+
if not workflow_id:
|
|
151
|
+
raise ValueError(f"Expected a non-empty value for `workflow_id` but received {workflow_id!r}")
|
|
152
|
+
return self._get(
|
|
153
|
+
f"/v1/tools/perform-web-task/{workflow_id}/status",
|
|
154
|
+
options=make_request_options(
|
|
155
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
156
|
+
),
|
|
157
|
+
cast_to=ToolGetPerformWebTaskStatusResponse,
|
|
158
|
+
)
|
|
159
|
+
|
|
126
160
|
def perform_web_task(
|
|
127
161
|
self,
|
|
128
162
|
*,
|
|
@@ -404,6 +438,39 @@ class AsyncToolsResource(AsyncAPIResource):
|
|
|
404
438
|
cast_to=str,
|
|
405
439
|
)
|
|
406
440
|
|
|
441
|
+
async def get_perform_web_task_status(
|
|
442
|
+
self,
|
|
443
|
+
workflow_id: str,
|
|
444
|
+
*,
|
|
445
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
446
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
447
|
+
extra_headers: Headers | None = None,
|
|
448
|
+
extra_query: Query | None = None,
|
|
449
|
+
extra_body: Body | None = None,
|
|
450
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
451
|
+
) -> ToolGetPerformWebTaskStatusResponse:
|
|
452
|
+
"""
|
|
453
|
+
Get the status of an asynchronous perform-web-task execution by workflow ID.
|
|
454
|
+
|
|
455
|
+
Args:
|
|
456
|
+
extra_headers: Send extra headers
|
|
457
|
+
|
|
458
|
+
extra_query: Add additional query parameters to the request
|
|
459
|
+
|
|
460
|
+
extra_body: Add additional JSON properties to the request
|
|
461
|
+
|
|
462
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
463
|
+
"""
|
|
464
|
+
if not workflow_id:
|
|
465
|
+
raise ValueError(f"Expected a non-empty value for `workflow_id` but received {workflow_id!r}")
|
|
466
|
+
return await self._get(
|
|
467
|
+
f"/v1/tools/perform-web-task/{workflow_id}/status",
|
|
468
|
+
options=make_request_options(
|
|
469
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
470
|
+
),
|
|
471
|
+
cast_to=ToolGetPerformWebTaskStatusResponse,
|
|
472
|
+
)
|
|
473
|
+
|
|
407
474
|
async def perform_web_task(
|
|
408
475
|
self,
|
|
409
476
|
*,
|
|
@@ -599,6 +666,9 @@ class ToolsResourceWithRawResponse:
|
|
|
599
666
|
self.fetch_webpage = to_raw_response_wrapper(
|
|
600
667
|
tools.fetch_webpage,
|
|
601
668
|
)
|
|
669
|
+
self.get_perform_web_task_status = to_raw_response_wrapper(
|
|
670
|
+
tools.get_perform_web_task_status,
|
|
671
|
+
)
|
|
602
672
|
self.perform_web_task = to_raw_response_wrapper(
|
|
603
673
|
tools.perform_web_task,
|
|
604
674
|
)
|
|
@@ -615,6 +685,9 @@ class AsyncToolsResourceWithRawResponse:
|
|
|
615
685
|
self.fetch_webpage = async_to_raw_response_wrapper(
|
|
616
686
|
tools.fetch_webpage,
|
|
617
687
|
)
|
|
688
|
+
self.get_perform_web_task_status = async_to_raw_response_wrapper(
|
|
689
|
+
tools.get_perform_web_task_status,
|
|
690
|
+
)
|
|
618
691
|
self.perform_web_task = async_to_raw_response_wrapper(
|
|
619
692
|
tools.perform_web_task,
|
|
620
693
|
)
|
|
@@ -631,6 +704,9 @@ class ToolsResourceWithStreamingResponse:
|
|
|
631
704
|
self.fetch_webpage = to_streamed_response_wrapper(
|
|
632
705
|
tools.fetch_webpage,
|
|
633
706
|
)
|
|
707
|
+
self.get_perform_web_task_status = to_streamed_response_wrapper(
|
|
708
|
+
tools.get_perform_web_task_status,
|
|
709
|
+
)
|
|
634
710
|
self.perform_web_task = to_streamed_response_wrapper(
|
|
635
711
|
tools.perform_web_task,
|
|
636
712
|
)
|
|
@@ -647,6 +723,9 @@ class AsyncToolsResourceWithStreamingResponse:
|
|
|
647
723
|
self.fetch_webpage = async_to_streamed_response_wrapper(
|
|
648
724
|
tools.fetch_webpage,
|
|
649
725
|
)
|
|
726
|
+
self.get_perform_web_task_status = async_to_streamed_response_wrapper(
|
|
727
|
+
tools.get_perform_web_task_status,
|
|
728
|
+
)
|
|
650
729
|
self.perform_web_task = async_to_streamed_response_wrapper(
|
|
651
730
|
tools.perform_web_task,
|
|
652
731
|
)
|
anchorbrowser/types/__init__.py
CHANGED
|
@@ -51,9 +51,15 @@ from .application_list_identities_response import ApplicationListIdentitiesRespo
|
|
|
51
51
|
from .identity_retrieve_credentials_response import (
|
|
52
52
|
IdentityRetrieveCredentialsResponse as IdentityRetrieveCredentialsResponse,
|
|
53
53
|
)
|
|
54
|
+
from .task_retrieve_execution_result_response import (
|
|
55
|
+
TaskRetrieveExecutionResultResponse as TaskRetrieveExecutionResultResponse,
|
|
56
|
+
)
|
|
54
57
|
from .application_create_identity_token_params import (
|
|
55
58
|
ApplicationCreateIdentityTokenParams as ApplicationCreateIdentityTokenParams,
|
|
56
59
|
)
|
|
60
|
+
from .tool_get_perform_web_task_status_response import (
|
|
61
|
+
ToolGetPerformWebTaskStatusResponse as ToolGetPerformWebTaskStatusResponse,
|
|
62
|
+
)
|
|
57
63
|
from .application_create_identity_token_response import (
|
|
58
64
|
ApplicationCreateIdentityTokenResponse as ApplicationCreateIdentityTokenResponse,
|
|
59
65
|
)
|
|
@@ -4,7 +4,5 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
from .auth_flow_create_params import AuthFlowCreateParams as AuthFlowCreateParams
|
|
6
6
|
from .auth_flow_list_response import AuthFlowListResponse as AuthFlowListResponse
|
|
7
|
-
from .auth_flow_update_params import AuthFlowUpdateParams as AuthFlowUpdateParams
|
|
8
7
|
from .auth_flow_create_response import AuthFlowCreateResponse as AuthFlowCreateResponse
|
|
9
8
|
from .auth_flow_delete_response import AuthFlowDeleteResponse as AuthFlowDeleteResponse
|
|
10
|
-
from .auth_flow_update_response import AuthFlowUpdateResponse as AuthFlowUpdateResponse
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from typing_extensions import Literal
|
|
6
|
+
|
|
7
|
+
from pydantic import Field as FieldInfo
|
|
8
|
+
|
|
9
|
+
from .._models import BaseModel
|
|
10
|
+
|
|
11
|
+
__all__ = ["TaskRetrieveExecutionResultResponse", "Data"]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class Data(BaseModel):
|
|
15
|
+
id: str
|
|
16
|
+
"""Unique identifier for the execution result"""
|
|
17
|
+
|
|
18
|
+
start_time: datetime = FieldInfo(alias="startTime")
|
|
19
|
+
"""Execution start time"""
|
|
20
|
+
|
|
21
|
+
status: Literal["success", "failure", "timeout", "cancelled"]
|
|
22
|
+
"""Execution status"""
|
|
23
|
+
|
|
24
|
+
task_version_id: str = FieldInfo(alias="taskVersionId")
|
|
25
|
+
"""Task version identifier"""
|
|
26
|
+
|
|
27
|
+
version: str
|
|
28
|
+
"""Version that was executed"""
|
|
29
|
+
|
|
30
|
+
error_message: Optional[str] = FieldInfo(alias="errorMessage", default=None)
|
|
31
|
+
"""Error message if execution failed"""
|
|
32
|
+
|
|
33
|
+
execution_time: Optional[float] = FieldInfo(alias="executionTime", default=None)
|
|
34
|
+
"""Execution duration in milliseconds"""
|
|
35
|
+
|
|
36
|
+
output: Optional[str] = None
|
|
37
|
+
"""Task execution output"""
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class TaskRetrieveExecutionResultResponse(BaseModel):
|
|
41
|
+
data: Optional[Data] = None
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import Union
|
|
4
|
+
from typing_extensions import Literal, TypeAlias
|
|
5
|
+
|
|
6
|
+
from .._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"ToolGetPerformWebTaskStatusResponse",
|
|
10
|
+
"Data",
|
|
11
|
+
"DataPerformWebTaskStatusSuccessResponseData",
|
|
12
|
+
"DataPerformWebTaskStatusRunningResponseData",
|
|
13
|
+
"DataPerformWebTaskStatusFailedResponseData",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class DataPerformWebTaskStatusSuccessResponseData(BaseModel):
|
|
18
|
+
result: object
|
|
19
|
+
"""The outcome or answer produced by the autonomous task."""
|
|
20
|
+
|
|
21
|
+
status: Literal["COMPLETED"]
|
|
22
|
+
"""The workflow has completed successfully."""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class DataPerformWebTaskStatusRunningResponseData(BaseModel):
|
|
26
|
+
status: Literal["RUNNING"]
|
|
27
|
+
"""The workflow is currently running."""
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class DataPerformWebTaskStatusFailedResponseData(BaseModel):
|
|
31
|
+
error: str
|
|
32
|
+
"""Error message describing why the workflow failed."""
|
|
33
|
+
|
|
34
|
+
status: Literal["FAILED"]
|
|
35
|
+
"""The workflow has failed."""
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
Data: TypeAlias = Union[
|
|
39
|
+
DataPerformWebTaskStatusSuccessResponseData,
|
|
40
|
+
DataPerformWebTaskStatusRunningResponseData,
|
|
41
|
+
DataPerformWebTaskStatusFailedResponseData,
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class ToolGetPerformWebTaskStatusResponse(BaseModel):
|
|
46
|
+
data: Data
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: anchorbrowser
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.3
|
|
4
4
|
Summary: The official Python library for the anchorbrowser API
|
|
5
5
|
Project-URL: Homepage, https://github.com/anchorbrowser/AnchorBrowser-SDK-Python
|
|
6
6
|
Project-URL: Repository, https://github.com/anchorbrowser/AnchorBrowser-SDK-Python
|
|
@@ -11,7 +11,7 @@ anchorbrowser/_resource.py,sha256=7lE1EgpVj5kwckk-27umtigTOf9nKTyRl97cgNwRbRQ,11
|
|
|
11
11
|
anchorbrowser/_response.py,sha256=xsiyWOC8LWW-NvbFtZ-MJD4f7eI9RnivKwtKImZ-8o4,28860
|
|
12
12
|
anchorbrowser/_streaming.py,sha256=ey2jst1hntYHV6HDiCFfHhWr_dUCSG4dG-VUqQkmCQ4,10249
|
|
13
13
|
anchorbrowser/_types.py,sha256=QvYWm0TMkfoauZj7cJwLtTrdnHfy0Wl7490nj7RFC9I,7601
|
|
14
|
-
anchorbrowser/_version.py,sha256=
|
|
14
|
+
anchorbrowser/_version.py,sha256=8m54mpWfCQY9uE09NUCyUf4-spuFbEdMZARMEwGi0js,165
|
|
15
15
|
anchorbrowser/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
anchorbrowser/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
|
|
17
17
|
anchorbrowser/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
|
|
@@ -35,11 +35,11 @@ anchorbrowser/resources/events.py,sha256=B6TwziBmOVMjWwoFO7OJR2X_Jt_3jtzNhQg4lgY
|
|
|
35
35
|
anchorbrowser/resources/extensions.py,sha256=KPBQGvjXU-cThWcd9Gf7xBBhEKjxxtaJqZiPF-hA0Ho,5131
|
|
36
36
|
anchorbrowser/resources/identities.py,sha256=Dm5H4oVpZQVJT2xVocrKaTfd9fUzYFa74uOz6xiX8Fo,23696
|
|
37
37
|
anchorbrowser/resources/profiles.py,sha256=g6xLjfmdXfRM5QV-N-omShpSPO_jMvRRmxKjOllq5RQ,16206
|
|
38
|
-
anchorbrowser/resources/task.py,sha256=
|
|
39
|
-
anchorbrowser/resources/tools.py,sha256=
|
|
38
|
+
anchorbrowser/resources/task.py,sha256=sT1MkQb5jLL9Cij9QX7drz6-bUIzYCQPx83eGwBAjvU,21271
|
|
39
|
+
anchorbrowser/resources/tools.py,sha256=5jN0dqgZ2sfzW7iN7oqoBFm0lA-f_0I66lJa1_7yyHM,30146
|
|
40
40
|
anchorbrowser/resources/applications/__init__.py,sha256=l-NtHBcE8rngI0MYy5C56dxZxgVx_Jeq3i3TVLpo0Xk,1120
|
|
41
41
|
anchorbrowser/resources/applications/applications.py,sha256=lhQIjdp0SKYeLkmTau0BLg7t_33ZNSHQ1CUjHUWyAr0,27666
|
|
42
|
-
anchorbrowser/resources/applications/auth_flows.py,sha256=
|
|
42
|
+
anchorbrowser/resources/applications/auth_flows.py,sha256=C-zX1ojjZRb3PtiLEdBLKFQ7j0e9325jCM9crWdm7x8,15669
|
|
43
43
|
anchorbrowser/resources/sessions/__init__.py,sha256=51tmuaKqEsEMfFTtZOovPAid6vYyKLkv6quuFBnQSiY,3330
|
|
44
44
|
anchorbrowser/resources/sessions/all.py,sha256=5iN5Vv6UW-2p07lEqiRHw3fFQC4m_acfvsn3yZVi_g0,7193
|
|
45
45
|
anchorbrowser/resources/sessions/clipboard.py,sha256=aP_O04dR9Axs_r1vMFvo8HlbX9YrNa0eWevIqCG7cTg,6482
|
|
@@ -52,7 +52,7 @@ anchorbrowser/resources/sessions/agent/files.py,sha256=u-YfPd2BUVeseR63eHmYHmMhU
|
|
|
52
52
|
anchorbrowser/resources/sessions/recordings/__init__.py,sha256=MRWTb2Kwpc-wGBrcaa5YnTntQ9Z85Zd0McKS5K_mG00,1067
|
|
53
53
|
anchorbrowser/resources/sessions/recordings/primary.py,sha256=p739aM0tU6CUx2KAgbo2O0oS-5T438Ho7SeUH9eSKXI,6569
|
|
54
54
|
anchorbrowser/resources/sessions/recordings/recordings.py,sha256=RigJzVSaHOEdIjb-KLRvGJT61p8-r6ipwpqPXHUlWYM,7380
|
|
55
|
-
anchorbrowser/types/__init__.py,sha256=
|
|
55
|
+
anchorbrowser/types/__init__.py,sha256=jSqSDfJCtzOhSnCeROFNj0oVnmHpWVrcNfnt9tYFFn0,4766
|
|
56
56
|
anchorbrowser/types/application_create_identity_token_params.py,sha256=eLDfH8aT1nr_-qW6kmaq_5ilZr1YukWz1JMioShktE8,534
|
|
57
57
|
anchorbrowser/types/application_create_identity_token_response.py,sha256=P1BrPeb0DlIq8DluP-QxA3WsetpNIM4xgwUV5kqZihM,630
|
|
58
58
|
anchorbrowser/types/application_create_params.py,sha256=KDXFpTx3N8SuzJ8kQiXL79FNt4zcIC1Dur0d5fSaIck,451
|
|
@@ -94,20 +94,20 @@ anchorbrowser/types/task_create_params.py,sha256=3a55Cu-r8fslLooQEsFqcliJBl1_Z9q
|
|
|
94
94
|
anchorbrowser/types/task_create_response.py,sha256=zYqfjOnibXTh7TvtPY5_aiXVXMCpK9N6WiO6cllt0Yc,8033
|
|
95
95
|
anchorbrowser/types/task_list_params.py,sha256=pu0gLGBp5UxKLpbEpSEz-J-kSRrY6VIvzjc-A0sOUFc,328
|
|
96
96
|
anchorbrowser/types/task_list_response.py,sha256=4hSdAkWJXqMErtqbsuHX4wBuEJywMkvREcSOAkqrr7U,8348
|
|
97
|
+
anchorbrowser/types/task_retrieve_execution_result_response.py,sha256=CxnkkTLEqq2OVsDjD8UtXs18_RM-AXd4C78MIYSEKJk,1148
|
|
97
98
|
anchorbrowser/types/task_run_params.py,sha256=QZPNJb1qjA2vEvyFEE-11GGRgVo6UIDr7VWixzZq7XM,7086
|
|
98
99
|
anchorbrowser/types/task_run_response.py,sha256=EHNdKk8zWHkMk5QYsub60LjqIuDukvfQ-IIiMgjdCRQ,824
|
|
99
100
|
anchorbrowser/types/tool_fetch_webpage_params.py,sha256=g_C7tLpyFx4I2r7-iizM7ZiQ71-VfowCj9aufaSHjmg,1181
|
|
100
101
|
anchorbrowser/types/tool_fetch_webpage_response.py,sha256=hdbrNgPz_LeWa3_aVbtck-n-SRvO4moFDbGoSf_2_tU,210
|
|
102
|
+
anchorbrowser/types/tool_get_perform_web_task_status_response.py,sha256=5tPV3TsFV_h4RYZet7fRZo0HIpQev1v_ootMyC73iLI,1239
|
|
101
103
|
anchorbrowser/types/tool_perform_web_task_params.py,sha256=rFEGtjZWtXA8wLLp36GLt9NuD7HO0dKSqDHp5GfFZYA,2219
|
|
102
104
|
anchorbrowser/types/tool_perform_web_task_response.py,sha256=c7GCKQxXNql6UxXDXcRcetxUg0lOHd5lB4DdbKoKwh4,400
|
|
103
105
|
anchorbrowser/types/tool_screenshot_webpage_params.py,sha256=a7p4nCi6mQRJvTZD3wYDa67UGsB4v4CqOhW6x8-9Rrk,1344
|
|
104
|
-
anchorbrowser/types/applications/__init__.py,sha256=
|
|
106
|
+
anchorbrowser/types/applications/__init__.py,sha256=t7oANJ8hnVGMiX34_nXGV9v-1WGsiAJojQrz7TJlqaY,463
|
|
105
107
|
anchorbrowser/types/applications/auth_flow_create_params.py,sha256=ohcUEAuTAG4CDWrvKK8X6al2X7rNxB_X1IIZFgOQ6zg,877
|
|
106
108
|
anchorbrowser/types/applications/auth_flow_create_response.py,sha256=GLbv23KtuLVUHis3Zp1MLUUvytopq6Hec2k9AEK95KM,1122
|
|
107
109
|
anchorbrowser/types/applications/auth_flow_delete_response.py,sha256=7BCd1dNYn8COMIMp-Xu5-1CEI3HpYq9tgTZ6eptWUpE,311
|
|
108
110
|
anchorbrowser/types/applications/auth_flow_list_response.py,sha256=9xwPPmcWwz6mYwNKcHab6BbNpU4WFJQZ9SzBmH3z_yo,1231
|
|
109
|
-
anchorbrowser/types/applications/auth_flow_update_params.py,sha256=kV4OALmUEcB-1J9iNXeyDcCc1a0QqzBGBJcVwm1pmMw,892
|
|
110
|
-
anchorbrowser/types/applications/auth_flow_update_response.py,sha256=thxnOosEMhS7TagZqnRjXhHchkNHFTZ8jcFy9oCSi30,1122
|
|
111
111
|
anchorbrowser/types/sessions/__init__.py,sha256=dNZck8W2DJTCddTLO-Z8wjuj3aT7z2t2FkNAOpQaEYo,1053
|
|
112
112
|
anchorbrowser/types/sessions/all_status_response.py,sha256=h4uwmS47nHkHWbRJO2Sb9h_tEaysxvWcpaNyZO-IXxo,701
|
|
113
113
|
anchorbrowser/types/sessions/clipboard_set_params.py,sha256=LDpW3WOXoD_dcSjTo6pE5K_ilL604sjGGx00AA1XtOQ,322
|
|
@@ -127,7 +127,7 @@ anchorbrowser/types/sessions/agent/file_upload_response.py,sha256=9DnqplfvEud89U
|
|
|
127
127
|
anchorbrowser/types/sessions/recordings/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
|
128
128
|
anchorbrowser/types/shared/__init__.py,sha256=FQKjY3VDxI8T0feNRazdY5TOqb2KDeEwZaoJjsxuEl4,152
|
|
129
129
|
anchorbrowser/types/shared/success_response.py,sha256=l9OWrucXoSjBdsx5QKdvBPFtxv8d0YdpYY6iL5cWWuc,314
|
|
130
|
-
anchorbrowser-0.7.
|
|
131
|
-
anchorbrowser-0.7.
|
|
132
|
-
anchorbrowser-0.7.
|
|
133
|
-
anchorbrowser-0.7.
|
|
130
|
+
anchorbrowser-0.7.3.dist-info/METADATA,sha256=DXpvCAtRYmDTIGsRNRWJNLScLY52kFwtfxX28zGBztc,15407
|
|
131
|
+
anchorbrowser-0.7.3.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
132
|
+
anchorbrowser-0.7.3.dist-info/licenses/LICENSE,sha256=RDcfjK9SJCPlF8nKJnQ33ZQqG4pFl5sBT9AOoTQXK5Q,11343
|
|
133
|
+
anchorbrowser-0.7.3.dist-info/RECORD,,
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing import List, Iterable
|
|
6
|
-
from typing_extensions import Literal, Required, TypedDict
|
|
7
|
-
|
|
8
|
-
__all__ = ["AuthFlowUpdateParams", "CustomField"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class AuthFlowUpdateParams(TypedDict, total=False):
|
|
12
|
-
application_id: Required[str]
|
|
13
|
-
|
|
14
|
-
custom_fields: Iterable[CustomField]
|
|
15
|
-
"""Custom fields for this authentication flow"""
|
|
16
|
-
|
|
17
|
-
description: str
|
|
18
|
-
"""Description of the authentication flow"""
|
|
19
|
-
|
|
20
|
-
is_recommended: bool
|
|
21
|
-
"""Whether this is the recommended authentication flow"""
|
|
22
|
-
|
|
23
|
-
methods: List[Literal["username_password", "authenticator", "custom"]]
|
|
24
|
-
"""Authentication methods in this flow"""
|
|
25
|
-
|
|
26
|
-
name: str
|
|
27
|
-
"""Name of the authentication flow"""
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
class CustomField(TypedDict, total=False):
|
|
31
|
-
name: Required[str]
|
|
32
|
-
"""Name of the custom field"""
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import List, Optional
|
|
4
|
-
from datetime import datetime
|
|
5
|
-
|
|
6
|
-
from ..._models import BaseModel
|
|
7
|
-
|
|
8
|
-
__all__ = ["AuthFlowUpdateResponse", "CustomField"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class CustomField(BaseModel):
|
|
12
|
-
name: str
|
|
13
|
-
"""Name of the custom field"""
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
class AuthFlowUpdateResponse(BaseModel):
|
|
17
|
-
id: Optional[str] = None
|
|
18
|
-
"""Unique identifier for the authentication flow"""
|
|
19
|
-
|
|
20
|
-
created_at: Optional[datetime] = None
|
|
21
|
-
"""Timestamp when the authentication flow was created"""
|
|
22
|
-
|
|
23
|
-
custom_fields: Optional[List[CustomField]] = None
|
|
24
|
-
"""Custom fields for this authentication flow"""
|
|
25
|
-
|
|
26
|
-
description: Optional[str] = None
|
|
27
|
-
"""Description of the authentication flow"""
|
|
28
|
-
|
|
29
|
-
is_recommended: Optional[bool] = None
|
|
30
|
-
"""Whether this is the recommended authentication flow"""
|
|
31
|
-
|
|
32
|
-
methods: Optional[List[str]] = None
|
|
33
|
-
"""Authentication methods in this flow"""
|
|
34
|
-
|
|
35
|
-
name: Optional[str] = None
|
|
36
|
-
"""Name of the authentication flow"""
|
|
37
|
-
|
|
38
|
-
updated_at: Optional[datetime] = None
|
|
39
|
-
"""Timestamp when the authentication flow was last updated"""
|
|
File without changes
|
|
File without changes
|