From 7a5ad21b98ee04089fda21d1ab1242d877fe411d Mon Sep 17 00:00:00 2001 From: Markus Padourek Date: Fri, 20 May 2016 14:00:57 +0100 Subject: [PATCH] Added context to from_list --- graphene/relay/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene/relay/types.py b/graphene/relay/types.py index 29ba779a..2e0391ed 100644 --- a/graphene/relay/types.py +++ b/graphene/relay/types.py @@ -87,7 +87,7 @@ class Connection(ObjectType): {'edge_type': edge_type, 'edges': edges}) @classmethod - def from_list(cls, iterable, args, info): + def from_list(cls, iterable, args, context, info): assert isinstance( iterable, Iterable), 'Resolved value from the connection field have to be iterable' connection = connection_from_list(