Code cleanup

API-interface
dgtlmoon 3 years ago
parent 23dde28399
commit 97c6db5e56

@ -2,6 +2,7 @@ from flask_restful import abort, Resource
from flask import request, make_response
import validators
# https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
class Watch(Resource):
@ -35,6 +36,7 @@ class Watch(Resource):
self.datastore.delete(uuid)
return 'OK', 204
class WatchHistory(Resource):
def __init__(self, **kwargs):
# datastore is a black box dependency

Loading…
Cancel
Save