From 403cf02c65f3c50b3e95729030b90fd8d02a1bfb Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 4 Aug 2018 23:50:11 +0200 Subject: [PATCH] Fix the last issue to pass stub tests --- jedi/plugins/typeshed.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jedi/plugins/typeshed.py b/jedi/plugins/typeshed.py index 353b134f..4ad7fa57 100644 --- a/jedi/plugins/typeshed.py +++ b/jedi/plugins/typeshed.py @@ -262,9 +262,10 @@ class _MixedStubContextMixin(object): class _StubContextFilterMixin(_MixedStubContextMixin): - def get_filters(self, search_global, until_position=None, origin_scope=None): + def get_filters(self, search_global, until_position=None, + origin_scope=None, **kwargs): filters = super(_StubContextFilterMixin, self).get_filters( - search_global, until_position, origin_scope + search_global, until_position, origin_scope, **kwargs ) yield StubParserTreeFilter( # Take the first filter, which is here to filter module contents