From 6e6e181b90c61803717cfa061d9a9e74ade77d3c Mon Sep 17 00:00:00 2001 From: Kiko Castillo Date: Mon, 13 Jan 2025 18:29:59 -0800 Subject: [PATCH] fix: Update schema.py to make extensions a list, not chain (#6024) * fix: Update schema.py to make extensions a list, not chain --- src/phoenix/server/api/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phoenix/server/api/schema.py b/src/phoenix/server/api/schema.py index d3ae95b1b6..3056b510a5 100644 --- a/src/phoenix/server/api/schema.py +++ b/src/phoenix/server/api/schema.py @@ -23,7 +23,7 @@ def build_graphql_schema( return strawberry.Schema( query=Query, mutation=Mutation, - extensions=chain(extensions or [], [get_mask_errors_extension()]), + extensions=list(chain(extensions or [], [get_mask_errors_extension()])), subscription=Subscription, types=_implementing_types(ChatCompletionSubscriptionPayload), )