No value param

This commit is contained in:
Emily 2019-03-12 00:40:26 +01:00
parent 05ecccf0da
commit ea88424f6c
2 changed files with 5 additions and 3 deletions

View File

@ -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 = {

View File

@ -11,3 +11,6 @@ def DEC(data):
def STR(data):
return str.isalpha
def NO_VAL(data):
return True