Skip to content

Commit 631630c

Browse files
author
Charles Lariviere
committed
feat(mbql): import mbql classes in __init__
Signed-off-by: Charles Lariviere <charles@dribbble.com>
1 parent 4bd011a commit 631630c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/metabase/__init__.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
from metabase.mbql.aggregations import (
2+
Average,
3+
Count,
4+
CumulativeCount,
5+
CumulativeSum,
6+
Distinct,
7+
Max,
8+
Min,
9+
StandardDeviation,
10+
Sum,
11+
)
12+
from metabase.mbql.filter import (
13+
Between,
14+
CaseOption,
15+
EndsWith,
16+
Equal,
17+
Greater,
18+
GreaterEqual,
19+
IsNotNull,
20+
IsNull,
21+
Less,
22+
LessEqual,
23+
NotEqual,
24+
StartsWith,
25+
)
26+
from metabase.mbql.groupby import BinOption, GroupBy, TemporalOption
27+
from metabase.mbql.query import Query
128
from metabase.metabase import Metabase
229
from metabase.resources.card import Card
330
from metabase.resources.database import Database

0 commit comments

Comments
 (0)