arize-phoenix 11.26.0__py3-none-any.whl → 11.27.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.
- {arize_phoenix-11.26.0.dist-info → arize_phoenix-11.27.0.dist-info}/METADATA +1 -1
- {arize_phoenix-11.26.0.dist-info → arize_phoenix-11.27.0.dist-info}/RECORD +9 -9
- phoenix/config.py +9 -0
- phoenix/server/api/exceptions.py +5 -1
- phoenix/version.py +1 -1
- {arize_phoenix-11.26.0.dist-info → arize_phoenix-11.27.0.dist-info}/WHEEL +0 -0
- {arize_phoenix-11.26.0.dist-info → arize_phoenix-11.27.0.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-11.26.0.dist-info → arize_phoenix-11.27.0.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-11.26.0.dist-info → arize_phoenix-11.27.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
phoenix/__init__.py,sha256=Sgb4r2MLoY2BbC9Caky5C0bwnOyiVOMHly2sRItmg3Q,5555
|
|
2
2
|
phoenix/auth.py,sha256=9rscOefuxy5VPcb6MlOYenuy3gDd5l7RxknONovGslE,11342
|
|
3
|
-
phoenix/config.py,sha256=
|
|
3
|
+
phoenix/config.py,sha256=iZ0KE4Yc7msAwx3MykjhCx79_wSYBL6KTpLA9KuXD9I,63432
|
|
4
4
|
phoenix/datetime_utils.py,sha256=pRD-nzxXYKlMWNtd3r2tKGKfPFhwuJhfOAtlGLVAO60,8784
|
|
5
5
|
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=
|
|
9
|
+
phoenix/version.py,sha256=ofjFoTgUco9LdD4reUgJGjEcFX2RzUAJpVKpDorgoms,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
|
|
@@ -111,7 +111,7 @@ phoenix/server/api/README.md,sha256=Pyq1PLPgTzXAswrfIhGXrjI3Skq8it2jTVnanT6Ba4Q,
|
|
|
111
111
|
phoenix/server/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
112
112
|
phoenix/server/api/auth.py,sha256=AyYhnZIbY9ALVjg2K6aC2UXSa3Pva5GVDBXyaZ3nD3o,2749
|
|
113
113
|
phoenix/server/api/context.py,sha256=mqsq_8Ru50e-PxKWNTzh9zptb1PFjYFUf58uW59UYL0,8996
|
|
114
|
-
phoenix/server/api/exceptions.py,sha256=
|
|
114
|
+
phoenix/server/api/exceptions.py,sha256=9gB4nBRNX6k4_fsQZ12yxw6Tw53h_915l06DYK-qkPQ,1442
|
|
115
115
|
phoenix/server/api/interceptor.py,sha256=ykDnoC_apUd-llVli3m1CW18kNSIgjz2qZ6m5JmPDu8,1294
|
|
116
116
|
phoenix/server/api/queries.py,sha256=oA6UWvd7Ff26JZp0gFujV7F6yZoEbUwdOdZOROWG4nM,64654
|
|
117
117
|
phoenix/server/api/schema.py,sha256=fcs36xQwFF_Qe41_5cWR8wYpDvOrnbcyTeo5WNMbDsA,1702
|
|
@@ -442,9 +442,9 @@ phoenix/utilities/project.py,sha256=auVpARXkDb-JgeX5f2aStyFIkeKvGwN9l7qrFeJMVxI,
|
|
|
442
442
|
phoenix/utilities/re.py,sha256=6YyUWIkv0zc2SigsxfOWIHzdpjKA_TZo2iqKq7zJKvw,2081
|
|
443
443
|
phoenix/utilities/span_store.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
444
444
|
phoenix/utilities/template_formatters.py,sha256=gh9PJD6WEGw7TEYXfSst1UR4pWWwmjxMLrDVQ_CkpkQ,2779
|
|
445
|
-
arize_phoenix-11.
|
|
446
|
-
arize_phoenix-11.
|
|
447
|
-
arize_phoenix-11.
|
|
448
|
-
arize_phoenix-11.
|
|
449
|
-
arize_phoenix-11.
|
|
450
|
-
arize_phoenix-11.
|
|
445
|
+
arize_phoenix-11.27.0.dist-info/METADATA,sha256=QY0OG7N7HMD-gi2_15QJThyeIXch1CDC86bSt9S8vQA,31634
|
|
446
|
+
arize_phoenix-11.27.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
447
|
+
arize_phoenix-11.27.0.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
|
|
448
|
+
arize_phoenix-11.27.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
|
|
449
|
+
arize_phoenix-11.27.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
|
|
450
|
+
arize_phoenix-11.27.0.dist-info/RECORD,,
|
phoenix/config.py
CHANGED
|
@@ -172,6 +172,11 @@ ENV_PHOENIX_SERVER_INSTRUMENTATION_OTLP_TRACE_COLLECTOR_GRPC_ENDPOINT = (
|
|
|
172
172
|
"PHOENIX_SERVER_INSTRUMENTATION_OTLP_TRACE_COLLECTOR_GRPC_ENDPOINT"
|
|
173
173
|
)
|
|
174
174
|
|
|
175
|
+
ENV_PHOENIX_MASK_INTERNAL_SERVER_ERRORS = "PHOENIX_MASK_INTERNAL_SERVER_ERRORS"
|
|
176
|
+
"""
|
|
177
|
+
Whether to mask internal server errors from the GraphQL and REST APIs. Defaults to true.
|
|
178
|
+
"""
|
|
179
|
+
|
|
175
180
|
# Authentication settings
|
|
176
181
|
ENV_PHOENIX_ENABLE_AUTH = "PHOENIX_ENABLE_AUTH"
|
|
177
182
|
ENV_PHOENIX_DISABLE_BASIC_AUTH = "PHOENIX_DISABLE_BASIC_AUTH"
|
|
@@ -1610,6 +1615,10 @@ def get_env_disable_migrations() -> bool:
|
|
|
1610
1615
|
return _bool_val(ENV_PHOENIX_DANGEROUSLY_DISABLE_MIGRATIONS, False)
|
|
1611
1616
|
|
|
1612
1617
|
|
|
1618
|
+
def get_env_mask_internal_server_errors() -> bool:
|
|
1619
|
+
return _bool_val(ENV_PHOENIX_MASK_INTERNAL_SERVER_ERRORS, True)
|
|
1620
|
+
|
|
1621
|
+
|
|
1613
1622
|
DEFAULT_PROJECT_NAME = "default"
|
|
1614
1623
|
_KUBERNETES_PHOENIX_PORT_PATTERN = re.compile(r"^tcp://\d{1,3}[.]\d{1,3}[.]\d{1,3}[.]\d{1,3}:\d+$")
|
|
1615
1624
|
|
phoenix/server/api/exceptions.py
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
from graphql.error import GraphQLError
|
|
2
2
|
from strawberry.extensions import MaskErrors
|
|
3
3
|
|
|
4
|
+
from phoenix.config import get_env_mask_internal_server_errors
|
|
5
|
+
|
|
4
6
|
|
|
5
7
|
class CustomGraphQLError(Exception):
|
|
6
8
|
"""
|
|
@@ -51,4 +53,6 @@ def _should_mask_error(error: GraphQLError) -> bool:
|
|
|
51
53
|
"""
|
|
52
54
|
Masks unexpected errors raised from GraphQL resolvers.
|
|
53
55
|
"""
|
|
54
|
-
return not isinstance(
|
|
56
|
+
return get_env_mask_internal_server_errors() and not isinstance(
|
|
57
|
+
error.original_error, CustomGraphQLError
|
|
58
|
+
)
|
phoenix/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "11.
|
|
1
|
+
__version__ = "11.27.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|