mirror of https://github.com/explosion/spaCy.git
aea16719be
* Change enable/disable behavior so that arguments take precedence over config options. Extend error message on conflict. Add warning message in case of overwriting config option with arguments. * Fix tests in test_serialize_pipeline.py to reflect changes to handling of enable/disable. * Fix type issue. * Move comment. * Move comment. * Issue UserWarning instead of printing wasabi message. Adjust test. * Added pytest.warns(UserWarning) for expected warning to fix tests. * Update warning message. * Move type handling out of fetch_pipes_status(). * Add global variable for default value. Use id() to determine whether used values are default value. * Fix default value for disable. * Rename DEFAULT_PIPE_STATUS to _DEFAULT_EMPTY_PIPES. |
||
---|---|---|
.. | ||
__init__.py | ||
test_resource_warning.py | ||
test_serialize_config.py | ||
test_serialize_doc.py | ||
test_serialize_docbin.py | ||
test_serialize_extension_attrs.py | ||
test_serialize_kb.py | ||
test_serialize_language.py | ||
test_serialize_pipeline.py | ||
test_serialize_span_groups.py | ||
test_serialize_tokenizer.py | ||
test_serialize_vocab_strings.py |