Commit e00cc9b2 authored by Romain Bignon's avatar Romain Bignon

ValueTransient: set default value to '' to disable checks if it is missing

parent 7273e8a7
Pipeline #2965 passed with stages
in 12 minutes and 40 seconds
......@@ -151,9 +151,9 @@ class Value(object):
class ValueTransient(Value):
def __init__(self, *args, **kwargs):
kwargs['transient'] = True
kwargs['default'] = None
kwargs['required'] = False
kwargs.setdefault('transient', True)
kwargs.setdefault('default', '')
kwargs.setdefault('required', False)
super(ValueTransient, self).__init__(*args, **kwargs)
def dump(self):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment