Skip to content

Commit 0421f93

Browse files
committed
minor fix custom uuid type, get rid of warning
1 parent ee0300e commit 0421f93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ def __repr__(self):
223223

224224

225225
class CustomUUIDType(TypeDecorator):
226+
cache_ok = True
227+
226228
impl = CHAR
227229

228230
def __init__(self, *args, as_uuid=True, **kwargs):

0 commit comments

Comments
 (0)