Skip to content

Commit

Permalink
fix: Update schema.py to make extensions a list, not chain (#6024)
Browse files Browse the repository at this point in the history
* fix: Update schema.py to make extensions a list, not chain
  • Loading branch information
fjcasti1 authored Jan 14, 2025
1 parent 4e036e7 commit 6e6e181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phoenix/server/api/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
)
Expand Down

0 comments on commit 6e6e181

Please sign in to comment.