/usr/lib/python3/dist-packages/pyramid/tests/pkgs/viewdecoratorapp/views/views.py is in python3-pyramid 1.6+dfsg-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | from pyramid.view import view_config
@view_config(renderer='json', name='first')
def first(request):
return {'result':'OK1'}
@view_config(
renderer='json',
name='second')
def second(request):
return {'result':'OK2'}
|