

def error(self, type_, status=400):
    return (self, self.response_headers, dynamo_json_dump({
        '__type': type_,
    }))

dataset/ETHPy150Open spulec/moto/moto/dynamodb/responses.py DynamoHandler.error/VarMisuse@18/19 `status`->`self`