move helper script to scripts dir and add one to Makefile
This commit is contained in:
parent
f8cdb50f46
commit
4cc4b36f15
9 changed files with 5 additions and 1 deletions
15
scripts/template/lib/responses.py.j2
Normal file
15
scripts/template/lib/responses.py.j2
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
from __future__ import unicode_literals
|
||||
from moto.core.responses import BaseResponse
|
||||
from .models import {{ service }}_backends
|
||||
|
||||
|
||||
class {{ service_class }}Response(BaseResponse):
|
||||
@property
|
||||
def {{ service }}_backend(self):
|
||||
return {{ service }}_backends[self.region]
|
||||
|
||||
# add methods from here
|
||||
|
||||
|
||||
# add teampltes from here
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue