Permalink
Browse files

Added metric expression in main namespace for easier import

  • Loading branch information...
1 parent 155a49c commit 8341c5e6c2601871f3fcbe34e724436327eb406c @tsileo committed Oct 1, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −2 README.rst
  2. +1 −0 cube/__init__.py
View
3 README.rst
@@ -128,8 +128,7 @@ Event helper
.. code-block:: python
- from cube import Cube, Event
- from cube.expression import Sum
+ from cube import Cube, Event, Sum
cube = Cube()
View
1 cube/__init__.py
@@ -8,6 +8,7 @@
import requests
+from cube.expression import Sum, Min, Max, Median, Distinct
from cube.event import Event
API_VERSION = '1.0'

0 comments on commit 8341c5e

Please sign in to comment.