diff options
| author | Michael Merickel <michael@merickel.org> | 2018-10-15 01:55:54 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-10-15 09:24:07 -0500 |
| commit | 0c29cf2df41600d3906d521c72991c7686018b71 (patch) | |
| tree | ff907f90ec9467e12874c9b2c961549d0e7caf74 /tests/pkgs/restbugapp/views.py | |
| parent | 851c368e3c158e264358de10446f5b5de240e534 (diff) | |
| download | pyramid-0c29cf2df41600d3906d521c72991c7686018b71.tar.gz pyramid-0c29cf2df41600d3906d521c72991c7686018b71.tar.bz2 pyramid-0c29cf2df41600d3906d521c72991c7686018b71.zip | |
format source using black
Diffstat (limited to 'tests/pkgs/restbugapp/views.py')
| -rw-r--r-- | tests/pkgs/restbugapp/views.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/pkgs/restbugapp/views.py b/tests/pkgs/restbugapp/views.py index 2ace59fa9..161321aed 100644 --- a/tests/pkgs/restbugapp/views.py +++ b/tests/pkgs/restbugapp/views.py @@ -1,15 +1,17 @@ from pyramid.response import Response + class BaseRESTView(object): def __init__(self, context, request): self.context = context self.request = request - + + class PetRESTView(BaseRESTView): """ REST Controller to control action of an avatar """ + def __init__(self, context, request): super(PetRESTView, self).__init__(context, request) def GET(self): return Response('gotten') - |
