Convert all EC2Response Mixins to subclasses.
This commit is contained in:
parent
fefc12457e
commit
ec938ef904
11 changed files with 22 additions and 12 deletions
|
|
@ -1,9 +1,10 @@
|
|||
from jinja2 import Template
|
||||
|
||||
from moto.core.responses import BaseResponse
|
||||
from moto.ec2.models import ec2_backend
|
||||
|
||||
|
||||
class ElasticBlockStore(object):
|
||||
class ElasticBlockStore(BaseResponse):
|
||||
def attach_volume(self):
|
||||
volume_id = self.querystring.get('VolumeId')[0]
|
||||
instance_id = self.querystring.get('InstanceId')[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue