Remove schema=None until Optional

This commit is contained in:
Matthew Honnibal 2020-09-28 03:42:58 +02:00
parent b886f53c31
commit 65448b2e34
1 changed files with 1 additions and 1 deletions

View File

@ -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