Table listing now supports limits and continuations
This commit is contained in:
parent
9e9e057289
commit
c196e15cf7
3 changed files with 32 additions and 3 deletions
|
|
@ -1,5 +1,7 @@
|
|||
import datetime
|
||||
|
||||
from collections import OrderedDict
|
||||
|
||||
from moto.core import BaseBackend
|
||||
from .utils import unix_time
|
||||
|
||||
|
|
@ -48,7 +50,7 @@ class Table(object):
|
|||
class DynamoDBBackend(BaseBackend):
|
||||
|
||||
def __init__(self):
|
||||
self.tables = {}
|
||||
self.tables = OrderedDict()
|
||||
|
||||
def create_table(self, name, **params):
|
||||
self.tables[name] = Table(name, **params)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue