vaibhavsingh97/random-word

Error using keyword arg. in random_word

Opened this issue · 0 comments

When I add keywords to narrow down the word params it gives an error saying that there is an unexpected keyword. TypeError: random_word() got an unexpected keyword argument 'minLength'
To Reproduce:

from random_word import RandomWords
rw = RandomWords()

word = rw.get_random_word(minLength=5)
print(word)

Expected behavior
To get a word with length more than equal to 5

Screenshots
If applicable, add screenshots to help explain your problem.

OS: Windows 10 Home
Python 3.11