generated from yunojuno/poetry-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
0 / 10 of 1 issue completedDescription
Is there an example on how to use cuid2 or nanoid?
My assumption was passing a function that would return a generated id string would suffice but i keep getting weird errors, for ex:
using cuid2:
ValueError: Could not find function cuid in cuid2.generator.
ValueError: Cannot serialize: <cuid2.generator.Cuid object at 0x1030071d0>
using nanoid:
default=nanoid.generate.generate, ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'function' object has no attribute 'generate'
Sub-issues
Metadata
Metadata
Assignees
Labels
No labels