fixes
This commit is contained in:
parent
309a9b678e
commit
3001caf7ce
@ -1,6 +1,6 @@
|
||||
[metadata]
|
||||
name = yamlhttpforms
|
||||
version = 0.0.5
|
||||
version = 0.0.6
|
||||
author = Daniil F.
|
||||
author_email = mail@placeholder123.to
|
||||
description = HTTP forms defined in YAML
|
||||
|
@ -28,6 +28,8 @@ class FormField:
|
||||
for attr in function.split('.'):
|
||||
obj = getattr(obj, attr)
|
||||
self._default = obj
|
||||
elif default is None:
|
||||
self._default = None
|
||||
else:
|
||||
self._default = str(default)
|
||||
self.options: Optional[OptionsT] = None
|
||||
|
Loading…
Reference in New Issue
Block a user