category does not work with all()

#3 · open · 1 comments

View on GitHub ↗

asifiqbal

``` metasyntactic.__version__ '1.0.14' foo = metasyntactic.get('foo') foo.all(category='fr') --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-24-fd0826cb4891> in <module> ----> 1 foo.all(category='fr') TypeError: all() got an unexpected keyword argument 'category' ``` foo.all() works fine and it defaults to 'en' I am using python 3.8

Comments

asifiqbal

It works fine with random() ``` foo.random(8, category='fr') ['chouette', 'toto', 'chose', 'test1', 'tata', 'pipo', 'test3', 'truc'] ```