No value param
This commit is contained in:
parent
05ecccf0da
commit
ea88424f6c
|
@ -16,8 +16,7 @@ class handler(asyncTornado.asyncRequestHandler):
|
|||
}
|
||||
|
||||
ARGS_VALIDATION = {
|
||||
validatorHelper.HEX: ["file_hash"],
|
||||
validatorHelper.INT: ["file_version", "timestamp"]
|
||||
validatorHelper.NO_VAL: ["file_hash", "file_version", "timestamp"]
|
||||
}
|
||||
|
||||
SQL_STRUCT = {
|
||||
|
|
|
@ -10,4 +10,7 @@ def DEC(data):
|
|||
return str.isdecimal(data)
|
||||
|
||||
def STR(data):
|
||||
return str.isalpha
|
||||
return str.isalpha
|
||||
|
||||
def NO_VAL(data):
|
||||
return True
|
Loading…
Reference in New Issue
Block a user