Permalink
Browse files

[minor] Use default aliased backend "sql" in hello world example

  • Loading branch information...
1 parent 6402037 commit fe5a3cdbefb9de552afd3d30c3425850e40cc202 Stefan Urbanek committed Jun 12, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 cubes/backends/sql/mapper.py
  2. +1 −1 examples/hello_world/aggregate.py
  3. +1 −1 examples/hello_world/slicer.ini
View
2 cubes/backends/sql/mapper.py
@@ -153,7 +153,7 @@ def attribute(self, name):
return self.attributes[name]
- def logical(self, attribute, locale=False):
+ def logical(self, attribute, locale=None):
"""Returns logical reference as string for `attribute` in `dimension`.
If `dimension` is ``Null`` then fact table is assumed. The logical
reference might have following forms:
View
2 examples/hello_world/aggregate.py
@@ -2,7 +2,7 @@
# 1. Prepare SQL data in memory
model = cubes.load_model("model.json")
-workspace = cubes.create_workspace("sql.star", model,
+workspace = cubes.create_workspace("sql", model,
url='sqlite:///data.sqlite')
# 2. Create a model
View
2 examples/hello_world/slicer.ini
@@ -5,7 +5,7 @@ reload: yes
log_level: info
prettyprint: yes
-backend: sql.star
+backend: sql
[workspace]
url: sqlite:///data.sqlite

0 comments on commit fe5a3cd

Please sign in to comment.