Add BaseModel to all models.
This commit is contained in:
parent
caea5f441d
commit
6d422d1f37
34 changed files with 122 additions and 116 deletions
|
|
@ -2,12 +2,12 @@ from __future__ import unicode_literals
|
|||
import uuid
|
||||
from random import randint, random
|
||||
|
||||
from moto.core import BaseBackend
|
||||
from moto.core import BaseBackend, BaseModel
|
||||
from moto.ec2 import ec2_backends
|
||||
from copy import copy
|
||||
|
||||
|
||||
class BaseObject(object):
|
||||
class BaseObject(BaseModel):
|
||||
|
||||
def camelCase(self, key):
|
||||
words = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue