From fbf3a755d7af0afc32fb7f7d83d4b9933ed724e4 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Thu, 11 Mar 2021 09:36:58 +0100 Subject: [PATCH] Make spacy.load kwargs keyword-only --- spacy/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/__init__.py b/spacy/__init__.py index 36074c440..cd5a40406 100644 --- a/spacy/__init__.py +++ b/spacy/__init__.py @@ -28,6 +28,7 @@ if sys.maxunicode == 65535: def load( name: Union[str, Path], + *, disable: Iterable[str] = util.SimpleFrozenList(), exclude: Iterable[str] = util.SimpleFrozenList(), config: Union[Dict[str, Any], Config] = util.SimpleFrozenDict(),