Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using keyword arg. in random_word #91

Open
DivyamSinghania opened this issue Jul 16, 2024 · 0 comments
Open

Error using keyword arg. in random_word #91

DivyamSinghania opened this issue Jul 16, 2024 · 0 comments

Comments

@DivyamSinghania
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant