mirror of https://github.com/explosion/spaCy.git
Remove schema=None until Optional
This commit is contained in:
parent
b886f53c31
commit
65448b2e34
|
@ -439,7 +439,7 @@ def resolve_dot_names(config: Config, dot_names: List[Optional[str]]) -> List[Op
|
||||||
section = name.split(".")[0]
|
section = name.split(".")[0]
|
||||||
# We want to avoid resolving the same thing twice.
|
# We want to avoid resolving the same thing twice.
|
||||||
if section not in resolved:
|
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))
|
output.append(dot_to_object(resolved, name))
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue