diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-05-05 19:08:44 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-05-05 19:08:44 +0200 |
commit | ae74b2d32a4ad6d21620e84a3190398f8778e19d (patch) | |
tree | bd854dc8ff6ced39817762bdd2ddb606f2d33c95 /talerbank/app/schemas.py | |
parent | 867bf7eb66d5614b6fab0cdee6705f07dad3750f (diff) | |
download | bank-ae74b2d32a4ad6d21620e84a3190398f8778e19d.tar.gz bank-ae74b2d32a4ad6d21620e84a3190398f8778e19d.tar.bz2 bank-ae74b2d32a4ad6d21620e84a3190398f8778e19d.zip |
towards /history refactoring
Diffstat (limited to 'talerbank/app/schemas.py')
-rw-r--r-- | talerbank/app/schemas.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/talerbank/app/schemas.py b/talerbank/app/schemas.py index 0d821ef..2f33674 100644 --- a/talerbank/app/schemas.py +++ b/talerbank/app/schemas.py @@ -45,16 +45,6 @@ auth_schema = { } } -history_schema = { - "type": "object", - "properties" : { - "direction": {"type": "string", "required": False}, - "auth": auth_schema, - "start": {"type": "integer", "required": False}, - "delta": {"type": "integer", "required": False} - } -} - amount_schema = { "type": "object", "properties": { @@ -78,9 +68,6 @@ incoming_request_schema = { def validate_amount(amount): validictory.validate(amount, amount_schema) -def validate_history(request_data): - validictory.validate(request_data, history_schema) - def validate_wiredetails(wiredetails): validictory.validate(wiredetails, wiredetails_schema) |