Skip to content

Commit d349c80

Browse files
committed
list instead of set for json serializability
1 parent d0e019f commit d349c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appyter/profiles/default/fields/FileField.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class FileField(Field):
3232
:param value: (INTERNAL Any) The raw value of the field (from the form for instance)
3333
:param \**kwargs: Remaining arguments passed down to :class:`appyter.fields.Field`'s constructor.
3434
'''
35-
def __init__(self, default=None, constraint=r'.*', valid_schemes={'drs', 's3', 'gs', 'ftp', 'http', 'https', 'storage', 'user'}, **kwargs):
35+
def __init__(self, default=None, constraint=r'.*', valid_schemes=['drs', 's3', 'gs', 'ftp', 'http', 'https', 'storage', 'user'], **kwargs):
3636
super().__init__(
3737
constraint=constraint,
3838
default=default,

0 commit comments

Comments
 (0)