Commit 46f2f5eb authored by root's avatar root

Fix implementer

parent ecc7f564
...@@ -12,7 +12,7 @@ from twisted.internet import reactor ...@@ -12,7 +12,7 @@ from twisted.internet import reactor
from twisted.internet.defer import Deferred from twisted.internet.defer import Deferred
from twisted.web.resource import Resource from twisted.web.resource import Resource
from twisted.web.server import Site, NOT_DONE_YET from twisted.web.server import Site, NOT_DONE_YET
from zope.interface import implements from zope.interface import implementer
######################################################### #########################################################
# #
...@@ -20,12 +20,13 @@ from zope.interface import implements ...@@ -20,12 +20,13 @@ from zope.interface import implements
# #
######################################################### #########################################################
@implementer(IRESTResource)
class RESTResource(Resource): class RESTResource(Resource):
''' '''
Main resource responsible for routing REST requests to the implementing methods Main resource responsible for routing REST requests to the implementing methods
''' '''
isLeaf = True isLeaf = True
implements(IRESTResource) #implements(IRESTResource)
def __init__(self,services=(),schema=None,filters=()): def __init__(self,services=(),schema=None,filters=()):
''' '''
......
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