arize-phoenix 11.11.0__py3-none-any.whl → 11.13.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of arize-phoenix might be problematic. Click here for more details.

Files changed (22) hide show
  1. {arize_phoenix-11.11.0.dist-info → arize_phoenix-11.13.0.dist-info}/METADATA +1 -1
  2. {arize_phoenix-11.11.0.dist-info → arize_phoenix-11.13.0.dist-info}/RECORD +22 -21
  3. phoenix/server/api/mutations/user_mutations.py +2 -2
  4. phoenix/server/api/queries.py +10 -0
  5. phoenix/server/api/types/Dataset.py +9 -1
  6. phoenix/server/api/types/ServerStatus.py +6 -0
  7. phoenix/server/app.py +13 -0
  8. phoenix/server/static/.vite/manifest.json +44 -44
  9. phoenix/server/static/assets/{components-B7lK-RgC.js → components-CTjLYQx7.js} +390 -308
  10. phoenix/server/static/assets/{index-CpePoyTU.js → index-CtWu3zfM.js} +8 -7
  11. phoenix/server/static/assets/{pages-CnVg_GUi.js → pages-D0FD65Uw.js} +469 -440
  12. phoenix/server/static/assets/{vendor-uWG2jYEi.js → vendor-_6rG8OMg.js} +133 -133
  13. phoenix/server/static/assets/{vendor-arizeai-CXCKGfvH.js → vendor-arizeai-BznCmJFh.js} +6 -6
  14. phoenix/server/static/assets/{vendor-codemirror-DWr46-WB.js → vendor-codemirror-29fWLPAy.js} +1 -1
  15. phoenix/server/static/assets/{vendor-recharts-0Yf6lanX.js → vendor-recharts-Cu431IpB.js} +1 -1
  16. phoenix/server/static/assets/{vendor-shiki-Caei6iKO.js → vendor-shiki-Ce9e01lU.js} +1 -1
  17. phoenix/server/templates/index.html +2 -1
  18. phoenix/version.py +1 -1
  19. {arize_phoenix-11.11.0.dist-info → arize_phoenix-11.13.0.dist-info}/WHEEL +0 -0
  20. {arize_phoenix-11.11.0.dist-info → arize_phoenix-11.13.0.dist-info}/entry_points.txt +0 -0
  21. {arize_phoenix-11.11.0.dist-info → arize_phoenix-11.13.0.dist-info}/licenses/IP_NOTICE +0 -0
  22. {arize_phoenix-11.11.0.dist-info → arize_phoenix-11.13.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arize-phoenix
3
- Version: 11.11.0
3
+ Version: 11.13.0
4
4
  Summary: AI Observability and Evaluation
5
5
  Project-URL: Documentation, https://arize.com/docs/phoenix/
6
6
  Project-URL: Issues, https://github.com/Arize-ai/phoenix/issues
@@ -6,7 +6,7 @@ phoenix/exceptions.py,sha256=n2L2KKuecrdflB9MsCdAYCiSEvGJptIsfRkXMoJle7A,169
6
6
  phoenix/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
7
7
  phoenix/services.py,sha256=ngkyKGVatX3cO2WJdo2hKdaVKP-xJCMvqthvga6kJss,5196
8
8
  phoenix/settings.py,sha256=2kHfT3BNOVd4dAO1bq-syEQbHSG8oX2-7NhOwK2QREk,896
9
- phoenix/version.py,sha256=0NvGC949F8-jU5CThwqqkP5g0LPLHwkhtLR2cEkRUTU,24
9
+ phoenix/version.py,sha256=-aDEPEFWRXJyu-sS4wTYLcwVPVvwj_N1hsCNjmXhiA4,24
10
10
  phoenix/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  phoenix/core/embedding_dimension.py,sha256=zKGbcvwOXgLf-yrJBpQyKtd-LEOPRKHnUToyAU8Owis,87
12
12
  phoenix/core/model.py,sha256=qBFraOtmwCCnWJltKNP18DDG0mULXigytlFsa6YOz6k,4837
@@ -91,7 +91,7 @@ phoenix/pointcloud/pointcloud.py,sha256=SN_1wXZcwKrtSnHGZLDZGx71orqE1WyVF7E-D58d
91
91
  phoenix/pointcloud/projectors.py,sha256=TQgwc9cJDjJkin1WZyZzgl3HsYrLLiyWD7Czy4jNW3U,1088
92
92
  phoenix/pointcloud/umap_parameters.py,sha256=db_WEPoamuWtopZx7tQfAXPnoE0MS8FkAV0_ThjEx_Q,1735
93
93
  phoenix/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
94
- phoenix/server/app.py,sha256=tB00x9r0PcCLYkvOtTQ7LqdSyw7jqy8OY5e7UVYl5UE,46951
94
+ phoenix/server/app.py,sha256=Ja937LsaTx_u1EUR76BM_tpYSBpyWkv27tmBsDZlwKg,47708
95
95
  phoenix/server/authorization.py,sha256=OxROn7ibpKtCTrcgDkzWuNxVaQcSQ8MAx7zbjZiliK0,3201
96
96
  phoenix/server/bearer_auth.py,sha256=f4v4W94KyTdGGCPsK1tXOe0vouPuvanAEa03XSdCvPE,6650
97
97
  phoenix/server/dml_event.py,sha256=8UciN7W8X_IqQfAnAeAh68BezNmfxSxuTeD6IUerTW8,2911
@@ -112,7 +112,7 @@ phoenix/server/api/auth.py,sha256=AyYhnZIbY9ALVjg2K6aC2UXSa3Pva5GVDBXyaZ3nD3o,27
112
112
  phoenix/server/api/context.py,sha256=mqsq_8Ru50e-PxKWNTzh9zptb1PFjYFUf58uW59UYL0,8996
113
113
  phoenix/server/api/exceptions.py,sha256=E2W0x63CBzc0CoQPptrLr9nZxPF9zIP8MCJ3RuJMddw,1322
114
114
  phoenix/server/api/interceptor.py,sha256=ykDnoC_apUd-llVli3m1CW18kNSIgjz2qZ6m5JmPDu8,1294
115
- phoenix/server/api/queries.py,sha256=EVNKWanVbjcPIfG8zW8_p3bBkLxmNuBbS87NUdW68z4,46194
115
+ phoenix/server/api/queries.py,sha256=--ycVajCdDuN4Y-7bnD9py3BIXVWnZEwrpwDEW2Y8i4,46498
116
116
  phoenix/server/api/schema.py,sha256=fcs36xQwFF_Qe41_5cWR8wYpDvOrnbcyTeo5WNMbDsA,1702
117
117
  phoenix/server/api/subscriptions.py,sha256=ZOGNsLVr5TNjCWgbzO7Eq6Ls_NRdJH9AxC0cW_v0vhM,25332
118
118
  phoenix/server/api/utils.py,sha256=quCBRcusc6PUq9tJq7M8PgwFZp7nXgVAxtbw8feribY,833
@@ -245,7 +245,7 @@ phoenix/server/api/mutations/prompt_version_tag_mutations.py,sha256=t77osYb5he2A
245
245
  phoenix/server/api/mutations/span_annotations_mutations.py,sha256=LQPcODp7-ZobXspjmtLaamyQa8UkTONC_va-ST9r-k8,15015
246
246
  phoenix/server/api/mutations/trace_annotations_mutations.py,sha256=PLNNzSlk3fyJHkAVaMGR8pbWB63nOos-cStUWbTi7f8,11995
247
247
  phoenix/server/api/mutations/trace_mutations.py,sha256=AvtQAfqNWBQpJOZm4e0DZFimhVJ6HQHtSSZtezRadCo,4698
248
- phoenix/server/api/mutations/user_mutations.py,sha256=pNQ7nyOnqBsm5pAQALdvsEaGM889JQTKg0kBv_-YyYs,15393
248
+ phoenix/server/api/mutations/user_mutations.py,sha256=9vFWfvfhb6RUdxL8xajV2-P2kVDtFRijRD58OFeBY4M,15373
249
249
  phoenix/server/api/openapi/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
250
250
  phoenix/server/api/openapi/main.py,sha256=yKdzJYI4cxy_1mFcK4_7YObIcuRviBIfwNjB23RG14k,461
251
251
  phoenix/server/api/openapi/schema.py,sha256=WGmHWSIyJhtc5EIh_M3vlXU-EgHkFuTlyVofgS0kj1I,529
@@ -283,7 +283,7 @@ phoenix/server/api/types/CostBreakdown.py,sha256=yw9dlb0blGIB_dWNP8yEvDHJztHjpiV
283
283
  phoenix/server/api/types/CreateDatasetPayload.py,sha256=R-6zCmuD0f76RU9Giu78xwTHlASQs6Aq8yzvX1Kxc3g,140
284
284
  phoenix/server/api/types/CronExpression.py,sha256=R7oxuSSX_eTUHQWaoaSueQqWDmkkHr5dBKRN6q-6ROk,331
285
285
  phoenix/server/api/types/DataQualityMetric.py,sha256=Aieg3bHeBFaAf4mqeRcH1zT04sXAtQD8ATSHJt7FaBQ,1538
286
- phoenix/server/api/types/Dataset.py,sha256=1NACY8_s-TZGgTwv6pkFlYPJDy14EVcQlrjgNd7dQ_U,11732
286
+ phoenix/server/api/types/Dataset.py,sha256=WBgZORzdwjWjNsX5suSmPt0x7IwKY0jA_BdZt2nsrYA,12186
287
287
  phoenix/server/api/types/DatasetExample.py,sha256=_9byxGpXfYb-hmFMUJeG7Bw1wsRKSJaHwF2IPAbFpFw,3115
288
288
  phoenix/server/api/types/DatasetExampleRevision.py,sha256=c-jWR6dTguEZTm54IMlFr0Ic84I3nefyDnZb7nF5hnI,874
289
289
  phoenix/server/api/types/DatasetValues.py,sha256=7VbCOLlzOXpZN80-zYF2UGuafRcPsZF-8WQNc0YsKFc,1119
@@ -334,6 +334,7 @@ phoenix/server/api/types/ResponseFormat.py,sha256=ymBsPWGViiaEo4vyw50ht1K6BveKcO
334
334
  phoenix/server/api/types/Retrieval.py,sha256=OhMK2ncjoyp5h1yjKhjlKpoTbQrMHuxmgSFw-AO1rWw,285
335
335
  phoenix/server/api/types/ScalarDriftMetricEnum.py,sha256=IUAcRPpgL41WdoIgK6cNk2Te38SspXGyEs-S1fY23_A,232
336
336
  phoenix/server/api/types/Segments.py,sha256=vT2v0efoa5cuBKxLtxTnsUP5YJJCZfTloM71Spu0tMI,2915
337
+ phoenix/server/api/types/ServerStatus.py,sha256=t92OHuVhK9DXDk2vsBuHceQNKqYGpHwUp8DNGKz2wOk,88
337
338
  phoenix/server/api/types/SortDir.py,sha256=OUpXhlCzCxPoXSDkJJygEs9Rw9pMymfaZUG5zPTrw4Y,152
338
339
  phoenix/server/api/types/Span.py,sha256=0o1lyceeZhEeBLBdd8gYo324nQ1P6eTPOi3aKdZZUd4,32015
339
340
  phoenix/server/api/types/SpanAnnotation.py,sha256=uPWu7Z8rmpfKhaaxbged4_o00pPCR3nkn7Gji9vB8jY,1959
@@ -388,19 +389,19 @@ phoenix/server/static/apple-touch-icon-76x76.png,sha256=CT_xT12I0u2i0WU8JzBZBuOQ
388
389
  phoenix/server/static/apple-touch-icon.png,sha256=fOfpjqGpWYbJ0eAurKsyoZP1EAs6ZVooBJ_SGk2ZkDs,3801
389
390
  phoenix/server/static/favicon.ico,sha256=bY0vvCKRftemZfPShwZtE93DiiQdaYaozkPGwNFr6H8,34494
390
391
  phoenix/server/static/modernizr.js,sha256=mvK-XtkNqjOral-QvzoqsyOMECXIMu5BQwSVN_wcU9c,2564
391
- phoenix/server/static/.vite/manifest.json,sha256=FDZDQSSV67fIjs_K97eQRfjkSjyK76N2JPn2lzPBVPo,2165
392
- phoenix/server/static/assets/components-B7lK-RgC.js,sha256=u8Q0_GhFNtht2Js6HZflznlkqdT2FF3rUUFwq3pYZcU,630858
393
- phoenix/server/static/assets/index-CpePoyTU.js,sha256=LH2IdynxWg7bTImdqHOzUfNtTN9qd5XjFF0nINOdSlM,63028
394
- phoenix/server/static/assets/pages-CnVg_GUi.js,sha256=V9PbqoJu_CNMRy-4qCeLNGhMnGplEzsRDVHb4-ca9ZI,1198572
392
+ phoenix/server/static/.vite/manifest.json,sha256=PfxB9UNQXV87iwYpg-bIZZx9w7K8OPrrcePWs8hFtO8,2165
393
+ phoenix/server/static/assets/components-CTjLYQx7.js,sha256=bwMd-ODRg1ynE-Cu3YgybSR_8Fi6YhOefMFO57vNQMA,642457
394
+ phoenix/server/static/assets/index-CtWu3zfM.js,sha256=iz_8fjDgi_n-38bTJQlsDfpC4aiFYbDpl6bEzyExcRc,62951
395
+ phoenix/server/static/assets/pages-D0FD65Uw.js,sha256=dI6U1cH9EuQEEzNkm7_xF8OWVYjGNUtZqio_Pt0fjlo,1203565
395
396
  phoenix/server/static/assets/vendor-CqDb5u4o.css,sha256=zIyFiNJKxMaQk8AvtLgt1rR01oO10d1MFndSDKH9Clw,5517
396
- phoenix/server/static/assets/vendor-arizeai-CXCKGfvH.js,sha256=TbpgJ-co-S2Op0E39YiNpafbzoe1OucxLp6g6-wbQNg,151750
397
- phoenix/server/static/assets/vendor-codemirror-DWr46-WB.js,sha256=DrigLnd9LH-JjswljzWQD1jU2OZ7MaCdwS4u5MtVUh0,553698
398
- phoenix/server/static/assets/vendor-recharts-0Yf6lanX.js,sha256=56vcRJWCY3T1Qr1H-tWgKVPhoG_tA2iwPm_KA9whHVY,231651
399
- phoenix/server/static/assets/vendor-shiki-Caei6iKO.js,sha256=oprmwuXapui4i3qdoe4wLxgn0Iotq2xDRG8RwzROPco,8980312
397
+ phoenix/server/static/assets/vendor-_6rG8OMg.js,sha256=stdw5w5Q5kJ0EkGpzu_f_IYaEEwKHkn3eNDZSxBRQUE,2682340
398
+ phoenix/server/static/assets/vendor-arizeai-BznCmJFh.js,sha256=qFSHnyPDSh4mml_O0oiMaCmZv2e9E3VQXPxzySPABWA,151750
399
+ phoenix/server/static/assets/vendor-codemirror-29fWLPAy.js,sha256=dVUOVHLKRC3SXRgrMUeTXHXHMAsZqi0jZpLu75vg_JM,553698
400
+ phoenix/server/static/assets/vendor-recharts-Cu431IpB.js,sha256=-RxCpZURhh5aUEh1XjG6P2WwqZPqKmcyxhDNbvLTlCQ,231651
401
+ phoenix/server/static/assets/vendor-shiki-Ce9e01lU.js,sha256=FPFdF-MxIINIy5ujia044AyVID8jqcjjMvuYnbBZI6w,8980312
400
402
  phoenix/server/static/assets/vendor-three-C5WAXd5r.js,sha256=ELkg06u70N7h8oFmvqdoHyPuUf9VgGEWeT4LKFx4VWo,620975
401
- phoenix/server/static/assets/vendor-uWG2jYEi.js,sha256=Pm6mq_o91KvR7cdHB3-rW3E8GVE-H-N1Cp0x1XLDJic,2681983
402
403
  phoenix/server/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
403
- phoenix/server/templates/index.html,sha256=3VMDmbxYwo3OoqiQyFojU6JaMLKr5k8rITacYS7HTbs,6922
404
+ phoenix/server/templates/index.html,sha256=ld4wU6Agx8Cr5Bi3fvNNX6bO0mKo_Kvqd9dQn4I_HfI,6973
404
405
  phoenix/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
405
406
  phoenix/session/client.py,sha256=uw5WlCuFcN_eEj7Ko2bhJVcaihEIp7Evy50KnL6Sq-k,35602
406
407
  phoenix/session/data_extractor.py,sha256=Y0RzYFaNy9fQj8PEIeQ76TBZ90_E1FW7bXu3K5x0EZY,2782
@@ -438,9 +439,9 @@ phoenix/utilities/project.py,sha256=auVpARXkDb-JgeX5f2aStyFIkeKvGwN9l7qrFeJMVxI,
438
439
  phoenix/utilities/re.py,sha256=6YyUWIkv0zc2SigsxfOWIHzdpjKA_TZo2iqKq7zJKvw,2081
439
440
  phoenix/utilities/span_store.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
440
441
  phoenix/utilities/template_formatters.py,sha256=gh9PJD6WEGw7TEYXfSst1UR4pWWwmjxMLrDVQ_CkpkQ,2779
441
- arize_phoenix-11.11.0.dist-info/METADATA,sha256=EeNefvxStTYsByuT4E2kzd4DsmNHCrHNalV-nFxAV9A,30851
442
- arize_phoenix-11.11.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
443
- arize_phoenix-11.11.0.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
444
- arize_phoenix-11.11.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
445
- arize_phoenix-11.11.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
446
- arize_phoenix-11.11.0.dist-info/RECORD,,
442
+ arize_phoenix-11.13.0.dist-info/METADATA,sha256=4RAatO1qVYMnSGbj-pRT3qw2bZvtBPsJErRdvd_UFrc,30851
443
+ arize_phoenix-11.13.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
444
+ arize_phoenix-11.13.0.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
445
+ arize_phoenix-11.13.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
446
+ arize_phoenix-11.13.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
447
+ arize_phoenix-11.13.0.dist-info/RECORD,,
@@ -153,7 +153,7 @@ class UserMutationMixin:
153
153
  logger.error(f"Failed to send welcome email: {error}")
154
154
  return UserMutationPayload(user=to_gql_user(user))
155
155
 
156
- @strawberry.mutation(permission_classes=[IsNotReadOnly, IsAdmin, IsLocked]) # type: ignore
156
+ @strawberry.mutation(permission_classes=[IsNotReadOnly, IsAdmin]) # type: ignore
157
157
  async def patch_user(
158
158
  self,
159
159
  info: Info[Context, None],
@@ -199,7 +199,7 @@ class UserMutationMixin:
199
199
  await info.context.log_out(user.id)
200
200
  return UserMutationPayload(user=to_gql_user(user))
201
201
 
202
- @strawberry.mutation(permission_classes=[IsNotReadOnly, IsLocked]) # type: ignore
202
+ @strawberry.mutation(permission_classes=[IsNotReadOnly]) # type: ignore
203
203
  async def patch_viewer(
204
204
  self,
205
205
  info: Info[Context, None],
@@ -79,6 +79,7 @@ from phoenix.server.api.types.Prompt import Prompt, to_gql_prompt_from_orm
79
79
  from phoenix.server.api.types.PromptLabel import PromptLabel, to_gql_prompt_label
80
80
  from phoenix.server.api.types.PromptVersion import PromptVersion, to_gql_prompt_version
81
81
  from phoenix.server.api.types.PromptVersionTag import PromptVersionTag, to_gql_prompt_version_tag
82
+ from phoenix.server.api.types.ServerStatus import ServerStatus
82
83
  from phoenix.server.api.types.SortDir import SortDir
83
84
  from phoenix.server.api.types.Span import Span
84
85
  from phoenix.server.api.types.SpanAnnotation import SpanAnnotation, to_gql_span_annotation
@@ -1016,6 +1017,15 @@ class Query:
1016
1017
  for table_name, num_bytes in stats
1017
1018
  ]
1018
1019
 
1020
+ @strawberry.field
1021
+ async def server_status(
1022
+ self,
1023
+ info: Info[Context, None],
1024
+ ) -> ServerStatus:
1025
+ return ServerStatus(
1026
+ insufficient_storage=info.context.db.should_not_insert_or_update,
1027
+ )
1028
+
1019
1029
  @strawberry.field
1020
1030
  def validate_regular_expression(self, regex: str) -> ValidationResult:
1021
1031
  try:
@@ -3,7 +3,7 @@ from datetime import datetime
3
3
  from typing import ClassVar, Optional, cast
4
4
 
5
5
  import strawberry
6
- from sqlalchemy import and_, func, select
6
+ from sqlalchemy import and_, func, or_, select
7
7
  from sqlalchemy.sql.functions import count
8
8
  from strawberry import UNSET
9
9
  from strawberry.relay import Connection, GlobalID, Node, NodeID
@@ -216,6 +216,7 @@ class Dataset(Node):
216
216
  last: Optional[int] = UNSET,
217
217
  after: Optional[CursorString] = UNSET,
218
218
  before: Optional[CursorString] = UNSET,
219
+ filter_condition: Optional[str] = UNSET,
219
220
  ) -> Connection[Experiment]:
220
221
  args = ConnectionArgs(
221
222
  first=first,
@@ -230,6 +231,13 @@ class Dataset(Node):
230
231
  .where(models.Experiment.dataset_id == dataset_id)
231
232
  .order_by(models.Experiment.id.desc())
232
233
  )
234
+ if filter_condition is not UNSET and filter_condition:
235
+ # Search both name and description columns with case-insensitive partial matching
236
+ search_filter = or_(
237
+ models.Experiment.name.ilike(f"%{filter_condition}%"),
238
+ models.Experiment.description.ilike(f"%{filter_condition}%"),
239
+ )
240
+ query = query.where(search_filter)
233
241
  async with info.context.db() as session:
234
242
  experiments = [
235
243
  to_gql_experiment(experiment, sequence_number)
@@ -0,0 +1,6 @@
1
+ import strawberry
2
+
3
+
4
+ @strawberry.type
5
+ class ServerStatus:
6
+ insufficient_storage: bool
phoenix/server/app.py CHANGED
@@ -56,6 +56,8 @@ from phoenix.config import (
56
56
  SERVER_DIR,
57
57
  OAuth2ClientConfig,
58
58
  get_env_csrf_trusted_origins,
59
+ get_env_database_allocated_storage_capacity_gibibytes,
60
+ get_env_database_usage_insertion_blocking_threshold_percentage,
59
61
  get_env_fastapi_middleware_paths,
60
62
  get_env_gql_extension_paths,
61
63
  get_env_grpc_interceptor_paths,
@@ -239,6 +241,10 @@ class AppConfig(NamedTuple):
239
241
  """ FullStory organization ID for web analytics tracking """
240
242
  management_url: Optional[str] = None
241
243
  """ URL for a phoenix management interface, only visible to management users """
244
+ support_email: Optional[str] = None
245
+ """ Support email address for user assistance """
246
+ has_db_threshold: bool = False
247
+ """ Whether the database has a threshold for usage """
242
248
 
243
249
 
244
250
  class Static(StaticFiles):
@@ -306,6 +312,8 @@ class Static(StaticFiles):
306
312
  "auto_login_idp_name": self._app_config.auto_login_idp_name,
307
313
  "fullstory_org": self._app_config.fullstory_org,
308
314
  "management_url": self._app_config.management_url,
315
+ "support_email": self._app_config.support_email,
316
+ "has_db_threshold": self._app_config.has_db_threshold,
309
317
  },
310
318
  )
311
319
  except Exception as e:
@@ -1072,6 +1080,11 @@ def create_app(
1072
1080
  auto_login_idp_name=auto_login_idp_name,
1073
1081
  fullstory_org=Settings.fullstory_org,
1074
1082
  management_url=management_url,
1083
+ support_email=get_env_support_email(),
1084
+ has_db_threshold=bool(
1085
+ get_env_database_allocated_storage_capacity_gibibytes()
1086
+ and get_env_database_usage_insertion_blocking_threshold_percentage()
1087
+ ),
1075
1088
  ),
1076
1089
  ),
1077
1090
  name="static",
@@ -1,87 +1,87 @@
1
1
  {
2
- "_components-B7lK-RgC.js": {
3
- "file": "assets/components-B7lK-RgC.js",
2
+ "_components-CTjLYQx7.js": {
3
+ "file": "assets/components-CTjLYQx7.js",
4
4
  "name": "components",
5
5
  "imports": [
6
- "_vendor-uWG2jYEi.js",
7
- "_pages-CnVg_GUi.js",
8
- "_vendor-arizeai-CXCKGfvH.js",
9
- "_vendor-codemirror-DWr46-WB.js",
6
+ "_vendor-_6rG8OMg.js",
7
+ "_pages-D0FD65Uw.js",
8
+ "_vendor-arizeai-BznCmJFh.js",
9
+ "_vendor-codemirror-29fWLPAy.js",
10
10
  "_vendor-three-C5WAXd5r.js"
11
11
  ]
12
12
  },
13
- "_pages-CnVg_GUi.js": {
14
- "file": "assets/pages-CnVg_GUi.js",
13
+ "_pages-D0FD65Uw.js": {
14
+ "file": "assets/pages-D0FD65Uw.js",
15
15
  "name": "pages",
16
16
  "imports": [
17
- "_vendor-uWG2jYEi.js",
18
- "_vendor-arizeai-CXCKGfvH.js",
19
- "_components-B7lK-RgC.js",
20
- "_vendor-codemirror-DWr46-WB.js",
21
- "_vendor-recharts-0Yf6lanX.js"
17
+ "_vendor-_6rG8OMg.js",
18
+ "_vendor-arizeai-BznCmJFh.js",
19
+ "_components-CTjLYQx7.js",
20
+ "_vendor-codemirror-29fWLPAy.js",
21
+ "_vendor-recharts-Cu431IpB.js"
22
22
  ]
23
23
  },
24
24
  "_vendor-CqDb5u4o.css": {
25
25
  "file": "assets/vendor-CqDb5u4o.css",
26
26
  "src": "_vendor-CqDb5u4o.css"
27
27
  },
28
- "_vendor-arizeai-CXCKGfvH.js": {
29
- "file": "assets/vendor-arizeai-CXCKGfvH.js",
28
+ "_vendor-_6rG8OMg.js": {
29
+ "file": "assets/vendor-_6rG8OMg.js",
30
+ "name": "vendor",
31
+ "imports": [
32
+ "_vendor-three-C5WAXd5r.js"
33
+ ],
34
+ "css": [
35
+ "assets/vendor-CqDb5u4o.css"
36
+ ]
37
+ },
38
+ "_vendor-arizeai-BznCmJFh.js": {
39
+ "file": "assets/vendor-arizeai-BznCmJFh.js",
30
40
  "name": "vendor-arizeai",
31
41
  "imports": [
32
- "_vendor-uWG2jYEi.js"
42
+ "_vendor-_6rG8OMg.js"
33
43
  ]
34
44
  },
35
- "_vendor-codemirror-DWr46-WB.js": {
36
- "file": "assets/vendor-codemirror-DWr46-WB.js",
45
+ "_vendor-codemirror-29fWLPAy.js": {
46
+ "file": "assets/vendor-codemirror-29fWLPAy.js",
37
47
  "name": "vendor-codemirror",
38
48
  "imports": [
39
- "_vendor-uWG2jYEi.js",
40
- "_vendor-shiki-Caei6iKO.js"
49
+ "_vendor-_6rG8OMg.js",
50
+ "_vendor-shiki-Ce9e01lU.js"
41
51
  ]
42
52
  },
43
- "_vendor-recharts-0Yf6lanX.js": {
44
- "file": "assets/vendor-recharts-0Yf6lanX.js",
53
+ "_vendor-recharts-Cu431IpB.js": {
54
+ "file": "assets/vendor-recharts-Cu431IpB.js",
45
55
  "name": "vendor-recharts",
46
56
  "imports": [
47
- "_vendor-uWG2jYEi.js"
57
+ "_vendor-_6rG8OMg.js"
48
58
  ]
49
59
  },
50
- "_vendor-shiki-Caei6iKO.js": {
51
- "file": "assets/vendor-shiki-Caei6iKO.js",
60
+ "_vendor-shiki-Ce9e01lU.js": {
61
+ "file": "assets/vendor-shiki-Ce9e01lU.js",
52
62
  "name": "vendor-shiki",
53
63
  "imports": [
54
- "_vendor-uWG2jYEi.js"
64
+ "_vendor-_6rG8OMg.js"
55
65
  ]
56
66
  },
57
67
  "_vendor-three-C5WAXd5r.js": {
58
68
  "file": "assets/vendor-three-C5WAXd5r.js",
59
69
  "name": "vendor-three"
60
70
  },
61
- "_vendor-uWG2jYEi.js": {
62
- "file": "assets/vendor-uWG2jYEi.js",
63
- "name": "vendor",
64
- "imports": [
65
- "_vendor-three-C5WAXd5r.js"
66
- ],
67
- "css": [
68
- "assets/vendor-CqDb5u4o.css"
69
- ]
70
- },
71
71
  "index.tsx": {
72
- "file": "assets/index-CpePoyTU.js",
72
+ "file": "assets/index-CtWu3zfM.js",
73
73
  "name": "index",
74
74
  "src": "index.tsx",
75
75
  "isEntry": true,
76
76
  "imports": [
77
- "_vendor-uWG2jYEi.js",
78
- "_vendor-arizeai-CXCKGfvH.js",
79
- "_pages-CnVg_GUi.js",
80
- "_components-B7lK-RgC.js",
77
+ "_vendor-_6rG8OMg.js",
78
+ "_vendor-arizeai-BznCmJFh.js",
79
+ "_pages-D0FD65Uw.js",
80
+ "_components-CTjLYQx7.js",
81
81
  "_vendor-three-C5WAXd5r.js",
82
- "_vendor-codemirror-DWr46-WB.js",
83
- "_vendor-shiki-Caei6iKO.js",
84
- "_vendor-recharts-0Yf6lanX.js"
82
+ "_vendor-codemirror-29fWLPAy.js",
83
+ "_vendor-shiki-Ce9e01lU.js",
84
+ "_vendor-recharts-Cu431IpB.js"
85
85
  ]
86
86
  }
87
87
  }