beamlit 0.0.18__py3-none-any.whl → 0.0.20__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. beamlit/agents/__init__.py +4 -0
  2. beamlit/agents/chat.py +87 -0
  3. beamlit/agents/decorator.py +147 -0
  4. beamlit/api/agents/create_agent.py +14 -9
  5. beamlit/api/agents/delete_agent_history.py +159 -0
  6. beamlit/api/agents/get_agent_deployment_logs.py +11 -11
  7. beamlit/api/{authentication_providers/list_organizations_for_authentication_provider.py → agents/get_agent_environment_logs.py} +30 -42
  8. beamlit/api/{authentication_providers/get_model_with_repo_for_authentication_provider.py → agents/get_agent_history.py} +43 -68
  9. beamlit/api/agents/list_agent_deployment_history.py +11 -11
  10. beamlit/api/agents/list_agent_deployments.py +11 -11
  11. beamlit/api/agents/list_agent_history.py +151 -0
  12. beamlit/api/agents/list_agents.py +11 -11
  13. beamlit/api/agents/put_agent_history.py +185 -0
  14. beamlit/api/agents/update_agent.py +14 -9
  15. beamlit/api/environments/list_environments.py +11 -11
  16. beamlit/api/functions/create_function.py +14 -9
  17. beamlit/api/functions/get_function_deployment_logs.py +11 -11
  18. beamlit/api/functions/get_function_environment_logs.py +151 -0
  19. beamlit/api/functions/list_function_deployments.py +11 -11
  20. beamlit/api/functions/list_functions.py +11 -11
  21. beamlit/api/functions/update_function.py +14 -9
  22. beamlit/api/history/get_agents_history.py +11 -11
  23. beamlit/api/history/list_agents_history.py +11 -11
  24. beamlit/api/integrations/create_integration_connection.py +167 -0
  25. beamlit/api/integrations/delete_integration_connection.py +158 -0
  26. beamlit/api/integrations/get_integration.py +97 -0
  27. beamlit/api/integrations/get_integration_connection.py +154 -0
  28. beamlit/api/integrations/get_integration_connection_model.py +97 -0
  29. beamlit/api/integrations/get_integration_model.py +97 -0
  30. beamlit/api/integrations/list_integration_connection_models.py +97 -0
  31. beamlit/api/integrations/list_integration_connections.py +139 -0
  32. beamlit/api/integrations/list_integration_models.py +97 -0
  33. beamlit/api/integrations/update_integration_connection.py +180 -0
  34. beamlit/api/invitations/list_all_pending_invitations.py +11 -11
  35. beamlit/api/locations/list_locations.py +11 -11
  36. beamlit/api/model_providers/list_model_providers.py +11 -11
  37. beamlit/api/models/get_model_deployment_logs.py +11 -11
  38. beamlit/api/{authentication_providers/list_models_for_authentication_provider.py → models/get_model_environment_logs.py} +30 -38
  39. beamlit/api/models/list_model_deployments.py +11 -11
  40. beamlit/api/models/list_models.py +11 -11
  41. beamlit/api/policies/list_policies.py +11 -11
  42. beamlit/api/service_accounts/get_workspace_service_accounts.py +11 -11
  43. beamlit/api/service_accounts/list_api_keys_for_service_account.py +11 -11
  44. beamlit/api/store/list_store_agents.py +11 -11
  45. beamlit/api/store/list_store_functions.py +11 -11
  46. beamlit/api/workspaces/list_workspace_users.py +11 -11
  47. beamlit/api/workspaces/list_workspaces.py +11 -11
  48. beamlit/authentication/__init__.py +29 -8
  49. beamlit/authentication/apikey.py +8 -2
  50. beamlit/authentication/authentication.py +66 -3
  51. beamlit/authentication/clientcredentials.py +108 -0
  52. beamlit/authentication/credentials.py +22 -8
  53. beamlit/authentication/device_mode.py +23 -13
  54. beamlit/common/__init__.py +13 -0
  55. beamlit/common/generate.py +183 -0
  56. beamlit/common/logger.py +29 -0
  57. beamlit/common/secrets.py +11 -0
  58. beamlit/common/settings.py +156 -0
  59. beamlit/common/utils.py +15 -0
  60. beamlit/functions/__init__.py +5 -0
  61. beamlit/functions/decorator.py +90 -0
  62. beamlit/functions/github/__init__.py +3 -0
  63. beamlit/functions/github/github.py +21 -0
  64. beamlit/functions/github/kit/__init__.py +7 -0
  65. beamlit/functions/github/kit/pull_request.py +51 -0
  66. beamlit/functions/math/__init__.py +3 -0
  67. beamlit/functions/math/math.py +40 -0
  68. beamlit/functions/search/__init__.py +3 -0
  69. beamlit/functions/search/search.py +15 -0
  70. beamlit/models/__init__.py +24 -0
  71. beamlit/models/acl.py +4 -2
  72. beamlit/models/agent.py +5 -3
  73. beamlit/models/agent_chain.py +4 -2
  74. beamlit/models/agent_configuration.py +4 -2
  75. beamlit/models/agent_deployment.py +41 -28
  76. beamlit/models/agent_deployment_configuration.py +4 -2
  77. beamlit/models/agent_deployment_configuration_type_0.py +43 -0
  78. beamlit/models/agent_deployment_history.py +7 -5
  79. beamlit/models/agent_deployment_history_event.py +11 -9
  80. beamlit/models/agent_deployment_pod_template.py +4 -2
  81. beamlit/models/agent_deployment_pod_template_type_0.py +43 -0
  82. beamlit/models/agent_history.py +165 -0
  83. beamlit/models/agent_history_event.py +131 -0
  84. beamlit/models/agent_metadata.py +144 -0
  85. beamlit/models/agent_release.py +4 -2
  86. beamlit/models/agent_spec.py +248 -0
  87. beamlit/models/agent_with_deployments.py +176 -0
  88. beamlit/models/api_key.py +4 -2
  89. beamlit/models/authentication_provider_model.py +8 -6
  90. beamlit/models/authentication_provider_organization.py +4 -2
  91. beamlit/models/configuration.py +12 -10
  92. beamlit/models/continent.py +4 -2
  93. beamlit/models/core_spec.py +185 -0
  94. beamlit/models/country.py +4 -2
  95. beamlit/models/create_api_key_for_service_account_body.py +4 -2
  96. beamlit/models/create_workspace_service_account_body.py +4 -2
  97. beamlit/models/create_workspace_service_account_response_200.py +4 -2
  98. beamlit/models/delete_workspace_service_account_response_200.py +4 -2
  99. beamlit/models/deployment_configuration.py +4 -2
  100. beamlit/models/deployment_configurations.py +22 -7
  101. beamlit/models/deployment_serverless_config.py +4 -2
  102. beamlit/models/deployment_serverless_config_type_0.py +220 -0
  103. beamlit/models/environment.py +9 -7
  104. beamlit/models/environment_metrics.py +26 -5
  105. beamlit/models/environment_spec.py +61 -0
  106. beamlit/models/flavor.py +11 -9
  107. beamlit/models/function.py +5 -3
  108. beamlit/models/function_configuration.py +4 -2
  109. beamlit/models/function_deployment.py +33 -20
  110. beamlit/models/function_deployment_configuration.py +4 -2
  111. beamlit/models/function_deployment_configuration_type_0.py +43 -0
  112. beamlit/models/function_deployment_pod_template.py +4 -2
  113. beamlit/models/function_deployment_pod_template_type_0.py +43 -0
  114. beamlit/models/function_kit.py +7 -5
  115. beamlit/models/function_metadata.py +144 -0
  116. beamlit/models/function_provider_ref.py +4 -2
  117. beamlit/models/function_release.py +4 -2
  118. beamlit/models/function_spec.py +246 -0
  119. beamlit/models/function_with_deployments.py +176 -0
  120. beamlit/models/get_workspace_service_accounts_response_200_item.py +4 -2
  121. beamlit/models/increase_and_rate_metric.py +104 -0
  122. beamlit/models/integration.py +198 -0
  123. beamlit/models/integration_config.py +45 -0
  124. beamlit/models/integration_connection.py +198 -0
  125. beamlit/models/integration_connection_config.py +45 -0
  126. beamlit/models/integration_connection_secret.py +61 -0
  127. beamlit/models/integration_connection_spec.py +99 -0
  128. beamlit/models/integration_model.py +144 -0
  129. beamlit/models/integration_secret.py +61 -0
  130. beamlit/models/invite_workspace_user_body.py +4 -2
  131. beamlit/models/labels_type_0.py +4 -2
  132. beamlit/models/location.py +7 -5
  133. beamlit/models/location_response.py +7 -5
  134. beamlit/models/metadata.py +135 -0
  135. beamlit/models/{labels.py → metadata_labels.py} +5 -5
  136. beamlit/models/metric.py +4 -2
  137. beamlit/models/metrics.py +68 -25
  138. beamlit/models/model.py +5 -3
  139. beamlit/models/model_deployment.py +27 -14
  140. beamlit/models/model_deployment_log.py +4 -2
  141. beamlit/models/model_deployment_metrics.py +11 -9
  142. beamlit/models/model_deployment_metrics_inference_per_second_per_region.py +7 -5
  143. beamlit/models/model_deployment_metrics_query_per_second_per_region_per_code.py +5 -3
  144. beamlit/models/model_deployment_pod_template.py +4 -2
  145. beamlit/models/model_deployment_pod_template_type_0.py +43 -0
  146. beamlit/models/model_metadata.py +144 -0
  147. beamlit/models/model_metrics.py +8 -6
  148. beamlit/models/model_provider.py +13 -11
  149. beamlit/models/model_provider_ref.py +4 -2
  150. beamlit/models/model_release.py +4 -2
  151. beamlit/models/model_spec.py +194 -0
  152. beamlit/models/model_with_deployments.py +8 -6
  153. beamlit/models/owner_fields.py +68 -0
  154. beamlit/models/pending_invitation.py +4 -2
  155. beamlit/models/pending_invitation_accept.py +5 -3
  156. beamlit/models/pending_invitation_render.py +7 -5
  157. beamlit/models/pending_invitation_render_invited_by.py +4 -2
  158. beamlit/models/pending_invitation_render_workspace.py +4 -2
  159. beamlit/models/pending_invitation_workspace_details.py +8 -6
  160. beamlit/models/pod_template_spec.py +43 -0
  161. beamlit/models/policy.py +22 -20
  162. beamlit/models/policy_location.py +11 -9
  163. beamlit/models/policy_spec.py +125 -0
  164. beamlit/models/provider_config.py +9 -16
  165. beamlit/models/qps.py +4 -2
  166. beamlit/models/resource_deployment_log.py +4 -2
  167. beamlit/models/resource_deployment_metrics.py +119 -9
  168. beamlit/models/resource_deployment_metrics_inference_per_region.py +77 -0
  169. beamlit/models/resource_deployment_metrics_inference_per_region_type_0.py +79 -0
  170. beamlit/models/resource_deployment_metrics_inference_per_second_per_region.py +7 -5
  171. beamlit/models/resource_deployment_metrics_inference_per_second_per_region_type_0.py +79 -0
  172. beamlit/models/resource_deployment_metrics_query_per_region_per_code.py +75 -0
  173. beamlit/models/resource_deployment_metrics_query_per_region_per_code_type_0.py +73 -0
  174. beamlit/models/resource_deployment_metrics_query_per_second_per_region_per_code.py +5 -3
  175. beamlit/models/resource_deployment_metrics_query_per_second_per_region_per_code_type_0.py +73 -0
  176. beamlit/models/resource_environment_metrics.py +210 -0
  177. beamlit/models/resource_environment_metrics_inference_per_second_per_region.py +79 -0
  178. beamlit/models/resource_environment_metrics_query_per_second_per_region_per_code.py +73 -0
  179. beamlit/models/resource_log.py +68 -0
  180. beamlit/models/resource_metrics.py +44 -6
  181. beamlit/models/runtime.py +25 -23
  182. beamlit/models/runtime_readiness_probe.py +4 -2
  183. beamlit/models/runtime_readiness_probe_type_0.py +43 -0
  184. beamlit/models/runtime_resources.py +4 -2
  185. beamlit/models/runtime_type_0.py +111 -0
  186. beamlit/models/runtime_type_0_readiness_probe.py +43 -0
  187. beamlit/models/runtime_type_0_readiness_probe_type_0.py +43 -0
  188. beamlit/models/runtime_type_0_resources.py +59 -0
  189. beamlit/models/serverless_config.py +4 -2
  190. beamlit/models/spec_configuration.py +68 -0
  191. beamlit/models/standard_fields_dynamo_db.py +4 -2
  192. beamlit/models/store_agent.py +8 -6
  193. beamlit/models/store_agent_configuration.py +4 -2
  194. beamlit/models/store_agent_labels.py +4 -2
  195. beamlit/models/store_agent_labels_type_0.py +43 -0
  196. beamlit/models/store_configuration.py +18 -16
  197. beamlit/models/store_configuration_option.py +4 -2
  198. beamlit/models/store_function.py +14 -12
  199. beamlit/models/store_function_configuration.py +4 -2
  200. beamlit/models/store_function_kit.py +7 -5
  201. beamlit/models/store_function_labels.py +4 -2
  202. beamlit/models/store_function_labels_type_0.py +43 -0
  203. beamlit/models/store_function_parameter.py +11 -9
  204. beamlit/models/time_fields.py +68 -0
  205. beamlit/models/update_workspace_service_account_body.py +4 -2
  206. beamlit/models/update_workspace_service_account_response_200.py +4 -2
  207. beamlit/models/update_workspace_user_role_body.py +4 -2
  208. beamlit/models/websocket_channel.py +86 -0
  209. beamlit/models/workspace.py +5 -3
  210. beamlit/models/workspace_labels.py +4 -2
  211. beamlit/models/workspace_user.py +4 -2
  212. beamlit/run.py +49 -0
  213. beamlit/serve/app.py +78 -0
  214. beamlit/serve/middlewares/__init__.py +4 -0
  215. beamlit/serve/middlewares/accesslog.py +14 -0
  216. beamlit/serve/middlewares/processtime.py +12 -0
  217. {beamlit-0.0.18.dist-info → beamlit-0.0.20.dist-info}/METADATA +11 -2
  218. beamlit-0.0.20.dist-info/RECORD +301 -0
  219. beamlit-0.0.18.dist-info/RECORD +0 -211
  220. /beamlit/api/{authentication_providers → integrations}/__init__.py +0 -0
  221. {beamlit-0.0.18.dist-info → beamlit-0.0.20.dist-info}/WHEEL +0 -0
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, List, Optional, Union
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[List["Policy"]]:
23
+ ) -> Optional[list["Policy"]]:
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[List["Policy"]]:
41
+ ) -> Response[list["Policy"]]:
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[List["Policy"]]:
53
+ ) -> Response[list["Policy"]]:
54
54
  """List policies
55
55
 
56
56
  Returns a list of all policies 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[List['Policy']]
63
+ Response[list['Policy']]
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[List["Policy"]]:
78
+ ) -> Optional[list["Policy"]]:
79
79
  """List policies
80
80
 
81
81
  Returns a list of all policies 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
- List['Policy']
88
+ list['Policy']
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[List["Policy"]]:
99
+ ) -> Response[list["Policy"]]:
100
100
  """List policies
101
101
 
102
102
  Returns a list of all policies 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[List['Policy']]
109
+ Response[list['Policy']]
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[List["Policy"]]:
122
+ ) -> Optional[list["Policy"]]:
123
123
  """List policies
124
124
 
125
125
  Returns a list of all policies 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
- List['Policy']
132
+ list['Policy']
133
133
  """
134
134
 
135
135
  return (
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, List, Optional, Union
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[List["GetWorkspaceServiceAccountsResponse200Item"]]:
23
+ ) -> Optional[list["GetWorkspaceServiceAccountsResponse200Item"]]:
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[List["GetWorkspaceServiceAccountsResponse200Item"]]:
41
+ ) -> Response[list["GetWorkspaceServiceAccountsResponse200Item"]]:
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[List["GetWorkspaceServiceAccountsResponse200Item"]]:
53
+ ) -> Response[list["GetWorkspaceServiceAccountsResponse200Item"]]:
54
54
  """Get workspace service accounts
55
55
 
56
56
  Returns a list of all service accounts 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[List['GetWorkspaceServiceAccountsResponse200Item']]
63
+ Response[list['GetWorkspaceServiceAccountsResponse200Item']]
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[List["GetWorkspaceServiceAccountsResponse200Item"]]:
78
+ ) -> Optional[list["GetWorkspaceServiceAccountsResponse200Item"]]:
79
79
  """Get workspace service accounts
80
80
 
81
81
  Returns a list of all service accounts 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
- List['GetWorkspaceServiceAccountsResponse200Item']
88
+ list['GetWorkspaceServiceAccountsResponse200Item']
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[List["GetWorkspaceServiceAccountsResponse200Item"]]:
99
+ ) -> Response[list["GetWorkspaceServiceAccountsResponse200Item"]]:
100
100
  """Get workspace service accounts
101
101
 
102
102
  Returns a list of all service accounts 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[List['GetWorkspaceServiceAccountsResponse200Item']]
109
+ Response[list['GetWorkspaceServiceAccountsResponse200Item']]
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[List["GetWorkspaceServiceAccountsResponse200Item"]]:
122
+ ) -> Optional[list["GetWorkspaceServiceAccountsResponse200Item"]]:
123
123
  """Get workspace service accounts
124
124
 
125
125
  Returns a list of all service accounts 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
- List['GetWorkspaceServiceAccountsResponse200Item']
132
+ list['GetWorkspaceServiceAccountsResponse200Item']
133
133
  """
134
134
 
135
135
  return (
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, List, Optional, Union
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[List["ApiKey"]]:
25
+ ) -> Optional[list["ApiKey"]]:
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[List["ApiKey"]]:
43
+ ) -> Response[list["ApiKey"]]:
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
  client_id: str,
54
54
  *,
55
55
  client: AuthenticatedClient,
56
- ) -> Response[List["ApiKey"]]:
56
+ ) -> Response[list["ApiKey"]]:
57
57
  """List API keys for service account
58
58
 
59
59
  Returns a list of all API keys for a service account.
@@ -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[List['ApiKey']]
69
+ Response[list['ApiKey']]
70
70
  """
71
71
 
72
72
  kwargs = _get_kwargs(
@@ -84,7 +84,7 @@ def sync(
84
84
  client_id: str,
85
85
  *,
86
86
  client: AuthenticatedClient,
87
- ) -> Optional[List["ApiKey"]]:
87
+ ) -> Optional[list["ApiKey"]]:
88
88
  """List API keys for service account
89
89
 
90
90
  Returns a list of all API keys for a service account.
@@ -97,7 +97,7 @@ def sync(
97
97
  httpx.TimeoutException: If the request takes longer than Client.timeout.
98
98
 
99
99
  Returns:
100
- List['ApiKey']
100
+ list['ApiKey']
101
101
  """
102
102
 
103
103
  return sync_detailed(
@@ -110,7 +110,7 @@ async def asyncio_detailed(
110
110
  client_id: str,
111
111
  *,
112
112
  client: AuthenticatedClient,
113
- ) -> Response[List["ApiKey"]]:
113
+ ) -> Response[list["ApiKey"]]:
114
114
  """List API keys for service account
115
115
 
116
116
  Returns a list of all API keys for a service account.
@@ -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[List['ApiKey']]
126
+ Response[list['ApiKey']]
127
127
  """
128
128
 
129
129
  kwargs = _get_kwargs(
@@ -139,7 +139,7 @@ async def asyncio(
139
139
  client_id: str,
140
140
  *,
141
141
  client: AuthenticatedClient,
142
- ) -> Optional[List["ApiKey"]]:
142
+ ) -> Optional[list["ApiKey"]]:
143
143
  """List API keys for service account
144
144
 
145
145
  Returns a list of all API keys for a service account.
@@ -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
- List['ApiKey']
155
+ list['ApiKey']
156
156
  """
157
157
 
158
158
  return (
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, List, Optional, Union
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[List["StoreAgent"]]:
23
+ ) -> Optional[list["StoreAgent"]]:
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[List["StoreAgent"]]:
41
+ ) -> Response[list["StoreAgent"]]:
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: Union[AuthenticatedClient, Client],
53
- ) -> Response[List["StoreAgent"]]:
53
+ ) -> Response[list["StoreAgent"]]:
54
54
  """List all store agent
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[List['StoreAgent']]
61
+ Response[list['StoreAgent']]
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: Union[AuthenticatedClient, Client],
76
- ) -> Optional[List["StoreAgent"]]:
76
+ ) -> Optional[list["StoreAgent"]]:
77
77
  """List all store agent
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
- List['StoreAgent']
84
+ list['StoreAgent']
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: Union[AuthenticatedClient, Client],
95
- ) -> Response[List["StoreAgent"]]:
95
+ ) -> Response[list["StoreAgent"]]:
96
96
  """List all store agent
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[List['StoreAgent']]
103
+ Response[list['StoreAgent']]
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: Union[AuthenticatedClient, Client],
116
- ) -> Optional[List["StoreAgent"]]:
116
+ ) -> Optional[list["StoreAgent"]]:
117
117
  """List all store agent
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
- List['StoreAgent']
124
+ list['StoreAgent']
125
125
  """
126
126
 
127
127
  return (
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, List, Optional, Union
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[List["StoreFunction"]]:
23
+ ) -> Optional[list["StoreFunction"]]:
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[List["StoreFunction"]]:
41
+ ) -> Response[list["StoreFunction"]]:
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: Union[AuthenticatedClient, Client],
53
- ) -> Response[List["StoreFunction"]]:
53
+ ) -> Response[list["StoreFunction"]]:
54
54
  """List all store agent 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[List['StoreFunction']]
61
+ Response[list['StoreFunction']]
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: Union[AuthenticatedClient, Client],
76
- ) -> Optional[List["StoreFunction"]]:
76
+ ) -> Optional[list["StoreFunction"]]:
77
77
  """List all store agent 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
- List['StoreFunction']
84
+ list['StoreFunction']
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: Union[AuthenticatedClient, Client],
95
- ) -> Response[List["StoreFunction"]]:
95
+ ) -> Response[list["StoreFunction"]]:
96
96
  """List all store agent 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[List['StoreFunction']]
103
+ Response[list['StoreFunction']]
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: Union[AuthenticatedClient, Client],
116
- ) -> Optional[List["StoreFunction"]]:
116
+ ) -> Optional[list["StoreFunction"]]:
117
117
  """List all store agent 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
- List['StoreFunction']
124
+ list['StoreFunction']
125
125
  """
126
126
 
127
127
  return (
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, List, Optional, Union
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[List["WorkspaceUser"]]:
23
+ ) -> Optional[list["WorkspaceUser"]]:
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[List["WorkspaceUser"]]:
41
+ ) -> Response[list["WorkspaceUser"]]:
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[List["WorkspaceUser"]]:
53
+ ) -> Response[list["WorkspaceUser"]]:
54
54
  """List users in workspace
55
55
 
56
56
  Returns a list of all users 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[List['WorkspaceUser']]
63
+ Response[list['WorkspaceUser']]
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[List["WorkspaceUser"]]:
78
+ ) -> Optional[list["WorkspaceUser"]]:
79
79
  """List users in workspace
80
80
 
81
81
  Returns a list of all users 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
- List['WorkspaceUser']
88
+ list['WorkspaceUser']
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[List["WorkspaceUser"]]:
99
+ ) -> Response[list["WorkspaceUser"]]:
100
100
  """List users in workspace
101
101
 
102
102
  Returns a list of all users 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[List['WorkspaceUser']]
109
+ Response[list['WorkspaceUser']]
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[List["WorkspaceUser"]]:
122
+ ) -> Optional[list["WorkspaceUser"]]:
123
123
  """List users in workspace
124
124
 
125
125
  Returns a list of all users 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
- List['WorkspaceUser']
132
+ list['WorkspaceUser']
133
133
  """
134
134
 
135
135
  return (
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, List, Optional, Union
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[List["Workspace"]]:
23
+ ) -> Optional[list["Workspace"]]:
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[List["Workspace"]]:
41
+ ) -> Response[list["Workspace"]]:
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[List["Workspace"]]:
53
+ ) -> Response[list["Workspace"]]:
54
54
  """List workspaces
55
55
 
56
56
  Returns a list of all workspaces.
@@ -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[List['Workspace']]
63
+ Response[list['Workspace']]
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[List["Workspace"]]:
78
+ ) -> Optional[list["Workspace"]]:
79
79
  """List workspaces
80
80
 
81
81
  Returns a list of all workspaces.
@@ -85,7 +85,7 @@ def sync(
85
85
  httpx.TimeoutException: If the request takes longer than Client.timeout.
86
86
 
87
87
  Returns:
88
- List['Workspace']
88
+ list['Workspace']
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[List["Workspace"]]:
99
+ ) -> Response[list["Workspace"]]:
100
100
  """List workspaces
101
101
 
102
102
  Returns a list of all workspaces.
@@ -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[List['Workspace']]
109
+ Response[list['Workspace']]
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[List["Workspace"]]:
122
+ ) -> Optional[list["Workspace"]]:
123
123
  """List workspaces
124
124
 
125
125
  Returns a list of all workspaces.
@@ -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
- List['Workspace']
132
+ list['Workspace']
133
133
  """
134
134
 
135
135
  return (