We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d807833 commit 0711a46Copy full SHA for 0711a46
1 file changed
tests/models.py
@@ -33,7 +33,7 @@ class FlatModel(Base, SerializerMixin):
33
time = sa.Column(sa.Time, default=TIME)
34
bool = sa.Column(sa.Boolean, default=True)
35
null = sa.Column(sa.String)
36
- uuid = sa.Column(UUID(as_uuid=True), default=lambda: uuid4())
+ uuid = sa.Column(UUID(as_uuid=True), default=uuid4)
37
list = [1, "test_string", 0.9, {"key": 123, "key2": 23423}, {"key": 234}]
38
set = {1, 2, "test_string"}
39
dict = dict(key=123, key2={"key": 12})
0 commit comments