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 Subnets(object):
|
||||
class Subnets(BaseResponse):
|
||||
def create_subnet(self):
|
||||
vpc_id = self.querystring.get('VpcId')[0]
|
||||
cidr_block = self.querystring.get('CidrBlock')[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue