beamlit 0.0.47rc93__py3-none-any.whl → 0.0.48__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.
- beamlit/agents/decorator.py +3 -3
- beamlit/api/{model_providers/delete_model_provider.py → accounts/delete_account.py} +42 -35
- beamlit/api/{model_providers/get_model_provider.py → accounts/get_account.py} +34 -34
- beamlit/api/{model_providers/list_model_providers.py → accounts/list_accounts.py} +21 -21
- beamlit/api/{model_providers/update_model_provider.py → accounts/update_account.py} +43 -43
- beamlit/api/agents/get_agent_metrics.py +12 -12
- beamlit/api/{model_providers/create_model_provider.py → default/create_account.py} +30 -30
- beamlit/api/functions/get_function_metrics.py +12 -12
- beamlit/api/models/get_model_metrics.py +12 -12
- beamlit/functions/common.py +0 -1
- beamlit/functions/mcp/mcp.py +3 -2
- beamlit/models/__init__.py +16 -30
- beamlit/models/{model_metadata.py → account.py} +93 -15
- beamlit/models/{agent_metadata.py → account_metadata.py} +16 -41
- beamlit/models/account_spec.py +123 -0
- beamlit/models/{agent_render.py → account_spec_address.py} +6 -6
- beamlit/models/agent.py +6 -2
- beamlit/models/agent_spec.py +30 -6
- beamlit/models/billing_address.py +133 -0
- beamlit/models/core_spec.py +27 -5
- beamlit/models/core_spec_configurations.py +3 -1
- beamlit/models/environment.py +6 -2
- beamlit/models/environment_metadata.py +3 -1
- beamlit/models/function.py +6 -2
- beamlit/models/function_spec.py +27 -5
- beamlit/models/integration_connection.py +6 -2
- beamlit/models/integration_connection_spec.py +18 -14
- beamlit/models/{function_render.py → integration_connection_spec_config.py} +6 -6
- beamlit/models/{core_status.py → integration_connection_spec_secret.py} +6 -6
- beamlit/models/latency_metric.py +24 -4
- beamlit/models/metadata.py +3 -1
- beamlit/models/metrics.py +13 -3
- beamlit/models/model.py +6 -2
- beamlit/models/model_spec.py +27 -5
- beamlit/models/pending_invitation_accept.py +3 -1
- beamlit/models/pending_invitation_render.py +13 -3
- beamlit/models/policy.py +6 -2
- beamlit/models/policy_max_tokens.py +106 -0
- beamlit/models/policy_spec.py +30 -0
- beamlit/models/request_duration_over_time_metrics.py +7 -1
- beamlit/models/request_total_by_origin_metric.py +14 -2
- beamlit/models/request_total_metric.py +10 -2
- beamlit/models/resource_environment_metrics.py +33 -7
- beamlit/models/resource_log.py +9 -0
- beamlit/models/runtime.py +10 -2
- beamlit/models/store_agent.py +3 -1
- beamlit/models/store_function.py +3 -1
- beamlit/models/token_rate_metrics.py +17 -3
- beamlit/models/trace_ids_response.py +3 -21
- beamlit/models/workspace.py +12 -1
- {beamlit-0.0.47rc93.dist-info → beamlit-0.0.48.dist-info}/METADATA +1 -1
- {beamlit-0.0.47rc93.dist-info → beamlit-0.0.48.dist-info}/RECORD +55 -70
- beamlit/models/function_metadata.py +0 -146
- beamlit/models/increase_and_rate_metric.py +0 -61
- beamlit/models/integration_config.py +0 -45
- beamlit/models/integration_connection_config.py +0 -45
- beamlit/models/integration_connection_secret.py +0 -61
- beamlit/models/model_provider.py +0 -173
- beamlit/models/model_render.py +0 -45
- beamlit/models/provider_config.py +0 -94
- beamlit/models/qps.py +0 -61
- beamlit/models/repository_type_0.py +0 -70
- beamlit/models/resource_deployment_metrics.py +0 -176
- beamlit/models/resource_deployment_metrics_inference_per_second_per_region.py +0 -77
- beamlit/models/resource_deployment_metrics_query_per_second_per_region_per_code.py +0 -75
- beamlit/models/resource_environment_metrics_inference_per_region.py +0 -77
- beamlit/models/resource_environment_metrics_inference_per_second_per_region.py +0 -77
- beamlit/models/resource_environment_metrics_query_per_region_per_code.py +0 -75
- beamlit/models/resource_environment_metrics_query_per_second_per_region_per_code.py +0 -75
- beamlit/models/resource_metrics.py +0 -96
- /beamlit/api/{model_providers → accounts}/__init__.py +0 -0
- {beamlit-0.0.47rc93.dist-info → beamlit-0.0.48.dist-info}/WHEEL +0 -0
- {beamlit-0.0.47rc93.dist-info → beamlit-0.0.48.dist-info}/licenses/LICENSE +0 -0
beamlit/models/workspace.py
CHANGED
@@ -21,6 +21,7 @@ class Workspace:
|
|
21
21
|
updated_at (Union[Unset, str]): The date and time when the resource was updated
|
22
22
|
created_by (Union[Unset, str]): The user or service account who created the resource
|
23
23
|
updated_by (Union[Unset, str]): The user or service account who updated the resource
|
24
|
+
account_id (Union[Unset, str]): Workspace account id
|
24
25
|
display_name (Union[Unset, str]): Workspace display name
|
25
26
|
labels (Union[Unset, WorkspaceLabels]): Workspace labels
|
26
27
|
name (Union[Unset, str]): Workspace name
|
@@ -32,6 +33,7 @@ class Workspace:
|
|
32
33
|
updated_at: Union[Unset, str] = UNSET
|
33
34
|
created_by: Union[Unset, str] = UNSET
|
34
35
|
updated_by: Union[Unset, str] = UNSET
|
36
|
+
account_id: Union[Unset, str] = UNSET
|
35
37
|
display_name: Union[Unset, str] = UNSET
|
36
38
|
labels: Union[Unset, "WorkspaceLabels"] = UNSET
|
37
39
|
name: Union[Unset, str] = UNSET
|
@@ -48,11 +50,15 @@ class Workspace:
|
|
48
50
|
|
49
51
|
updated_by = self.updated_by
|
50
52
|
|
53
|
+
account_id = self.account_id
|
54
|
+
|
51
55
|
display_name = self.display_name
|
52
56
|
|
53
57
|
labels: Union[Unset, dict[str, Any]] = UNSET
|
54
|
-
if self.labels and not isinstance(self.labels, Unset):
|
58
|
+
if self.labels and not isinstance(self.labels, Unset) and not isinstance(self.labels, dict):
|
55
59
|
labels = self.labels.to_dict()
|
60
|
+
elif self.labels and isinstance(self.labels, dict):
|
61
|
+
labels = self.labels
|
56
62
|
|
57
63
|
name = self.name
|
58
64
|
|
@@ -71,6 +77,8 @@ class Workspace:
|
|
71
77
|
field_dict["createdBy"] = created_by
|
72
78
|
if updated_by is not UNSET:
|
73
79
|
field_dict["updatedBy"] = updated_by
|
80
|
+
if account_id is not UNSET:
|
81
|
+
field_dict["accountId"] = account_id
|
74
82
|
if display_name is not UNSET:
|
75
83
|
field_dict["displayName"] = display_name
|
76
84
|
if labels is not UNSET:
|
@@ -99,6 +107,8 @@ class Workspace:
|
|
99
107
|
|
100
108
|
updated_by = d.pop("updatedBy", UNSET)
|
101
109
|
|
110
|
+
account_id = d.pop("accountId", UNSET)
|
111
|
+
|
102
112
|
display_name = d.pop("displayName", UNSET)
|
103
113
|
|
104
114
|
_labels = d.pop("labels", UNSET)
|
@@ -119,6 +129,7 @@ class Workspace:
|
|
119
129
|
updated_at=updated_at,
|
120
130
|
created_by=created_by,
|
121
131
|
updated_by=updated_by,
|
132
|
+
account_id=account_id,
|
122
133
|
display_name=display_name,
|
123
134
|
labels=labels,
|
124
135
|
name=name,
|
@@ -7,9 +7,14 @@ beamlit/types.py,sha256=E1hhDh_zXfsSQ0NCt9-uw90_Mr5iIlsdfnfvxv5HarU,1005
|
|
7
7
|
beamlit/agents/__init__.py,sha256=bWsFaXUbAps3IsL3Prti89m1s714vICXodbQi77h3vY,206
|
8
8
|
beamlit/agents/chain.py,sha256=vfCjiFHuu02uTTGicxMlFzjyICQkIjpXrBGs-7uJEsg,2826
|
9
9
|
beamlit/agents/chat.py,sha256=4R_mKeGvVXluQ5r-pnN3YaqhE3lFuetyos4zUBLnLnE,5510
|
10
|
-
beamlit/agents/decorator.py,sha256=
|
10
|
+
beamlit/agents/decorator.py,sha256=3-89dnk23l7M0Hxh---3pqVkiVDcAeFw9FLgBgSGDVQ,6358
|
11
11
|
beamlit/agents/thread.py,sha256=LN5Ss-uOf5_hdB0WV1dqpn-N-pDJB3C2hUvlCzdqtdk,519
|
12
12
|
beamlit/api/__init__.py,sha256=zTSiG_ujSjAqWPyc435YXaX9XTlpMjiJWBbV-f-YtdA,45
|
13
|
+
beamlit/api/accounts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
|
+
beamlit/api/accounts/delete_account.py,sha256=Mrbhuxl1IF1GDclSixIAvj3YHa7trlFg3JNmllqpBRA,3864
|
15
|
+
beamlit/api/accounts/get_account.py,sha256=_H0IQUlUFuA92WrYDpCmXjsJIzuVqa3oTwtNqMvM7Gg,3640
|
16
|
+
beamlit/api/accounts/list_accounts.py,sha256=rg55vATS7416ECC3ZrSJxXOif2sMwoqQXLt9FQuxv3o,3505
|
17
|
+
beamlit/api/accounts/update_account.py,sha256=1iO87kO87zjy4qlEyHTPmBMGU6vPIj_TVy4Z7UrnHb4,4103
|
13
18
|
beamlit/api/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
19
|
beamlit/api/agents/create_agent.py,sha256=t5Pr62My2EhQlcIY71MrI73-0_q5Djr3a_Ybt9MIiQQ,3587
|
15
20
|
beamlit/api/agents/create_agent_release.py,sha256=cH_GLiSFyMblwN0tayVPugwyGNMVReoahYRF85moGeY,3685
|
@@ -18,7 +23,7 @@ beamlit/api/agents/delete_agent_history.py,sha256=P8yzKwx1NRMqoQZUSbBla0ufVP5qrm
|
|
18
23
|
beamlit/api/agents/get_agent.py,sha256=IBMiNb36CyNKKyW-RvMSakmOaGrP2hSm3HRa_Gm_ce4,4193
|
19
24
|
beamlit/api/agents/get_agent_environment_logs.py,sha256=Fdd_mvlJXO17BQHbnl0YpUbXcX-1BsuZI2WKz6cgacA,3759
|
20
25
|
beamlit/api/agents/get_agent_history.py,sha256=sDKZQhul8wrSbuRY8WNI6jRNYgFcYtCnaU2fgR1owM8,3846
|
21
|
-
beamlit/api/agents/get_agent_metrics.py,sha256=
|
26
|
+
beamlit/api/agents/get_agent_metrics.py,sha256=PgDn_qhHsxMm5TqyXxzkwPay2klqe3NKugtg4mJX9vc,4488
|
22
27
|
beamlit/api/agents/get_agent_trace_ids.py,sha256=nCYXzCCmu8VXeLvPRX8Rc6N2JKMLVTTObbKtiCOzIg0,4365
|
23
28
|
beamlit/api/agents/list_agent_history.py,sha256=ZMTG5PSSkfd4OLmVHDIvDZy13bElrhQivF7QtBDLK9w,3775
|
24
29
|
beamlit/api/agents/list_agents.py,sha256=d6j_LM-8--2nfTHFjueRkoimHf02RRMAOWTpt8anJGg,4101
|
@@ -27,6 +32,7 @@ beamlit/api/agents/update_agent.py,sha256=No9iJkjUFJBCHDth1_vpuDfl2Ev3us1OWHXrrR
|
|
27
32
|
beamlit/api/configurations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
28
33
|
beamlit/api/configurations/get_configuration.py,sha256=BtazLwvVe1OGjt0dJ-NVVipqAqZt1HwemWTGK2iuN9w,3197
|
29
34
|
beamlit/api/default/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
35
|
+
beamlit/api/default/create_account.py,sha256=NJgrP9BPHVFpUELj2r-BkrQDpsYs-xPN1zXi9_YzZ9Q,3721
|
30
36
|
beamlit/api/default/get_trace.py,sha256=2x-qpeu8jpfbq_c4-aAHgliwBQfagLEWEgM77eB_ZiY,3621
|
31
37
|
beamlit/api/default/get_trace_ids.py,sha256=qxT085F7pt4GI0Ir7fpFA19IIR9_NFy47fYL9bPAtJo,6712
|
32
38
|
beamlit/api/default/get_trace_logs.py,sha256=R69_j9GFAwkujsNMp4VTxoZuzw8jFni56l0bRxACT4w,4770
|
@@ -43,7 +49,7 @@ beamlit/api/functions/create_function_release.py,sha256=ryPDVSlRadngh_F_6pl9WE_n
|
|
43
49
|
beamlit/api/functions/delete_function.py,sha256=dzCBAL50Yg18bDUpcC1COjwFstnfBpqtpHBi5uLF_YY,4143
|
44
50
|
beamlit/api/functions/get_function.py,sha256=U4dXy47eKQh7spED7hyyHOepj6bU2U6QFJ0a2RS2y_8,4301
|
45
51
|
beamlit/api/functions/get_function_environment_logs.py,sha256=Ia7bDcx8k7qCBhxsm8jdDSbYGKwdTDYhkAcgv25Zz-o,3816
|
46
|
-
beamlit/api/functions/get_function_metrics.py,sha256=
|
52
|
+
beamlit/api/functions/get_function_metrics.py,sha256=Iai9gpOVOudpM0trO6JePbByS3s5gErBXZfnscNNjeo,4557
|
47
53
|
beamlit/api/functions/get_function_trace_ids.py,sha256=Sz0DNr7K7z0Qzs9wJ8KYb7C8_vZj1aqoFk38MRYC_Xw,4434
|
48
54
|
beamlit/api/functions/list_functions.py,sha256=Z9PaBzpRCv4cfEMSiBaVLnKzRoWCBys4jOXXBWOzEU8,4167
|
49
55
|
beamlit/api/functions/update_function.py,sha256=sH-Oy2epz-X-59_eDnazzeeUsZMVNqG5J8VPe6nYJkg,4084
|
@@ -67,18 +73,12 @@ beamlit/api/locations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
67
73
|
beamlit/api/locations/list_locations.py,sha256=6hu06Yt8ky_xPk9BRbN3Y749J0qDfVnVSbX5IwRWF8I,3720
|
68
74
|
beamlit/api/metrics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
69
75
|
beamlit/api/metrics/get_metrics.py,sha256=5U6B1lmkZjKVMjB82QkocEQddQwz402tkMH0TdLU7QM,3349
|
70
|
-
beamlit/api/model_providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
71
|
-
beamlit/api/model_providers/create_model_provider.py,sha256=R_oC8B4bhim_wp3XZHFJFXraNslGirZcb2UwQUj5Yks,3929
|
72
|
-
beamlit/api/model_providers/delete_model_provider.py,sha256=eWEAKWN8cOmhWE4k7GA-7Co4gayvJst2SE7raBA3K0Y,3907
|
73
|
-
beamlit/api/model_providers/get_model_provider.py,sha256=lxRpWF99CPjNJuJsyFU57zBL2Ie40fbz-xj_ugmAkM4,3892
|
74
|
-
beamlit/api/model_providers/list_model_providers.py,sha256=2O267LCZM_joX1QEw9aS73HBOEPjja-4_rlWlvTnSbA,3703
|
75
|
-
beamlit/api/model_providers/update_model_provider.py,sha256=awnLZIrFTzDrEGX65Rzt0ksSsTORJlT1GgofFgFfNSo,4465
|
76
76
|
beamlit/api/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
77
77
|
beamlit/api/models/create_model.py,sha256=OvLUKnw6ugU5eBFW9Ysw1DG1ySrryiW0RrO0ncP8LzU,4103
|
78
78
|
beamlit/api/models/delete_model.py,sha256=4uENeuBKoIooCfniM1uZFjScqgHzlEDxl7aLjAOruLg,4127
|
79
79
|
beamlit/api/models/get_model.py,sha256=sTE7fGpJ91svBMSKy7PGySqSOVy5g1YH3oHjhWbMr9s,4285
|
80
80
|
beamlit/api/models/get_model_environment_logs.py,sha256=Xi4c3I0y7y_JbqUDeZEH64oLom9DZ1Uk735j47QvDT0,3939
|
81
|
-
beamlit/api/models/get_model_metrics.py,sha256=
|
81
|
+
beamlit/api/models/get_model_metrics.py,sha256=_btrC-Pb7Ly1dnzfoB00794zVfEc6goGTVjTCNmACw8,4660
|
82
82
|
beamlit/api/models/get_model_trace_ids.py,sha256=xIUVeVf3oa1j8m3x7PO58bB3P3y_5mskKEOpWeJteIk,4365
|
83
83
|
beamlit/api/models/list_models.py,sha256=Keqg_qyTTGB-aJNA6JiMGnLdNwUSLIkzr08sdhhXxo4,4297
|
84
84
|
beamlit/api/models/release_model.py,sha256=ik1HHjOUVnaVJEvbbSS1ByQ2TMzkkUbNiGUXmlTiwBo,3893
|
@@ -143,142 +143,127 @@ beamlit/deploy/deploy.py,sha256=J5VvXWeyIyz6CWy2ctld28T7sVfas-kiJZ1nx6Zw7t0,1037
|
|
143
143
|
beamlit/deploy/format.py,sha256=U6UZEFAYLnGJJ7O2YmSdlUUFhnWNGAv6NZ-DW4KTgvI,2049
|
144
144
|
beamlit/deploy/parser.py,sha256=Ga0poCZkoRnuTw082QnTcNGCBJncoRAnVsn8-1FsaJE,6907
|
145
145
|
beamlit/functions/__init__.py,sha256=oejZ6GVd4-2kGKsOwRUq1u2AuSyrrn9kWIuH6WxMqhE,189
|
146
|
-
beamlit/functions/common.py,sha256=
|
146
|
+
beamlit/functions/common.py,sha256=MAc3A_dTupWRgxRX_kd45ObxD8_xURSWGIyd_YW5Qdo,7219
|
147
147
|
beamlit/functions/decorator.py,sha256=ZtSQsPLI70WKwi2jPhA7DaqREQUINpqt9BDVugeV_sg,1714
|
148
|
-
beamlit/functions/mcp/mcp.py,sha256=
|
148
|
+
beamlit/functions/mcp/mcp.py,sha256=33LBQXeap-PPLHj3la46FAwKGsoJoRe3FdA6CXEXk24,4863
|
149
149
|
beamlit/functions/remote/remote.py,sha256=pY7gsmonkH8iN1anscMIWX-tW__OaBw14bodSUy1lCE,4845
|
150
|
-
beamlit/models/__init__.py,sha256=
|
150
|
+
beamlit/models/__init__.py,sha256=ZAcQKwcTj25TEBiCdtU6O42PGEAcZGAbEQx1ixp71Ck,9033
|
151
|
+
beamlit/models/account.py,sha256=A8A1nkT-CfkeDIMhQctAnSvVagM9by3S3LfP7QqTAag,7184
|
152
|
+
beamlit/models/account_metadata.py,sha256=SnJxJCJJSH5DGGO3uKsPUWxbi0TXicq0MucpaYuaG_Y,3785
|
153
|
+
beamlit/models/account_spec.py,sha256=2j2r6HMKLZBH9-H2m6lRmADrcLExin62JysEP8LiTwk,3672
|
154
|
+
beamlit/models/account_spec_address.py,sha256=B7ZiP2mWJxZyFfAcScYV6_YYWLGIi9U5dDinNhdViLw,1263
|
151
155
|
beamlit/models/acl.py,sha256=tH67gsl_BMaviSbTaaIkO1g9cWZgJ6VgAnYVjQSzGZY,3952
|
152
|
-
beamlit/models/agent.py,sha256=
|
156
|
+
beamlit/models/agent.py,sha256=pkFemfg0OUAuiqebiT3PurXhjAKvgCa_YOPuyqFVE2o,4264
|
153
157
|
beamlit/models/agent_chain.py,sha256=8PN8wVSayS-LoBN2nahZsOmr6r3t62H_LPDK_8fnkM8,2255
|
154
158
|
beamlit/models/agent_history.py,sha256=76ZHoaz7oq3-2ikNQj25NmzyXOzx5JIPxOlfUyljRQg,5124
|
155
159
|
beamlit/models/agent_history_event.py,sha256=Ed_xaedwLEPNuM807Ldj5xqUBj4Eua9NqpCzpTRi0Og,3820
|
156
|
-
beamlit/models/agent_metadata.py,sha256=61A7i-2lfQrozV3Be2nRfGO-K1vch7FYDdWzt_Cr3oo,4606
|
157
160
|
beamlit/models/agent_release.py,sha256=AXtHX_Ze7cMh2tKnRw2usRWnLf2B9u_iFPTF6WYdJLM,1928
|
158
|
-
beamlit/models/
|
159
|
-
beamlit/models/agent_spec.py,sha256=DXX42C1t295Skb0U-13Bs-R6VKKsX0I8kpsGELrblF4,11427
|
161
|
+
beamlit/models/agent_spec.py,sha256=DDOkgjbKA8XHNIgZH0Sajm5xKYFlX1XdDVJczhUN17g,12557
|
160
162
|
beamlit/models/api_key.py,sha256=oKuqDF0xe2Z2-6yJqulbzlXEQyM3W7lvQn6FXCktaaU,4278
|
163
|
+
beamlit/models/billing_address.py,sha256=B4u5bZzBH7LLelRGTDjCWL9vJjK3FBcba14RctqYLx4,3844
|
161
164
|
beamlit/models/configuration.py,sha256=KujTXl7iihrPcL0jX0hgxN0xAAwMgJsTaFKcMBpCVLs,2761
|
162
165
|
beamlit/models/continent.py,sha256=_gQJci2_MUmCiGGG4iCMnUDTww9OqcTsNVqwPVigy3U,1880
|
163
166
|
beamlit/models/core_event.py,sha256=L9GQh2rRPM1RC042IUJHEazha1gHqdNb9XN44zjawSs,2321
|
164
|
-
beamlit/models/core_spec.py,sha256=
|
165
|
-
beamlit/models/core_spec_configurations.py,sha256=
|
166
|
-
beamlit/models/core_status.py,sha256=nCxzTiQxaRzA084NrU1srY2Du-nio59sXxxXCHjzBak,1216
|
167
|
+
beamlit/models/core_spec.py,sha256=Wtn-ZstQQ7vfCQiLfJvkF8yrhAaPZvn7Zy_JQTtMPKo,9311
|
168
|
+
beamlit/models/core_spec_configurations.py,sha256=XBGf5Y3UGei9ZixWi2bf0sHb50wQbzX3KTmM6y2QF04,2339
|
167
169
|
beamlit/models/country.py,sha256=IYUZ6ErVduc3vmB01UEN8nIi6h5htupqFvyhRqEmKW4,1870
|
168
170
|
beamlit/models/create_api_key_for_service_account_body.py,sha256=_D6aHXfZP8ksJeFlP-vEd5kEUuQAvofkaq5_N8ej_XM,2005
|
169
171
|
beamlit/models/create_workspace_service_account_body.py,sha256=UHKYL3MSfVGMj4CNw0CzCsjnxdOxdnw6D8ujPrc76Xw,1958
|
170
172
|
beamlit/models/create_workspace_service_account_response_200.py,sha256=qYHg4tbUWJWpFrSFS1pKFeBNidgwfRb2QoP_gV99dMM,3349
|
171
173
|
beamlit/models/delete_workspace_service_account_response_200.py,sha256=wJt9T1kkoiDpMq5pE9uTZhXgeTqC0ZaTB51YBPBKo0M,2968
|
172
|
-
beamlit/models/environment.py,sha256=
|
173
|
-
beamlit/models/environment_metadata.py,sha256=
|
174
|
+
beamlit/models/environment.py,sha256=6UcPrcgWZ2p9zflPF1wy7uY8wkUvZqOofDRgoGTyi4E,3108
|
175
|
+
beamlit/models/environment_metadata.py,sha256=JUf9FCc7ewvFT2W0Psa4TIHgUBwePZbPps9FTF3zEbk,4773
|
174
176
|
beamlit/models/environment_metrics.py,sha256=OdFB97SfNmAQ7u9PNcE3AaFOzzqAW_WTrBSPf3hJzjs,2556
|
175
177
|
beamlit/models/environment_spec.py,sha256=zMgRdzew74oADGb2LxkPhtf5mHBfrsUyvCuBBxbKM14,1763
|
176
178
|
beamlit/models/flavor.py,sha256=aJDHv9-KiLykalXgs6J6dor1YtewLwOBTztkHdEaMSs,1835
|
177
|
-
beamlit/models/function.py,sha256=
|
179
|
+
beamlit/models/function.py,sha256=EBs1ZoL9my3z5TMshtAhKsrEODqSiiue8nJCgZKYTCI,4312
|
178
180
|
beamlit/models/function_kit.py,sha256=VrwV4EOrEqs8QgyaI7MyevRCCt2fhsTkOzfQVWXojt0,3101
|
179
|
-
beamlit/models/function_metadata.py,sha256=cfx10NiqQY4VlQUyl8fH2-kiWpVmOmi8rZhepan2SrQ,4624
|
180
181
|
beamlit/models/function_release.py,sha256=T8SuLZBBdgGDvUg3sVluocvrKTvNxzZ6Wq3kjK4lYk4,1955
|
181
|
-
beamlit/models/
|
182
|
-
beamlit/models/function_spec.py,sha256=LbRF-JwTLuaRKZbu1ZiRDc1js6UAES4BfpIfJtD0vsE,10840
|
182
|
+
beamlit/models/function_spec.py,sha256=8G4Vz-ADhrEhrrhmdWuB-ChAavTtN3eNXG0fKqfn2uk,11819
|
183
183
|
beamlit/models/get_trace_ids_response_200.py,sha256=m2uE11a9wE5c7xPTDVd4CuubQc2cPYJNaYpbcj-V1rU,1275
|
184
184
|
beamlit/models/get_trace_logs_response_200.py,sha256=NIFtg8qcE26_oJxoRYkt1KSV2JSYUxdUu45Gxs0Qli0,1280
|
185
185
|
beamlit/models/get_trace_response_200.py,sha256=1QePQMknfEP7DjPXb3ulf6v17430R_MJ4SPovdYK0NI,1257
|
186
186
|
beamlit/models/get_workspace_service_accounts_response_200_item.py,sha256=ATEojS0VhRmL6a9JPWT3-fl3plosONbIWa5Jpoe4Pag,2981
|
187
187
|
beamlit/models/histogram_bucket.py,sha256=d80wa8ksfi4bwPQiEN9s5IArkgc8jSfZwOAEFDZOTBk,2055
|
188
188
|
beamlit/models/histogram_stats.py,sha256=CJMkvEhzeF8YuxQu9ZF3Ft8qoMIDyWB7fXEej6z4SXY,2342
|
189
|
-
beamlit/models/
|
190
|
-
beamlit/models/
|
191
|
-
beamlit/models/
|
192
|
-
beamlit/models/
|
193
|
-
beamlit/models/integration_connection_secret.py,sha256=Fj_FDF7K5_cpmU3KFXbSwzgsExpujQ0OrD69YYCrpmM,1707
|
194
|
-
beamlit/models/integration_connection_spec.py,sha256=U5P0McbgFM2JCt4N1fnGpiwmGm_Qg38bB9XZSpTKpfg,3691
|
189
|
+
beamlit/models/integration_connection.py,sha256=w3FZOQTDFqPVMEiXcL5NeLVp_uvIFpa72TijZbdqLkw,3162
|
190
|
+
beamlit/models/integration_connection_spec.py,sha256=p0YvnqdAXNDg4mR5hiT8WYr4kCJkMnOG8EokVw2ERMU,4047
|
191
|
+
beamlit/models/integration_connection_spec_config.py,sha256=D-MuemiNwD6jhs-hsvGdazKuzB2akg1O7Mdro1g59pY,1360
|
192
|
+
beamlit/models/integration_connection_spec_secret.py,sha256=UJCjioPQ6gHh5tbq1V2uKvWtQa0_YmmhhaiQoPDL274,1334
|
195
193
|
beamlit/models/integration_model.py,sha256=gW6folMKJsIScQsV0IT5nQpO2sKzQb6d3E9fw4W4RIY,4469
|
196
194
|
beamlit/models/integration_repository.py,sha256=Ac5c_UBdlUHvGflvCzqA5gXzX1_YEDHz3yBgMCGqqDg,2397
|
197
195
|
beamlit/models/invite_workspace_user_body.py,sha256=ITmKPCuOGKTHn4VjnZ2EjIj6PGPoGh-M_rzgo0VMgNM,1612
|
198
196
|
beamlit/models/last_n_requests_metric.py,sha256=BYaEhJAeoGE-NtdlT7EkUSkaNManeCsXeVryOcKH57s,2544
|
199
|
-
beamlit/models/latency_metric.py,sha256=
|
197
|
+
beamlit/models/latency_metric.py,sha256=8-iz4JaxqI0Mi0a51A9ey_9yGS8gh2yoO_GJKnaAWJU,5527
|
200
198
|
beamlit/models/location_response.py,sha256=Tvs5CdgyB7sPvogk4clT9jMJQa63Ivt3iIEfRP9UcKA,3388
|
201
|
-
beamlit/models/metadata.py,sha256=
|
199
|
+
beamlit/models/metadata.py,sha256=kUrFB-DMTb7eRMDANjBvzJeQ67GjqQ2yN6J4gGN34rA,4385
|
202
200
|
beamlit/models/metadata_labels.py,sha256=HA_fKLmJBlJlPfQKmWqZvckUpQhmMSBW9X7F4KZJ4-8,1231
|
203
201
|
beamlit/models/metric.py,sha256=-XUIUtDu4OTH55kJuNVPBiNsp3F-iQRM1Nv5d0QxPP4,2157
|
204
|
-
beamlit/models/metrics.py,sha256=
|
202
|
+
beamlit/models/metrics.py,sha256=2YM7c1fKEVCTV3dutXWm8fScxF9Ke-j6wRKFyyo1kak,6448
|
205
203
|
beamlit/models/metrics_models.py,sha256=efxsNsedpUR8sywmcGwf89zSeF9Nctd0Qt6FPwKQdqU,1238
|
206
204
|
beamlit/models/metrics_request_total_per_code.py,sha256=PT5Zfn4CPXpP-mGtJMzDQ0LIVnVZVehWf6lER8IxG2Q,1348
|
207
205
|
beamlit/models/metrics_rps_per_code.py,sha256=CBhe8-hqpsK3lS4KepgqveAlnJRtjANoYnfXFU2lulE,1311
|
208
|
-
beamlit/models/model.py,sha256=
|
209
|
-
beamlit/models/model_metadata.py,sha256=W6uJGI_Uu0UPt_dOm2xzXqUS6NxNtsRWyhw7IVOMXA4,4606
|
206
|
+
beamlit/models/model.py,sha256=wATVQPhQy8LLtRd2MlmWF0gt21ZoGadOwPhNPajvYiY,4366
|
210
207
|
beamlit/models/model_private_cluster.py,sha256=EojXwmxgDLogsUlTDRw9PvhiQVk_b5nQUSBbWQosQpg,2281
|
211
|
-
beamlit/models/model_provider.py,sha256=iqvS1c9GE2u58QttSlATqTIOf-EuN9CtljWqTwHdTpU,5562
|
212
208
|
beamlit/models/model_release.py,sha256=ql8EDbKc9--kre7zp3o5_XoJjpAoXrsgJdYbjYST4vs,1928
|
213
|
-
beamlit/models/
|
214
|
-
beamlit/models/model_spec.py,sha256=nXjlaIyNB9KioYQ8hO6UJPrGgQSsGWlhTMpSlrvn3sc,8338
|
209
|
+
beamlit/models/model_spec.py,sha256=73ztq0F1zzNh8y_VYDwOQUjm-guYr3I12Wg37lDa7X0,9317
|
215
210
|
beamlit/models/owner_fields.py,sha256=8LsT7inzzFI1hZQma798gYoOfJpdmwK9T8y_0JrKGSU,2022
|
216
211
|
beamlit/models/pending_invitation.py,sha256=YJaUNHXoq-X1ZTBkOpmRQj31R99S6Y7Ik45dHDss6-M,3797
|
217
|
-
beamlit/models/pending_invitation_accept.py,sha256
|
218
|
-
beamlit/models/pending_invitation_render.py,sha256=
|
212
|
+
beamlit/models/pending_invitation_accept.py,sha256=KbHS5L7SSPro45RK0_pORp6yhPKPao_izivB_FFYPjk,2550
|
213
|
+
beamlit/models/pending_invitation_render.py,sha256=9lefPA12omITJ82488YImFLW_UWL1f_8piydXSkHBbQ,5678
|
219
214
|
beamlit/models/pending_invitation_render_invited_by.py,sha256=L7Gxad50KseW0KF-PUKZXtZR1vOirpVsv0uqoIUbTis,2528
|
220
215
|
beamlit/models/pending_invitation_render_workspace.py,sha256=tvn8Rk0xxUXdVHsHdc2pu_QopiIjC52Pm4hrMnRNLqs,2004
|
221
216
|
beamlit/models/pending_invitation_workspace_details.py,sha256=LBC_ucOKBNQO9r0NWvmJ-lid-P02ey2mOz8myVzzDno,2200
|
222
217
|
beamlit/models/pod_template_spec.py,sha256=n9MAqx3uLXZK4rk-5r8k8fL78aFqGnMBlCa-Vprhiy0,1259
|
223
|
-
beamlit/models/policy.py,sha256=
|
218
|
+
beamlit/models/policy.py,sha256=ZAlZ-SsZmj1as8xmfK83F9YU-ClrP5xCIzhBSNfuYSk,3007
|
224
219
|
beamlit/models/policy_location.py,sha256=MSNHIcfK2v3FVICy1r6sJwlkJ7ClASt_5sT1gzdztx4,1841
|
225
|
-
beamlit/models/
|
220
|
+
beamlit/models/policy_max_tokens.py,sha256=KFAKKJ8yG3Nfqg6r6HsANKrkivQI2KCKLgQGVGzOQYI,3138
|
221
|
+
beamlit/models/policy_spec.py,sha256=EK38Z1ghhX8jq-oZs3CA5mUn5LbX-QgFdJm5r76athI,5669
|
226
222
|
beamlit/models/private_cluster.py,sha256=7n5GIgiCBbD9HDNlnZNHuIIf5-nr6wZb2DSi-25O9v0,6519
|
227
223
|
beamlit/models/private_location.py,sha256=EhXB6EcQMnMbe4-RMBNlawJhx9a0T5i0xebrbVFjlrE,1609
|
228
|
-
beamlit/models/provider_config.py,sha256=kS4AQhOHCl2-Rp9WjL-yb8UYU4LXIFzehZVu5HxhViE,2897
|
229
|
-
beamlit/models/qps.py,sha256=Us3PQTfeM5KN-QwLXkJ2XESJDIyTvD1tSJR9taClIog,1684
|
230
224
|
beamlit/models/repository.py,sha256=y179VzQivkOSXq2zW-z0mGxVwIG-rZWSs_JRxxfSBhE,1791
|
231
|
-
beamlit/models/repository_type_0.py,sha256=TIeKJNECkmtyiKUOwVLQ8UZeT31K6JDB5etArHc2VDM,1822
|
232
225
|
beamlit/models/request_duration_over_time_metric.py,sha256=ARxsu9kJHTcCK3ymamNUEGqb1NO8C5gWrTkD89bMC14,2733
|
233
|
-
beamlit/models/request_duration_over_time_metrics.py,sha256=
|
234
|
-
beamlit/models/request_total_by_origin_metric.py,sha256=
|
226
|
+
beamlit/models/request_duration_over_time_metrics.py,sha256=EC9yKVMlnEXekynetvOq5a7_FN6yByy7yoDHsfRSEXM,2996
|
227
|
+
beamlit/models/request_total_by_origin_metric.py,sha256=HzpkPBPTa2s1u2kpQaiHV-EGKakMGMAedKGMpkAKuKE,5013
|
235
228
|
beamlit/models/request_total_by_origin_metric_request_total_by_origin.py,sha256=mHijJCHMNt_dkW5n2eI3nrKTrWIFEx1TXC89Kq1Wopg,1429
|
236
229
|
beamlit/models/request_total_by_origin_metric_request_total_by_origin_and_code.py,sha256=Y8tzfWqTtY41Q25ORYj5mldAX3CK5-vWWyPiMMt_spA,1479
|
237
|
-
beamlit/models/request_total_metric.py,sha256=
|
230
|
+
beamlit/models/request_total_metric.py,sha256=wR41Ut75hTgO5zAW92hsRD2vUo7fAExdDn-fGfNWzfM,4747
|
238
231
|
beamlit/models/request_total_metric_request_total_per_code.py,sha256=tR5pqx8lxjn-89G0LXop0G-lbF26_BJPtozW1zA-Tv0,1409
|
239
232
|
beamlit/models/request_total_metric_rps_per_code.py,sha256=7BnIDrJKs8OIENpxbaKNnHx3vUzxUrNrEPPAUize3uo,1352
|
240
|
-
beamlit/models/
|
241
|
-
beamlit/models/resource_deployment_metrics_inference_per_second_per_region.py,sha256=phgZ9vJ3s7pYIYo14mgyav6ZrJnY3IS7y5T6To1IDjE,2624
|
242
|
-
beamlit/models/resource_deployment_metrics_query_per_second_per_region_per_code.py,sha256=ej_Md0plqTE-_IqTecrHFNhtY78MJWZ1tXY3OLCmReU,2397
|
243
|
-
beamlit/models/resource_environment_metrics.py,sha256=t-RwIbWjJG1AK15W_DOpSK2XLEj6_z8dyVOXUtZGfos,11561
|
244
|
-
beamlit/models/resource_environment_metrics_inference_per_region.py,sha256=pIc14XdNeKq50WGWU0FnmNqtFU5S8y_q3gomLA-dOgM,2580
|
245
|
-
beamlit/models/resource_environment_metrics_inference_per_second_per_region.py,sha256=CmJx_tjhsfHS1hMHOwOkuVPypbG3xyZ_GCG3A2uPhr4,2629
|
246
|
-
beamlit/models/resource_environment_metrics_query_per_region_per_code.py,sha256=G2qxM4jRKavyC96K9CO6AlF_7_K6aHtV4dMqT4n4vcA,2307
|
247
|
-
beamlit/models/resource_environment_metrics_query_per_second_per_region_per_code.py,sha256=amPg8eSPI7ndvVG2tF8SvprZv56cfluQyvgUywdTcd4,2386
|
233
|
+
beamlit/models/resource_environment_metrics.py,sha256=NOF-xh4CncVHKgDRalVhAmNrt_VLHyfZ9Bu08JSAG1I,12967
|
248
234
|
beamlit/models/resource_environment_metrics_request_total_per_code.py,sha256=HhGnCuajc2K4chKxNnB2_RfEtwdswG5GlEaHURUyTDI,1448
|
249
235
|
beamlit/models/resource_environment_metrics_rps_per_code.py,sha256=mcAUfxNU759akRuLJIXvqzAJPIVEzspnzSYVm7Uo1vM,1411
|
250
|
-
beamlit/models/resource_log.py,sha256=
|
251
|
-
beamlit/models/
|
252
|
-
beamlit/models/runtime.py,sha256=GsUowh_kFE7GHv0lPt8V0QuMOe1_oIo8Ap8dZrEon4o,6015
|
236
|
+
beamlit/models/resource_log.py,sha256=XV_DaMU4jf6pVk2XyWyWPtMeZ9uJJ9_LTDEYg3BtxHo,2253
|
237
|
+
beamlit/models/runtime.py,sha256=bWnnLHlSow97NeD8KHStaCOsSRBIkCU91Fryk9JrIdw,6385
|
253
238
|
beamlit/models/runtime_readiness_probe.py,sha256=iqNikZl5CffpNEwsUxVbs9k2_y2IUWpkEyZicf5T4Pk,1317
|
254
239
|
beamlit/models/runtime_resources.py,sha256=6ioyGkvDPn93_MjJTJwB-J33R9vLJpagz4OvFuIExWE,1317
|
255
240
|
beamlit/models/serverless_config.py,sha256=He_W4af-9QoBztQl3i3loSvn9pyHKhbb5fsQsuJSI-M,4989
|
256
241
|
beamlit/models/spec_configuration.py,sha256=oGmMqoZSVEGedarAou-102vfw16bFevHUp4C_OW6h1k,1970
|
257
|
-
beamlit/models/store_agent.py,sha256
|
242
|
+
beamlit/models/store_agent.py,sha256=V4h8DCVyaVjeDdp8AxvD2NMmuw25JftT40S_Dex-cco,5783
|
258
243
|
beamlit/models/store_agent_labels.py,sha256=DDsYO0AXh8B4k1hgLBXHyHH1WwP2kKCyHwZqmd3qbOE,1256
|
259
244
|
beamlit/models/store_configuration.py,sha256=8ppSJsmkC4yjPQXipt8hiju_bskYGEQ37FtmCLuYOiQ,4958
|
260
245
|
beamlit/models/store_configuration_option.py,sha256=ErsfYkkG-b8MXf_xWS837FGdlbZWzTyDMkLtfXzmqQY,2269
|
261
|
-
beamlit/models/store_function.py,sha256=
|
246
|
+
beamlit/models/store_function.py,sha256=TjBRdIsnBK0tcJKg9RjBXlqy4hit3P9Ob_Ixaw65Pio,7641
|
262
247
|
beamlit/models/store_function_kit.py,sha256=S0i3KMHkJ6FwWwMcPqUOYfXi8AYZ21WC7TLIWD8L1I8,3135
|
263
248
|
beamlit/models/store_function_labels.py,sha256=ZoEKD_CUDs7HcdHEobDsPz8OcUAZ11pFW3pVYrbz0KQ,1274
|
264
249
|
beamlit/models/store_function_parameter.py,sha256=0iuvA6WVExwzqt5HRNusS9PFtke5_qwVu8fT2MFOH8c,2553
|
265
250
|
beamlit/models/time_fields.py,sha256=5X-SFQ1-cfs5gTvyFjuQ8tfMJJrAGoK0OBZLuOM5phY,2006
|
266
251
|
beamlit/models/token_rate_metric.py,sha256=6Sxe5VEtvnrQo95jjNke-L8hUMD6MQPVtYjhjbFdLQg,2446
|
267
|
-
beamlit/models/token_rate_metrics.py,sha256=
|
252
|
+
beamlit/models/token_rate_metrics.py,sha256=nvhSYuA9E2Cc73_1gogoWIjtiVzn3u7xXe8iHmKN0aY,4404
|
268
253
|
beamlit/models/token_total_metric.py,sha256=BPitBM2P79gGL-FkUE89_SPAdhXKeL5yw6lawvdlBnA,3919
|
269
|
-
beamlit/models/trace_ids_response.py,sha256=
|
254
|
+
beamlit/models/trace_ids_response.py,sha256=0JuhxhKvwEd0qMPBzf3PAGa3eNR547xZ2VveIF0Ztdw,1256
|
270
255
|
beamlit/models/update_workspace_service_account_body.py,sha256=fz2MGqwRfrYkMmL8PaFHQdsu3RQcRljvP6n6JIru45o,2004
|
271
256
|
beamlit/models/update_workspace_service_account_response_200.py,sha256=nCLPHFP_iR1MIpicgQMpbiyme97ZMfTFhyQUEbhzkHI,2968
|
272
257
|
beamlit/models/update_workspace_user_role_body.py,sha256=FyLCWy9oRgUxoFPxxtrDvwzh1kHLkoTZ1pL5w3ayexM,1572
|
273
258
|
beamlit/models/websocket_channel.py,sha256=jg3vN7yS_oOIwGtndtIUr1LsyEA58RXLXahqSK5rdUU,2696
|
274
|
-
beamlit/models/workspace.py,sha256=
|
259
|
+
beamlit/models/workspace.py,sha256=nsck1BNzNoF_SalMqyVtkRoC_P-6-b4gzxKgKu3HwDw,5065
|
275
260
|
beamlit/models/workspace_labels.py,sha256=WbnUY6eCTkUNdY7hhhSF-KQCl8fWFfkCf7hzCTiNp4A,1246
|
276
261
|
beamlit/models/workspace_user.py,sha256=70CcifQWYbeWG7TDui4pblTzUe5sVK0AS19vNCzKE8g,3423
|
277
262
|
beamlit/serve/app.py,sha256=ROS_tb9cO4GvOQKCwloyAzpYraTdIb3oG6sChXikeNw,3285
|
278
263
|
beamlit/serve/middlewares/__init__.py,sha256=1dVmnOmhAQWvWktqHkKSIX-YoF6fmMU8xkUQuhg_rJU,148
|
279
264
|
beamlit/serve/middlewares/accesslog.py,sha256=Mu4T4_9OvHybjA0ApzZFpgi2C8f3X1NbUk-76v634XM,631
|
280
265
|
beamlit/serve/middlewares/processtime.py,sha256=lDAaIasZ4bwvN-HKHvZpaD9r-yrkVNZYx4abvbjbrCg,411
|
281
|
-
beamlit-0.0.
|
282
|
-
beamlit-0.0.
|
283
|
-
beamlit-0.0.
|
284
|
-
beamlit-0.0.
|
266
|
+
beamlit-0.0.48.dist-info/METADATA,sha256=hQsQZWMsPYkYpVjmE8wEBa5ep_YIPIVOUBm4p_AZcbM,3478
|
267
|
+
beamlit-0.0.48.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
268
|
+
beamlit-0.0.48.dist-info/licenses/LICENSE,sha256=p5PNQvpvyDT_0aYBDgmV1fFI_vAD2aSV0wWG7VTgRis,1069
|
269
|
+
beamlit-0.0.48.dist-info/RECORD,,
|
@@ -1,146 +0,0 @@
|
|
1
|
-
from typing import TYPE_CHECKING, Any, TypeVar, Union
|
2
|
-
|
3
|
-
from attrs import define as _attrs_define
|
4
|
-
from attrs import field as _attrs_field
|
5
|
-
|
6
|
-
from ..types import UNSET, Unset
|
7
|
-
|
8
|
-
if TYPE_CHECKING:
|
9
|
-
from ..models.metadata_labels import MetadataLabels
|
10
|
-
|
11
|
-
|
12
|
-
T = TypeVar("T", bound="FunctionMetadata")
|
13
|
-
|
14
|
-
|
15
|
-
@_attrs_define
|
16
|
-
class FunctionMetadata:
|
17
|
-
"""Function metadata
|
18
|
-
|
19
|
-
Attributes:
|
20
|
-
created_at (Union[Unset, str]): The date and time when the resource was created
|
21
|
-
updated_at (Union[Unset, str]): The date and time when the resource was updated
|
22
|
-
created_by (Union[Unset, str]): The user or service account who created the resource
|
23
|
-
updated_by (Union[Unset, str]): The user or service account who updated the resource
|
24
|
-
display_name (Union[Unset, str]): Model display name
|
25
|
-
labels (Union[Unset, MetadataLabels]): Labels
|
26
|
-
name (Union[Unset, str]): Model name
|
27
|
-
workspace (Union[Unset, str]): Workspace name
|
28
|
-
environment (Union[Unset, str]): Environment name
|
29
|
-
"""
|
30
|
-
|
31
|
-
created_at: Union[Unset, str] = UNSET
|
32
|
-
updated_at: Union[Unset, str] = UNSET
|
33
|
-
created_by: Union[Unset, str] = UNSET
|
34
|
-
updated_by: Union[Unset, str] = UNSET
|
35
|
-
display_name: Union[Unset, str] = UNSET
|
36
|
-
labels: Union[Unset, "MetadataLabels"] = UNSET
|
37
|
-
name: Union[Unset, str] = UNSET
|
38
|
-
workspace: Union[Unset, str] = UNSET
|
39
|
-
environment: Union[Unset, str] = UNSET
|
40
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
41
|
-
|
42
|
-
def to_dict(self) -> dict[str, Any]:
|
43
|
-
created_at = self.created_at
|
44
|
-
|
45
|
-
updated_at = self.updated_at
|
46
|
-
|
47
|
-
created_by = self.created_by
|
48
|
-
|
49
|
-
updated_by = self.updated_by
|
50
|
-
|
51
|
-
display_name = self.display_name
|
52
|
-
|
53
|
-
labels: Union[Unset, dict[str, Any]] = UNSET
|
54
|
-
if self.labels and not isinstance(self.labels, Unset):
|
55
|
-
labels = self.labels.to_dict()
|
56
|
-
|
57
|
-
name = self.name
|
58
|
-
|
59
|
-
workspace = self.workspace
|
60
|
-
|
61
|
-
environment = self.environment
|
62
|
-
|
63
|
-
field_dict: dict[str, Any] = {}
|
64
|
-
field_dict.update(self.additional_properties)
|
65
|
-
field_dict.update({})
|
66
|
-
if created_at is not UNSET:
|
67
|
-
field_dict["createdAt"] = created_at
|
68
|
-
if updated_at is not UNSET:
|
69
|
-
field_dict["updatedAt"] = updated_at
|
70
|
-
if created_by is not UNSET:
|
71
|
-
field_dict["createdBy"] = created_by
|
72
|
-
if updated_by is not UNSET:
|
73
|
-
field_dict["updatedBy"] = updated_by
|
74
|
-
if display_name is not UNSET:
|
75
|
-
field_dict["displayName"] = display_name
|
76
|
-
if labels is not UNSET:
|
77
|
-
field_dict["labels"] = labels
|
78
|
-
if name is not UNSET:
|
79
|
-
field_dict["name"] = name
|
80
|
-
if workspace is not UNSET:
|
81
|
-
field_dict["workspace"] = workspace
|
82
|
-
if environment is not UNSET:
|
83
|
-
field_dict["environment"] = environment
|
84
|
-
|
85
|
-
return field_dict
|
86
|
-
|
87
|
-
@classmethod
|
88
|
-
def from_dict(cls: type[T], src_dict: dict[str, Any]) -> T:
|
89
|
-
from ..models.metadata_labels import MetadataLabels
|
90
|
-
|
91
|
-
if not src_dict:
|
92
|
-
return None
|
93
|
-
d = src_dict.copy()
|
94
|
-
created_at = d.pop("createdAt", UNSET)
|
95
|
-
|
96
|
-
updated_at = d.pop("updatedAt", UNSET)
|
97
|
-
|
98
|
-
created_by = d.pop("createdBy", UNSET)
|
99
|
-
|
100
|
-
updated_by = d.pop("updatedBy", UNSET)
|
101
|
-
|
102
|
-
display_name = d.pop("displayName", UNSET)
|
103
|
-
|
104
|
-
_labels = d.pop("labels", UNSET)
|
105
|
-
labels: Union[Unset, MetadataLabels]
|
106
|
-
if isinstance(_labels, Unset):
|
107
|
-
labels = UNSET
|
108
|
-
else:
|
109
|
-
labels = MetadataLabels.from_dict(_labels)
|
110
|
-
|
111
|
-
name = d.pop("name", UNSET)
|
112
|
-
|
113
|
-
workspace = d.pop("workspace", UNSET)
|
114
|
-
|
115
|
-
environment = d.pop("environment", UNSET)
|
116
|
-
|
117
|
-
function_metadata = cls(
|
118
|
-
created_at=created_at,
|
119
|
-
updated_at=updated_at,
|
120
|
-
created_by=created_by,
|
121
|
-
updated_by=updated_by,
|
122
|
-
display_name=display_name,
|
123
|
-
labels=labels,
|
124
|
-
name=name,
|
125
|
-
workspace=workspace,
|
126
|
-
environment=environment,
|
127
|
-
)
|
128
|
-
|
129
|
-
function_metadata.additional_properties = d
|
130
|
-
return function_metadata
|
131
|
-
|
132
|
-
@property
|
133
|
-
def additional_keys(self) -> list[str]:
|
134
|
-
return list(self.additional_properties.keys())
|
135
|
-
|
136
|
-
def __getitem__(self, key: str) -> Any:
|
137
|
-
return self.additional_properties[key]
|
138
|
-
|
139
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
140
|
-
self.additional_properties[key] = value
|
141
|
-
|
142
|
-
def __delitem__(self, key: str) -> None:
|
143
|
-
del self.additional_properties[key]
|
144
|
-
|
145
|
-
def __contains__(self, key: str) -> bool:
|
146
|
-
return key in self.additional_properties
|
@@ -1,61 +0,0 @@
|
|
1
|
-
from typing import Any, TypeVar, Union
|
2
|
-
|
3
|
-
from attrs import define as _attrs_define
|
4
|
-
from attrs import field as _attrs_field
|
5
|
-
|
6
|
-
from ..types import UNSET, Unset
|
7
|
-
|
8
|
-
T = TypeVar("T", bound="IncreaseAndRateMetric")
|
9
|
-
|
10
|
-
|
11
|
-
@_attrs_define
|
12
|
-
class IncreaseAndRateMetric:
|
13
|
-
"""Metrics for resources
|
14
|
-
|
15
|
-
Attributes:
|
16
|
-
inference_global (Union[Unset, Any]): Historical requests for all resources globally
|
17
|
-
"""
|
18
|
-
|
19
|
-
inference_global: Union[Unset, Any] = UNSET
|
20
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
21
|
-
|
22
|
-
def to_dict(self) -> dict[str, Any]:
|
23
|
-
inference_global = self.inference_global
|
24
|
-
|
25
|
-
field_dict: dict[str, Any] = {}
|
26
|
-
field_dict.update(self.additional_properties)
|
27
|
-
field_dict.update({})
|
28
|
-
if inference_global is not UNSET:
|
29
|
-
field_dict["inferenceGlobal"] = inference_global
|
30
|
-
|
31
|
-
return field_dict
|
32
|
-
|
33
|
-
@classmethod
|
34
|
-
def from_dict(cls: type[T], src_dict: dict[str, Any]) -> T:
|
35
|
-
if not src_dict:
|
36
|
-
return None
|
37
|
-
d = src_dict.copy()
|
38
|
-
inference_global = d.pop("inferenceGlobal", UNSET)
|
39
|
-
|
40
|
-
increase_and_rate_metric = cls(
|
41
|
-
inference_global=inference_global,
|
42
|
-
)
|
43
|
-
|
44
|
-
increase_and_rate_metric.additional_properties = d
|
45
|
-
return increase_and_rate_metric
|
46
|
-
|
47
|
-
@property
|
48
|
-
def additional_keys(self) -> list[str]:
|
49
|
-
return list(self.additional_properties.keys())
|
50
|
-
|
51
|
-
def __getitem__(self, key: str) -> Any:
|
52
|
-
return self.additional_properties[key]
|
53
|
-
|
54
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
55
|
-
self.additional_properties[key] = value
|
56
|
-
|
57
|
-
def __delitem__(self, key: str) -> None:
|
58
|
-
del self.additional_properties[key]
|
59
|
-
|
60
|
-
def __contains__(self, key: str) -> bool:
|
61
|
-
return key in self.additional_properties
|
@@ -1,45 +0,0 @@
|
|
1
|
-
from typing import Any, TypeVar
|
2
|
-
|
3
|
-
from attrs import define as _attrs_define
|
4
|
-
from attrs import field as _attrs_field
|
5
|
-
|
6
|
-
T = TypeVar("T", bound="IntegrationConfig")
|
7
|
-
|
8
|
-
|
9
|
-
@_attrs_define
|
10
|
-
class IntegrationConfig:
|
11
|
-
"""Integration config"""
|
12
|
-
|
13
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
14
|
-
|
15
|
-
def to_dict(self) -> dict[str, Any]:
|
16
|
-
field_dict: dict[str, Any] = {}
|
17
|
-
field_dict.update(self.additional_properties)
|
18
|
-
|
19
|
-
return field_dict
|
20
|
-
|
21
|
-
@classmethod
|
22
|
-
def from_dict(cls: type[T], src_dict: dict[str, Any]) -> T:
|
23
|
-
if not src_dict:
|
24
|
-
return None
|
25
|
-
d = src_dict.copy()
|
26
|
-
integration_config = cls()
|
27
|
-
|
28
|
-
integration_config.additional_properties = d
|
29
|
-
return integration_config
|
30
|
-
|
31
|
-
@property
|
32
|
-
def additional_keys(self) -> list[str]:
|
33
|
-
return list(self.additional_properties.keys())
|
34
|
-
|
35
|
-
def __getitem__(self, key: str) -> Any:
|
36
|
-
return self.additional_properties[key]
|
37
|
-
|
38
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
39
|
-
self.additional_properties[key] = value
|
40
|
-
|
41
|
-
def __delitem__(self, key: str) -> None:
|
42
|
-
del self.additional_properties[key]
|
43
|
-
|
44
|
-
def __contains__(self, key: str) -> bool:
|
45
|
-
return key in self.additional_properties
|
@@ -1,45 +0,0 @@
|
|
1
|
-
from typing import Any, TypeVar
|
2
|
-
|
3
|
-
from attrs import define as _attrs_define
|
4
|
-
from attrs import field as _attrs_field
|
5
|
-
|
6
|
-
T = TypeVar("T", bound="IntegrationConnectionConfig")
|
7
|
-
|
8
|
-
|
9
|
-
@_attrs_define
|
10
|
-
class IntegrationConnectionConfig:
|
11
|
-
"""Integration config"""
|
12
|
-
|
13
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
14
|
-
|
15
|
-
def to_dict(self) -> dict[str, Any]:
|
16
|
-
field_dict: dict[str, Any] = {}
|
17
|
-
field_dict.update(self.additional_properties)
|
18
|
-
|
19
|
-
return field_dict
|
20
|
-
|
21
|
-
@classmethod
|
22
|
-
def from_dict(cls: type[T], src_dict: dict[str, Any]) -> T:
|
23
|
-
if not src_dict:
|
24
|
-
return None
|
25
|
-
d = src_dict.copy()
|
26
|
-
integration_connection_config = cls()
|
27
|
-
|
28
|
-
integration_connection_config.additional_properties = d
|
29
|
-
return integration_connection_config
|
30
|
-
|
31
|
-
@property
|
32
|
-
def additional_keys(self) -> list[str]:
|
33
|
-
return list(self.additional_properties.keys())
|
34
|
-
|
35
|
-
def __getitem__(self, key: str) -> Any:
|
36
|
-
return self.additional_properties[key]
|
37
|
-
|
38
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
39
|
-
self.additional_properties[key] = value
|
40
|
-
|
41
|
-
def __delitem__(self, key: str) -> None:
|
42
|
-
del self.additional_properties[key]
|
43
|
-
|
44
|
-
def __contains__(self, key: str) -> bool:
|
45
|
-
return key in self.additional_properties
|