initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import random
|
||||
import string
|
||||
|
||||
CHARACTERS = string.ascii_letters
|
||||
|
||||
|
||||
def generate_uid(length: int = 6) -> str:
|
||||
return "".join(random.choice(CHARACTERS) for _ in range(length))
|
||||
Reference in New Issue
Block a user