From 65448b2e34ab55291a52caaa950e9c427f85902c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 28 Sep 2020 03:42:58 +0200 Subject: [PATCH] Remove schema=None until Optional --- spacy/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/util.py b/spacy/util.py index fb3381f55..90ae9cf20 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -439,7 +439,7 @@ def resolve_dot_names(config: Config, dot_names: List[Optional[str]]) -> List[Op section = name.split(".")[0] # We want to avoid resolving the same thing twice. if section not in resolved: - resolved[section] = registry.resolve(config[section], schema=None) + resolved[section] = registry.resolve(config[section]) output.append(dot_to_object(resolved, name)) return output