# Path: suma/web/resources.py
# class LinkResource(ResourceWrapper):
# 
#     def __getitem__(self, key):
#         raise KeyError(key)


from pyramid.view import view_config, view_defaults
from pyramid.httpexceptions import (
    HTTPMovedPermanently,
    HTTPOk,
    HTTPNotFound,
    HTTPFound
)
from suma.web.resources import LinkResource


@view_defaults(route_name='links')
class LinkView():

    def __init__(self, context, request):

# Path: suma/web/resources.py
# class LinkResource(ResourceWrapper):
# 
#     def __getitem__(self, key):
#         raise KeyError(key)


# Path: suma/web/views.py
from pyramid.view import view_config, view_defaults
from pyramid.httpexceptions import (
    HTTPMovedPermanently,
    HTTPOk,
    HTTPNotFound,
    HTTPFound
)
from suma.web.resources import LinkResource



@view_defaults(route_name='links')
class LinkView():

    def __init__(self, context, request):

        self.context = context