Update schemas.py

This commit is contained in:
Ines Montani 2020-09-29 12:05:38 +02:00
parent 78396d137f
commit 50410c17ac

View File

@ -107,7 +107,7 @@ def validate_init_settings(
*,
section: Optional[str] = None,
name: str = "",
exclude: Iterable[str] = ("get_examples", "pipeline", "sgd"),
exclude: Iterable[str] = ("get_examples", "nlp", "pipeline", "sgd"),
) -> Dict[str, Any]:
"""Validate initialization settings against the expected arguments in
the method signature. Will parse values if possible (e.g. int to string)