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

is there a way to change the dictionary used to generate the ids? #4

Closed
MohGanji opened this issue Sep 27, 2018 · 1 comment
Closed

Comments

@MohGanji
Copy link

I read the source code for that previous issue and found out that options is only used for debugging!
so is there any way I can give this module a string of characters and the library only uses this characters in generating random uids?

@jeanlescure
Copy link
Collaborator

Originally you could override the dict property, but V2 now lets you instantiate ShortUniqueId with a custom user-defined dictionary. For more info take a look at the README.

Cheers :)

jeanlescure added a commit that referenced this issue May 4, 2021
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

2 participants