Fix flake8 failures

This commit is contained in:
Karl Gutwin 2018-11-08 11:08:24 -05:00
parent 0f6086f708
commit ff6a57f443
5 changed files with 17 additions and 20 deletions

View File

@ -60,6 +60,7 @@ BACKENDS = {
'datapipeline': datapipeline_backends,
'dynamodb': dynamodb_backends,
'dynamodb2': dynamodb_backends2,
'dynamodbstreams': dynamodbstreams_backends,
'ec2': ec2_backends,
'ecr': ecr_backends,
'ecs': ecs_backends,

View File

@ -1,5 +1,5 @@
from __future__ import unicode_literals
from collections import defaultdict, namedtuple
from collections import defaultdict
import copy
import datetime
import decimal

View File

@ -4,7 +4,6 @@ import os
import json
import boto3
import base64
import datetime
from moto.core import BaseBackend, BaseModel
from moto.dynamodb2.models import dynamodb_backends
@ -124,7 +123,6 @@ class DynamoDBStreamsBackend(BaseBackend):
return json.dumps(shard_iterator.get(limit))
available_regions = boto3.session.Session().get_available_regions(
'dynamodbstreams')
dynamodbstreams_backends = {region: DynamoDBStreamsBackend(region=region)

View File

@ -1,7 +1,5 @@
from __future__ import unicode_literals
import json
from moto.core.responses import BaseResponse
from .models import dynamodbstreams_backends