From 5be5b0b8b15a439c170841dd2bc82df7e1c21772 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Thu, 4 Sep 2025 10:02:22 +0100 Subject: [PATCH] Remove GraphQL collection parameter --- trustgraph-flow/trustgraph/query/objects/cassandra/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trustgraph-flow/trustgraph/query/objects/cassandra/service.py b/trustgraph-flow/trustgraph/query/objects/cassandra/service.py index 2d357ff7..8e446339 100644 --- a/trustgraph-flow/trustgraph/query/objects/cassandra/service.py +++ b/trustgraph-flow/trustgraph/query/objects/cassandra/service.py @@ -411,7 +411,6 @@ class Processor(FlowProcessor): def make_resolver(s_name, r_schema, g_type, f_type, sort_enum): async def resolver( info: Info, - collection: str, where: Optional[f_type] = None, order_by: Optional[str] = None, direction: Optional[sort_enum] = None, @@ -420,6 +419,7 @@ class Processor(FlowProcessor): # Get the processor instance from context processor = info.context["processor"] user = info.context["user"] + collection = info.context["collection"] # Parse the idiomatic where clause filters = processor.parse_idiomatic_where_clause(where)