spaCy/spacy/cli
KeshavG-lb 0a86d833d7
Spacy Cli info method causing backward compatibility issues (#6793)
* Spacy Cli info method causing backward compatibility issues #6791

fix backward compatibility by setting default value to exclude in info
method.

* setting empty list as default argument is dangerous.
so setting default to None and then setting it to emptylist, if None.

Reference : https://nikos7am.com/posts/mutable-default-arguments/
2021-01-23 11:21:43 +01:00
..
project Enable commit check via env var 2020-10-05 20:51:15 +02:00
templates Fix types of Tok2Vec encoding architectures (#6442) 2021-01-07 16:39:27 +11:00
__init__.py Move init labels to init pipeline module 2020-09-29 18:09:33 +02:00
_util.py Fix variable 2020-12-08 20:44:59 +11:00
convert.py Switch converters to generator functions (#6547) 2020-12-15 16:47:16 +08:00
debug_config.py Expand initialize/training config validation 2021-01-12 17:17:00 +01:00
debug_data.py Tidy up and auto-format 2021-01-15 11:57:36 +11:00
debug_model.py Update argument handling and documentation 2020-12-08 20:41:18 +11:00
download.py Tidy up and auto-format 2021-01-05 13:41:53 +11:00
evaluate.py Tidy up and auto-format 2021-01-05 13:41:53 +11:00
info.py Spacy Cli info method causing backward compatibility issues (#6793) 2021-01-23 11:21:43 +01:00
init_config.py multi-label textcat component (#6474) 2021-01-06 13:07:14 +11:00
init_pipeline.py Update argument handling and documentation 2020-12-08 20:41:18 +11:00
package.py Include custom code via spacy package command (#6531) 2020-12-10 20:36:46 +08:00
pretrain.py Update argument handling and documentation 2020-12-08 20:41:18 +11:00
profile.py
train.py Allow reading config from sdtin in spacy train 2020-12-08 18:01:40 +11:00
validate.py