-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Unique profile #1817
Comments
This issue is stale because it has been open for 30 days with no activity. |
Please stale bot, let this ticket open. |
This issue is stale because it has been open for 30 days with no activity. |
This issue is still relevant. |
This issue is stale because it has been open for 30 days with no activity. |
I still don't agree 😮💨 |
Feel free to submit a corresponding PR. |
Yes I know that :) But in the meantime there is no reason to close the ticket. |
I personally do not like the stale bot stuff either, especially with low activity on maintainer tagging, but I am just a contributor here as well and not going to blame anyone for using it - there usually are perfectly valid reasons to introduce such bots. |
This issue is stale because it has been open for 30 days with no activity. |
I still wish to keep the ticket open. |
I've run into a similar error when trying to use the
from faker import Faker
fake = Faker()
fake.unique.words(nb=2)
#> Traceback (most recent call last):
#> File "<string>", line 1, in <module>
#> File "/Users/jqi/Downloads/faker-reprex/.venv/lib/python3.12/site-packages/faker/proxy.py", line 337, in wrapper
#> if retval not in generated:
#> ^^^^^^^^^^^^^^^^^^^^^^^
#> TypeError: unhashable type: 'list' Created at 2024-07-25 00:17:25 EDT by reprexlite v0.5.0 |
Data unicity and profile are two great faker features, bun unfortunately they don't fit well together:
I suggest implementing unique profile generation, where each value in the profile would be unique.
The text was updated successfully, but these errors were encountered: