Skip to content

Commit

Permalink
Merge pull request DataBrewery#314 from jdiazvera/master
Browse files Browse the repository at this point in the history
Fix view function mapping overwriting new_cube function, renaming new_dimension function in modeller.
  • Loading branch information
jjmontesl committed Jun 2, 2016
2 parents 40930c2 + 474cffd commit 8badb03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions incubator/modeler/cubes_modeler/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"""

from flask import Flask, render_template, request
from cubes import Model, read_model_metadata, create_model_provider
from cubes import read_model_metadata
# from cubes import Model, read_model_metadata, create_model_provider
from cubes import get_logger, write_model_metadata_bundle
from cubes import expand_dimension_metadata
import json
Expand Down Expand Up @@ -241,7 +242,7 @@ def get_dimension(id):
return json.dumps(info)

@modeler.route("/new_dimension", methods=["PUT"])
def new_cube():
def new_dimension():
dim_id = dimension_id_sequence.next()
level = {
"name": "default",
Expand Down

0 comments on commit 8badb03

Please sign in to comment.