beamlit 0.0.20rc5__py3-none-any.whl → 0.0.20rc6__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- beamlit/agents/__init__.py +4 -0
- beamlit/agents/chat.py +87 -0
- beamlit/agents/decorator.py +129 -0
- beamlit/api/agents/delete_agent_history.py +6 -2
- beamlit/api/agents/get_agent_deployment_logs.py +11 -11
- beamlit/api/agents/get_agent_history.py +6 -2
- beamlit/api/agents/list_agent_deployment_history.py +11 -11
- beamlit/api/agents/list_agent_deployments.py +11 -11
- beamlit/api/agents/list_agents.py +11 -11
- beamlit/api/agents/put_agent_history.py +6 -2
- beamlit/api/environments/list_environments.py +11 -11
- beamlit/api/functions/get_function_deployment_logs.py +11 -11
- beamlit/api/functions/list_function_deployments.py +11 -11
- beamlit/api/functions/list_functions.py +11 -11
- beamlit/api/history/get_agents_history.py +11 -11
- beamlit/api/history/list_agents_history.py +11 -11
- beamlit/api/integrations/list_integration_connections.py +11 -11
- beamlit/api/invitations/list_all_pending_invitations.py +11 -11
- beamlit/api/locations/list_locations.py +11 -11
- beamlit/api/model_providers/list_model_providers.py +11 -11
- beamlit/api/models/get_model_deployment_logs.py +11 -11
- beamlit/api/models/list_model_deployments.py +11 -11
- beamlit/api/models/list_models.py +11 -11
- beamlit/api/policies/list_policies.py +11 -11
- beamlit/api/service_accounts/get_workspace_service_accounts.py +11 -11
- beamlit/api/service_accounts/list_api_keys_for_service_account.py +11 -11
- beamlit/api/store/list_store_agents.py +11 -11
- beamlit/api/store/list_store_functions.py +11 -11
- beamlit/api/workspaces/list_workspace_users.py +11 -11
- beamlit/api/workspaces/list_workspaces.py +11 -11
- beamlit/authentication/__init__.py +26 -10
- beamlit/authentication/apikey.py +4 -4
- beamlit/authentication/authentication.py +35 -6
- beamlit/authentication/clientcredentials.py +18 -20
- beamlit/authentication/credentials.py +9 -8
- beamlit/authentication/device_mode.py +15 -12
- beamlit/common/__init__.py +13 -0
- beamlit/common/generate.py +25 -13
- beamlit/common/logger.py +9 -12
- beamlit/common/secrets.py +11 -0
- beamlit/common/settings.py +29 -11
- beamlit/common/utils.py +4 -2
- beamlit/functions/__init__.py +5 -0
- beamlit/functions/decorator.py +90 -0
- beamlit/models/acl.py +2 -2
- beamlit/models/agent.py +3 -3
- beamlit/models/agent_chain.py +2 -2
- beamlit/models/agent_configuration.py +2 -2
- beamlit/models/agent_deployment.py +25 -25
- beamlit/models/agent_deployment_configuration.py +2 -2
- beamlit/models/agent_deployment_history.py +5 -5
- beamlit/models/agent_deployment_history_event.py +9 -9
- beamlit/models/agent_deployment_pod_template.py +2 -2
- beamlit/models/agent_release.py +2 -2
- beamlit/models/agent_spec.py +15 -5
- beamlit/models/agent_with_deployments.py +6 -6
- beamlit/models/api_key.py +2 -2
- beamlit/models/authentication_provider_model.py +6 -6
- beamlit/models/authentication_provider_organization.py +2 -2
- beamlit/models/configuration.py +10 -10
- beamlit/models/continent.py +2 -2
- beamlit/models/core_spec.py +9 -3
- beamlit/models/country.py +2 -2
- beamlit/models/create_api_key_for_service_account_body.py +2 -2
- beamlit/models/create_workspace_service_account_body.py +2 -2
- beamlit/models/create_workspace_service_account_response_200.py +2 -2
- beamlit/models/delete_workspace_service_account_response_200.py +2 -2
- beamlit/models/deployment_configuration.py +2 -2
- beamlit/models/deployment_configurations.py +2 -2
- beamlit/models/deployment_serverless_config.py +2 -2
- beamlit/models/deployment_serverless_config_type_0.py +3 -1
- beamlit/models/environment.py +7 -7
- beamlit/models/environment_metrics.py +8 -8
- beamlit/models/flavor.py +9 -9
- beamlit/models/function.py +3 -3
- beamlit/models/function_configuration.py +2 -2
- beamlit/models/function_deployment.py +24 -24
- beamlit/models/function_deployment_configuration.py +2 -2
- beamlit/models/function_deployment_pod_template.py +2 -2
- beamlit/models/function_kit.py +5 -5
- beamlit/models/function_provider_ref.py +2 -2
- beamlit/models/function_release.py +2 -2
- beamlit/models/function_spec.py +9 -3
- beamlit/models/function_with_deployments.py +6 -6
- beamlit/models/get_workspace_service_accounts_response_200_item.py +2 -2
- beamlit/models/increase_and_rate_metric.py +5 -5
- beamlit/models/integration.py +12 -12
- beamlit/models/integration_config.py +2 -2
- beamlit/models/integration_connection.py +5 -5
- beamlit/models/integration_connection_config.py +2 -2
- beamlit/models/integration_connection_secret.py +2 -2
- beamlit/models/integration_model.py +6 -6
- beamlit/models/integration_secret.py +2 -2
- beamlit/models/invite_workspace_user_body.py +2 -2
- beamlit/models/labels_type_0.py +2 -2
- beamlit/models/location.py +5 -5
- beamlit/models/location_response.py +5 -5
- beamlit/models/metric.py +2 -2
- beamlit/models/metrics.py +8 -8
- beamlit/models/model.py +3 -3
- beamlit/models/model_deployment.py +18 -18
- beamlit/models/model_deployment_log.py +2 -2
- beamlit/models/model_deployment_metrics.py +9 -9
- beamlit/models/model_deployment_metrics_inference_per_second_per_region.py +5 -5
- beamlit/models/model_deployment_metrics_query_per_second_per_region_per_code.py +3 -3
- beamlit/models/model_deployment_pod_template.py +2 -2
- beamlit/models/model_metrics.py +6 -6
- beamlit/models/model_provider.py +11 -11
- beamlit/models/model_provider_ref.py +2 -2
- beamlit/models/model_release.py +2 -2
- beamlit/models/model_spec.py +9 -3
- beamlit/models/model_with_deployments.py +6 -6
- beamlit/models/pending_invitation.py +2 -2
- beamlit/models/pending_invitation_accept.py +3 -3
- beamlit/models/pending_invitation_render.py +5 -5
- beamlit/models/pending_invitation_render_invited_by.py +2 -2
- beamlit/models/pending_invitation_render_workspace.py +2 -2
- beamlit/models/pending_invitation_workspace_details.py +6 -6
- beamlit/models/policy.py +20 -20
- beamlit/models/policy_location.py +9 -9
- beamlit/models/policy_spec.py +9 -3
- beamlit/models/provider_config.py +7 -7
- beamlit/models/qps.py +2 -2
- beamlit/models/resource_deployment_log.py +2 -2
- beamlit/models/resource_deployment_metrics.py +16 -16
- beamlit/models/resource_deployment_metrics_inference_per_region.py +5 -5
- beamlit/models/resource_deployment_metrics_inference_per_region_type_0.py +6 -2
- beamlit/models/resource_deployment_metrics_inference_per_second_per_region.py +5 -5
- beamlit/models/resource_deployment_metrics_inference_per_second_per_region_type_0.py +6 -2
- beamlit/models/resource_deployment_metrics_query_per_region_per_code.py +3 -3
- beamlit/models/resource_deployment_metrics_query_per_second_per_region_per_code.py +3 -3
- beamlit/models/resource_environment_metrics.py +62 -24
- beamlit/models/resource_environment_metrics_inference_per_second_per_region.py +6 -2
- beamlit/models/resource_metrics.py +10 -10
- beamlit/models/runtime.py +23 -23
- beamlit/models/runtime_readiness_probe.py +2 -2
- beamlit/models/runtime_resources.py +2 -2
- beamlit/models/serverless_config.py +2 -2
- beamlit/models/standard_fields_dynamo_db.py +2 -2
- beamlit/models/store_agent.py +6 -6
- beamlit/models/store_agent_configuration.py +2 -2
- beamlit/models/store_agent_labels.py +2 -2
- beamlit/models/store_configuration.py +16 -16
- beamlit/models/store_configuration_option.py +2 -2
- beamlit/models/store_function.py +12 -12
- beamlit/models/store_function_configuration.py +2 -2
- beamlit/models/store_function_kit.py +5 -5
- beamlit/models/store_function_labels.py +2 -2
- beamlit/models/store_function_parameter.py +9 -9
- beamlit/models/update_workspace_service_account_body.py +2 -2
- beamlit/models/update_workspace_service_account_response_200.py +2 -2
- beamlit/models/update_workspace_user_role_body.py +2 -2
- beamlit/models/workspace.py +3 -3
- beamlit/models/workspace_labels.py +2 -2
- beamlit/models/workspace_user.py +2 -2
- beamlit/run.py +6 -6
- beamlit/serve.py +120 -0
- {beamlit-0.0.20rc5.dist-info → beamlit-0.0.20rc6.dist-info}/METADATA +5 -1
- beamlit-0.0.20rc6.dist-info/RECORD +290 -0
- beamlit-0.0.20rc5.dist-info/RECORD +0 -282
- {beamlit-0.0.20rc5.dist-info → beamlit-0.0.20rc6.dist-info}/WHEEL +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
from http import HTTPStatus
|
2
|
-
from typing import Any,
|
2
|
+
from typing import Any, Optional, Union
|
3
3
|
|
4
4
|
import httpx
|
5
5
|
|
@@ -20,7 +20,7 @@ def _get_kwargs() -> dict[str, Any]:
|
|
20
20
|
|
21
21
|
def _parse_response(
|
22
22
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
23
|
-
) -> Optional[
|
23
|
+
) -> Optional[list["Environment"]]:
|
24
24
|
if response.status_code == 200:
|
25
25
|
response_200 = []
|
26
26
|
_response_200 = response.json()
|
@@ -38,7 +38,7 @@ def _parse_response(
|
|
38
38
|
|
39
39
|
def _build_response(
|
40
40
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
41
|
-
) -> Response[
|
41
|
+
) -> Response[list["Environment"]]:
|
42
42
|
return Response(
|
43
43
|
status_code=HTTPStatus(response.status_code),
|
44
44
|
content=response.content,
|
@@ -50,7 +50,7 @@ def _build_response(
|
|
50
50
|
def sync_detailed(
|
51
51
|
*,
|
52
52
|
client: AuthenticatedClient,
|
53
|
-
) -> Response[
|
53
|
+
) -> Response[list["Environment"]]:
|
54
54
|
"""List environments
|
55
55
|
|
56
56
|
Returns a list of all environments in the workspace.
|
@@ -60,7 +60,7 @@ def sync_detailed(
|
|
60
60
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
61
61
|
|
62
62
|
Returns:
|
63
|
-
Response[
|
63
|
+
Response[list['Environment']]
|
64
64
|
"""
|
65
65
|
|
66
66
|
kwargs = _get_kwargs()
|
@@ -75,7 +75,7 @@ def sync_detailed(
|
|
75
75
|
def sync(
|
76
76
|
*,
|
77
77
|
client: AuthenticatedClient,
|
78
|
-
) -> Optional[
|
78
|
+
) -> Optional[list["Environment"]]:
|
79
79
|
"""List environments
|
80
80
|
|
81
81
|
Returns a list of all environments in the workspace.
|
@@ -85,7 +85,7 @@ def sync(
|
|
85
85
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
86
86
|
|
87
87
|
Returns:
|
88
|
-
|
88
|
+
list['Environment']
|
89
89
|
"""
|
90
90
|
|
91
91
|
return sync_detailed(
|
@@ -96,7 +96,7 @@ def sync(
|
|
96
96
|
async def asyncio_detailed(
|
97
97
|
*,
|
98
98
|
client: AuthenticatedClient,
|
99
|
-
) -> Response[
|
99
|
+
) -> Response[list["Environment"]]:
|
100
100
|
"""List environments
|
101
101
|
|
102
102
|
Returns a list of all environments in the workspace.
|
@@ -106,7 +106,7 @@ async def asyncio_detailed(
|
|
106
106
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
107
107
|
|
108
108
|
Returns:
|
109
|
-
Response[
|
109
|
+
Response[list['Environment']]
|
110
110
|
"""
|
111
111
|
|
112
112
|
kwargs = _get_kwargs()
|
@@ -119,7 +119,7 @@ async def asyncio_detailed(
|
|
119
119
|
async def asyncio(
|
120
120
|
*,
|
121
121
|
client: AuthenticatedClient,
|
122
|
-
) -> Optional[
|
122
|
+
) -> Optional[list["Environment"]]:
|
123
123
|
"""List environments
|
124
124
|
|
125
125
|
Returns a list of all environments in the workspace.
|
@@ -129,7 +129,7 @@ async def asyncio(
|
|
129
129
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
130
130
|
|
131
131
|
Returns:
|
132
|
-
|
132
|
+
list['Environment']
|
133
133
|
"""
|
134
134
|
|
135
135
|
return (
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from http import HTTPStatus
|
2
|
-
from typing import Any,
|
2
|
+
from typing import Any, Optional, Union
|
3
3
|
|
4
4
|
import httpx
|
5
5
|
|
@@ -23,7 +23,7 @@ def _get_kwargs(
|
|
23
23
|
|
24
24
|
def _parse_response(
|
25
25
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
26
|
-
) -> Optional[
|
26
|
+
) -> Optional[list["ResourceDeploymentLog"]]:
|
27
27
|
if response.status_code == 200:
|
28
28
|
response_200 = []
|
29
29
|
_response_200 = response.json()
|
@@ -41,7 +41,7 @@ def _parse_response(
|
|
41
41
|
|
42
42
|
def _build_response(
|
43
43
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
44
|
-
) -> Response[
|
44
|
+
) -> Response[list["ResourceDeploymentLog"]]:
|
45
45
|
return Response(
|
46
46
|
status_code=HTTPStatus(response.status_code),
|
47
47
|
content=response.content,
|
@@ -55,7 +55,7 @@ def sync_detailed(
|
|
55
55
|
environment_name: str,
|
56
56
|
*,
|
57
57
|
client: AuthenticatedClient,
|
58
|
-
) -> Response[
|
58
|
+
) -> Response[list["ResourceDeploymentLog"]]:
|
59
59
|
"""
|
60
60
|
Args:
|
61
61
|
function_name (str):
|
@@ -66,7 +66,7 @@ def sync_detailed(
|
|
66
66
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
67
67
|
|
68
68
|
Returns:
|
69
|
-
Response[
|
69
|
+
Response[list['ResourceDeploymentLog']]
|
70
70
|
"""
|
71
71
|
|
72
72
|
kwargs = _get_kwargs(
|
@@ -86,7 +86,7 @@ def sync(
|
|
86
86
|
environment_name: str,
|
87
87
|
*,
|
88
88
|
client: AuthenticatedClient,
|
89
|
-
) -> Optional[
|
89
|
+
) -> Optional[list["ResourceDeploymentLog"]]:
|
90
90
|
"""
|
91
91
|
Args:
|
92
92
|
function_name (str):
|
@@ -97,7 +97,7 @@ def sync(
|
|
97
97
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
98
98
|
|
99
99
|
Returns:
|
100
|
-
|
100
|
+
list['ResourceDeploymentLog']
|
101
101
|
"""
|
102
102
|
|
103
103
|
return sync_detailed(
|
@@ -112,7 +112,7 @@ async def asyncio_detailed(
|
|
112
112
|
environment_name: str,
|
113
113
|
*,
|
114
114
|
client: AuthenticatedClient,
|
115
|
-
) -> Response[
|
115
|
+
) -> Response[list["ResourceDeploymentLog"]]:
|
116
116
|
"""
|
117
117
|
Args:
|
118
118
|
function_name (str):
|
@@ -123,7 +123,7 @@ async def asyncio_detailed(
|
|
123
123
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
124
124
|
|
125
125
|
Returns:
|
126
|
-
Response[
|
126
|
+
Response[list['ResourceDeploymentLog']]
|
127
127
|
"""
|
128
128
|
|
129
129
|
kwargs = _get_kwargs(
|
@@ -141,7 +141,7 @@ async def asyncio(
|
|
141
141
|
environment_name: str,
|
142
142
|
*,
|
143
143
|
client: AuthenticatedClient,
|
144
|
-
) -> Optional[
|
144
|
+
) -> Optional[list["ResourceDeploymentLog"]]:
|
145
145
|
"""
|
146
146
|
Args:
|
147
147
|
function_name (str):
|
@@ -152,7 +152,7 @@ async def asyncio(
|
|
152
152
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
153
153
|
|
154
154
|
Returns:
|
155
|
-
|
155
|
+
list['ResourceDeploymentLog']
|
156
156
|
"""
|
157
157
|
|
158
158
|
return (
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from http import HTTPStatus
|
2
|
-
from typing import Any,
|
2
|
+
from typing import Any, Optional, Union
|
3
3
|
|
4
4
|
import httpx
|
5
5
|
|
@@ -22,7 +22,7 @@ def _get_kwargs(
|
|
22
22
|
|
23
23
|
def _parse_response(
|
24
24
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
25
|
-
) -> Optional[
|
25
|
+
) -> Optional[list["FunctionDeployment"]]:
|
26
26
|
if response.status_code == 200:
|
27
27
|
response_200 = []
|
28
28
|
_response_200 = response.json()
|
@@ -40,7 +40,7 @@ def _parse_response(
|
|
40
40
|
|
41
41
|
def _build_response(
|
42
42
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
43
|
-
) -> Response[
|
43
|
+
) -> Response[list["FunctionDeployment"]]:
|
44
44
|
return Response(
|
45
45
|
status_code=HTTPStatus(response.status_code),
|
46
46
|
content=response.content,
|
@@ -53,7 +53,7 @@ def sync_detailed(
|
|
53
53
|
function_name: str,
|
54
54
|
*,
|
55
55
|
client: AuthenticatedClient,
|
56
|
-
) -> Response[
|
56
|
+
) -> Response[list["FunctionDeployment"]]:
|
57
57
|
"""List all function deployments
|
58
58
|
|
59
59
|
Args:
|
@@ -64,7 +64,7 @@ def sync_detailed(
|
|
64
64
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
65
65
|
|
66
66
|
Returns:
|
67
|
-
Response[
|
67
|
+
Response[list['FunctionDeployment']]
|
68
68
|
"""
|
69
69
|
|
70
70
|
kwargs = _get_kwargs(
|
@@ -82,7 +82,7 @@ def sync(
|
|
82
82
|
function_name: str,
|
83
83
|
*,
|
84
84
|
client: AuthenticatedClient,
|
85
|
-
) -> Optional[
|
85
|
+
) -> Optional[list["FunctionDeployment"]]:
|
86
86
|
"""List all function deployments
|
87
87
|
|
88
88
|
Args:
|
@@ -93,7 +93,7 @@ def sync(
|
|
93
93
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
94
94
|
|
95
95
|
Returns:
|
96
|
-
|
96
|
+
list['FunctionDeployment']
|
97
97
|
"""
|
98
98
|
|
99
99
|
return sync_detailed(
|
@@ -106,7 +106,7 @@ async def asyncio_detailed(
|
|
106
106
|
function_name: str,
|
107
107
|
*,
|
108
108
|
client: AuthenticatedClient,
|
109
|
-
) -> Response[
|
109
|
+
) -> Response[list["FunctionDeployment"]]:
|
110
110
|
"""List all function deployments
|
111
111
|
|
112
112
|
Args:
|
@@ -117,7 +117,7 @@ async def asyncio_detailed(
|
|
117
117
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
118
118
|
|
119
119
|
Returns:
|
120
|
-
Response[
|
120
|
+
Response[list['FunctionDeployment']]
|
121
121
|
"""
|
122
122
|
|
123
123
|
kwargs = _get_kwargs(
|
@@ -133,7 +133,7 @@ async def asyncio(
|
|
133
133
|
function_name: str,
|
134
134
|
*,
|
135
135
|
client: AuthenticatedClient,
|
136
|
-
) -> Optional[
|
136
|
+
) -> Optional[list["FunctionDeployment"]]:
|
137
137
|
"""List all function deployments
|
138
138
|
|
139
139
|
Args:
|
@@ -144,7 +144,7 @@ async def asyncio(
|
|
144
144
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
145
145
|
|
146
146
|
Returns:
|
147
|
-
|
147
|
+
list['FunctionDeployment']
|
148
148
|
"""
|
149
149
|
|
150
150
|
return (
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from http import HTTPStatus
|
2
|
-
from typing import Any,
|
2
|
+
from typing import Any, Optional, Union
|
3
3
|
|
4
4
|
import httpx
|
5
5
|
|
@@ -20,7 +20,7 @@ def _get_kwargs() -> dict[str, Any]:
|
|
20
20
|
|
21
21
|
def _parse_response(
|
22
22
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
23
|
-
) -> Optional[
|
23
|
+
) -> Optional[list["Function"]]:
|
24
24
|
if response.status_code == 200:
|
25
25
|
response_200 = []
|
26
26
|
_response_200 = response.json()
|
@@ -38,7 +38,7 @@ def _parse_response(
|
|
38
38
|
|
39
39
|
def _build_response(
|
40
40
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
41
|
-
) -> Response[
|
41
|
+
) -> Response[list["Function"]]:
|
42
42
|
return Response(
|
43
43
|
status_code=HTTPStatus(response.status_code),
|
44
44
|
content=response.content,
|
@@ -50,7 +50,7 @@ def _build_response(
|
|
50
50
|
def sync_detailed(
|
51
51
|
*,
|
52
52
|
client: AuthenticatedClient,
|
53
|
-
) -> Response[
|
53
|
+
) -> Response[list["Function"]]:
|
54
54
|
"""List all functions
|
55
55
|
|
56
56
|
Raises:
|
@@ -58,7 +58,7 @@ def sync_detailed(
|
|
58
58
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
59
59
|
|
60
60
|
Returns:
|
61
|
-
Response[
|
61
|
+
Response[list['Function']]
|
62
62
|
"""
|
63
63
|
|
64
64
|
kwargs = _get_kwargs()
|
@@ -73,7 +73,7 @@ def sync_detailed(
|
|
73
73
|
def sync(
|
74
74
|
*,
|
75
75
|
client: AuthenticatedClient,
|
76
|
-
) -> Optional[
|
76
|
+
) -> Optional[list["Function"]]:
|
77
77
|
"""List all functions
|
78
78
|
|
79
79
|
Raises:
|
@@ -81,7 +81,7 @@ def sync(
|
|
81
81
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
82
82
|
|
83
83
|
Returns:
|
84
|
-
|
84
|
+
list['Function']
|
85
85
|
"""
|
86
86
|
|
87
87
|
return sync_detailed(
|
@@ -92,7 +92,7 @@ def sync(
|
|
92
92
|
async def asyncio_detailed(
|
93
93
|
*,
|
94
94
|
client: AuthenticatedClient,
|
95
|
-
) -> Response[
|
95
|
+
) -> Response[list["Function"]]:
|
96
96
|
"""List all functions
|
97
97
|
|
98
98
|
Raises:
|
@@ -100,7 +100,7 @@ async def asyncio_detailed(
|
|
100
100
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
101
101
|
|
102
102
|
Returns:
|
103
|
-
Response[
|
103
|
+
Response[list['Function']]
|
104
104
|
"""
|
105
105
|
|
106
106
|
kwargs = _get_kwargs()
|
@@ -113,7 +113,7 @@ async def asyncio_detailed(
|
|
113
113
|
async def asyncio(
|
114
114
|
*,
|
115
115
|
client: AuthenticatedClient,
|
116
|
-
) -> Optional[
|
116
|
+
) -> Optional[list["Function"]]:
|
117
117
|
"""List all functions
|
118
118
|
|
119
119
|
Raises:
|
@@ -121,7 +121,7 @@ async def asyncio(
|
|
121
121
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
122
122
|
|
123
123
|
Returns:
|
124
|
-
|
124
|
+
list['Function']
|
125
125
|
"""
|
126
126
|
|
127
127
|
return (
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from http import HTTPStatus
|
2
|
-
from typing import Any,
|
2
|
+
from typing import Any, Optional, Union
|
3
3
|
|
4
4
|
import httpx
|
5
5
|
|
@@ -22,7 +22,7 @@ def _get_kwargs(
|
|
22
22
|
|
23
23
|
def _parse_response(
|
24
24
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
25
|
-
) -> Optional[
|
25
|
+
) -> Optional[list["AgentDeploymentHistory"]]:
|
26
26
|
if response.status_code == 200:
|
27
27
|
response_200 = []
|
28
28
|
_response_200 = response.json()
|
@@ -40,7 +40,7 @@ def _parse_response(
|
|
40
40
|
|
41
41
|
def _build_response(
|
42
42
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
43
|
-
) -> Response[
|
43
|
+
) -> Response[list["AgentDeploymentHistory"]]:
|
44
44
|
return Response(
|
45
45
|
status_code=HTTPStatus(response.status_code),
|
46
46
|
content=response.content,
|
@@ -53,7 +53,7 @@ def sync_detailed(
|
|
53
53
|
request_id: str,
|
54
54
|
*,
|
55
55
|
client: AuthenticatedClient,
|
56
|
-
) -> Response[
|
56
|
+
) -> Response[list["AgentDeploymentHistory"]]:
|
57
57
|
"""Get all history for a specific request ID from all agents
|
58
58
|
|
59
59
|
Args:
|
@@ -64,7 +64,7 @@ def sync_detailed(
|
|
64
64
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
65
65
|
|
66
66
|
Returns:
|
67
|
-
Response[
|
67
|
+
Response[list['AgentDeploymentHistory']]
|
68
68
|
"""
|
69
69
|
|
70
70
|
kwargs = _get_kwargs(
|
@@ -82,7 +82,7 @@ def sync(
|
|
82
82
|
request_id: str,
|
83
83
|
*,
|
84
84
|
client: AuthenticatedClient,
|
85
|
-
) -> Optional[
|
85
|
+
) -> Optional[list["AgentDeploymentHistory"]]:
|
86
86
|
"""Get all history for a specific request ID from all agents
|
87
87
|
|
88
88
|
Args:
|
@@ -93,7 +93,7 @@ def sync(
|
|
93
93
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
94
94
|
|
95
95
|
Returns:
|
96
|
-
|
96
|
+
list['AgentDeploymentHistory']
|
97
97
|
"""
|
98
98
|
|
99
99
|
return sync_detailed(
|
@@ -106,7 +106,7 @@ async def asyncio_detailed(
|
|
106
106
|
request_id: str,
|
107
107
|
*,
|
108
108
|
client: AuthenticatedClient,
|
109
|
-
) -> Response[
|
109
|
+
) -> Response[list["AgentDeploymentHistory"]]:
|
110
110
|
"""Get all history for a specific request ID from all agents
|
111
111
|
|
112
112
|
Args:
|
@@ -117,7 +117,7 @@ async def asyncio_detailed(
|
|
117
117
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
118
118
|
|
119
119
|
Returns:
|
120
|
-
Response[
|
120
|
+
Response[list['AgentDeploymentHistory']]
|
121
121
|
"""
|
122
122
|
|
123
123
|
kwargs = _get_kwargs(
|
@@ -133,7 +133,7 @@ async def asyncio(
|
|
133
133
|
request_id: str,
|
134
134
|
*,
|
135
135
|
client: AuthenticatedClient,
|
136
|
-
) -> Optional[
|
136
|
+
) -> Optional[list["AgentDeploymentHistory"]]:
|
137
137
|
"""Get all history for a specific request ID from all agents
|
138
138
|
|
139
139
|
Args:
|
@@ -144,7 +144,7 @@ async def asyncio(
|
|
144
144
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
145
145
|
|
146
146
|
Returns:
|
147
|
-
|
147
|
+
list['AgentDeploymentHistory']
|
148
148
|
"""
|
149
149
|
|
150
150
|
return (
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from http import HTTPStatus
|
2
|
-
from typing import Any,
|
2
|
+
from typing import Any, Optional, Union
|
3
3
|
|
4
4
|
import httpx
|
5
5
|
|
@@ -20,7 +20,7 @@ def _get_kwargs() -> dict[str, Any]:
|
|
20
20
|
|
21
21
|
def _parse_response(
|
22
22
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
23
|
-
) -> Optional[
|
23
|
+
) -> Optional[list["AgentDeploymentHistory"]]:
|
24
24
|
if response.status_code == 200:
|
25
25
|
response_200 = []
|
26
26
|
_response_200 = response.json()
|
@@ -38,7 +38,7 @@ def _parse_response(
|
|
38
38
|
|
39
39
|
def _build_response(
|
40
40
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
41
|
-
) -> Response[
|
41
|
+
) -> Response[list["AgentDeploymentHistory"]]:
|
42
42
|
return Response(
|
43
43
|
status_code=HTTPStatus(response.status_code),
|
44
44
|
content=response.content,
|
@@ -50,7 +50,7 @@ def _build_response(
|
|
50
50
|
def sync_detailed(
|
51
51
|
*,
|
52
52
|
client: AuthenticatedClient,
|
53
|
-
) -> Response[
|
53
|
+
) -> Response[list["AgentDeploymentHistory"]]:
|
54
54
|
"""Get all history for all agents
|
55
55
|
|
56
56
|
Raises:
|
@@ -58,7 +58,7 @@ def sync_detailed(
|
|
58
58
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
59
59
|
|
60
60
|
Returns:
|
61
|
-
Response[
|
61
|
+
Response[list['AgentDeploymentHistory']]
|
62
62
|
"""
|
63
63
|
|
64
64
|
kwargs = _get_kwargs()
|
@@ -73,7 +73,7 @@ def sync_detailed(
|
|
73
73
|
def sync(
|
74
74
|
*,
|
75
75
|
client: AuthenticatedClient,
|
76
|
-
) -> Optional[
|
76
|
+
) -> Optional[list["AgentDeploymentHistory"]]:
|
77
77
|
"""Get all history for all agents
|
78
78
|
|
79
79
|
Raises:
|
@@ -81,7 +81,7 @@ def sync(
|
|
81
81
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
82
82
|
|
83
83
|
Returns:
|
84
|
-
|
84
|
+
list['AgentDeploymentHistory']
|
85
85
|
"""
|
86
86
|
|
87
87
|
return sync_detailed(
|
@@ -92,7 +92,7 @@ def sync(
|
|
92
92
|
async def asyncio_detailed(
|
93
93
|
*,
|
94
94
|
client: AuthenticatedClient,
|
95
|
-
) -> Response[
|
95
|
+
) -> Response[list["AgentDeploymentHistory"]]:
|
96
96
|
"""Get all history for all agents
|
97
97
|
|
98
98
|
Raises:
|
@@ -100,7 +100,7 @@ async def asyncio_detailed(
|
|
100
100
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
101
101
|
|
102
102
|
Returns:
|
103
|
-
Response[
|
103
|
+
Response[list['AgentDeploymentHistory']]
|
104
104
|
"""
|
105
105
|
|
106
106
|
kwargs = _get_kwargs()
|
@@ -113,7 +113,7 @@ async def asyncio_detailed(
|
|
113
113
|
async def asyncio(
|
114
114
|
*,
|
115
115
|
client: AuthenticatedClient,
|
116
|
-
) -> Optional[
|
116
|
+
) -> Optional[list["AgentDeploymentHistory"]]:
|
117
117
|
"""Get all history for all agents
|
118
118
|
|
119
119
|
Raises:
|
@@ -121,7 +121,7 @@ async def asyncio(
|
|
121
121
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
122
122
|
|
123
123
|
Returns:
|
124
|
-
|
124
|
+
list['AgentDeploymentHistory']
|
125
125
|
"""
|
126
126
|
|
127
127
|
return (
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from http import HTTPStatus
|
2
|
-
from typing import Any,
|
2
|
+
from typing import Any, Optional, Union
|
3
3
|
|
4
4
|
import httpx
|
5
5
|
|
@@ -20,7 +20,7 @@ def _get_kwargs() -> dict[str, Any]:
|
|
20
20
|
|
21
21
|
def _parse_response(
|
22
22
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
23
|
-
) -> Optional[
|
23
|
+
) -> Optional[list["IntegrationConnection"]]:
|
24
24
|
if response.status_code == 200:
|
25
25
|
response_200 = []
|
26
26
|
_response_200 = response.json()
|
@@ -38,7 +38,7 @@ def _parse_response(
|
|
38
38
|
|
39
39
|
def _build_response(
|
40
40
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
41
|
-
) -> Response[
|
41
|
+
) -> Response[list["IntegrationConnection"]]:
|
42
42
|
return Response(
|
43
43
|
status_code=HTTPStatus(response.status_code),
|
44
44
|
content=response.content,
|
@@ -50,7 +50,7 @@ def _build_response(
|
|
50
50
|
def sync_detailed(
|
51
51
|
*,
|
52
52
|
client: AuthenticatedClient,
|
53
|
-
) -> Response[
|
53
|
+
) -> Response[list["IntegrationConnection"]]:
|
54
54
|
"""List integrations connections
|
55
55
|
|
56
56
|
Returns a list of all connections integrations in the workspace.
|
@@ -60,7 +60,7 @@ def sync_detailed(
|
|
60
60
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
61
61
|
|
62
62
|
Returns:
|
63
|
-
Response[
|
63
|
+
Response[list['IntegrationConnection']]
|
64
64
|
"""
|
65
65
|
|
66
66
|
kwargs = _get_kwargs()
|
@@ -75,7 +75,7 @@ def sync_detailed(
|
|
75
75
|
def sync(
|
76
76
|
*,
|
77
77
|
client: AuthenticatedClient,
|
78
|
-
) -> Optional[
|
78
|
+
) -> Optional[list["IntegrationConnection"]]:
|
79
79
|
"""List integrations connections
|
80
80
|
|
81
81
|
Returns a list of all connections integrations in the workspace.
|
@@ -85,7 +85,7 @@ def sync(
|
|
85
85
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
86
86
|
|
87
87
|
Returns:
|
88
|
-
|
88
|
+
list['IntegrationConnection']
|
89
89
|
"""
|
90
90
|
|
91
91
|
return sync_detailed(
|
@@ -96,7 +96,7 @@ def sync(
|
|
96
96
|
async def asyncio_detailed(
|
97
97
|
*,
|
98
98
|
client: AuthenticatedClient,
|
99
|
-
) -> Response[
|
99
|
+
) -> Response[list["IntegrationConnection"]]:
|
100
100
|
"""List integrations connections
|
101
101
|
|
102
102
|
Returns a list of all connections integrations in the workspace.
|
@@ -106,7 +106,7 @@ async def asyncio_detailed(
|
|
106
106
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
107
107
|
|
108
108
|
Returns:
|
109
|
-
Response[
|
109
|
+
Response[list['IntegrationConnection']]
|
110
110
|
"""
|
111
111
|
|
112
112
|
kwargs = _get_kwargs()
|
@@ -119,7 +119,7 @@ async def asyncio_detailed(
|
|
119
119
|
async def asyncio(
|
120
120
|
*,
|
121
121
|
client: AuthenticatedClient,
|
122
|
-
) -> Optional[
|
122
|
+
) -> Optional[list["IntegrationConnection"]]:
|
123
123
|
"""List integrations connections
|
124
124
|
|
125
125
|
Returns a list of all connections integrations in the workspace.
|
@@ -129,7 +129,7 @@ async def asyncio(
|
|
129
129
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
130
130
|
|
131
131
|
Returns:
|
132
|
-
|
132
|
+
list['IntegrationConnection']
|
133
133
|
"""
|
134
134
|
|
135
135
|
return (
|