mirror of https://github.com/explosion/spaCy.git
Make spacy.load kwargs keyword-only
This commit is contained in:
parent
53a3b967ac
commit
fbf3a755d7
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue