Skip to content

Commit 29f5dbc

Browse files
authored
Fix #260 - SimpleType modifies value
1 parent 83cb643 commit 29f5dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiohttp_admin/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def json_datetime_serial(obj):
4747
OptKey = partial(t.Key, optional=True)
4848

4949

50-
SimpleType = t.Int | t.Bool | t.String | t.Float
50+
SimpleType = t.IntRaw | t.Bool | t.String | t.FloatRaw
5151
Filter = t.Dict({
5252
OptKey('in'): t.List(SimpleType),
5353
OptKey('gt'): SimpleType,

0 commit comments

Comments
 (0)