

def describe_table(self):
    name = self.body['TableName']
    try:
        table = dynamodb_backend.tables[name]
    except KeyError:
        er = 'com.amazonaws.dynamodb.v20111205#ResourceNotFoundException'
        return self.error(er)
    return dynamo_json_dump(table.describe)

dataset/ETHPy150Open spulec/moto/moto/dynamodb/responses.py DynamoHandler.describe_table/original