Did I find the right examples for you? yes no

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/c/u/cubes-HEAD/cubes/auth.py   cubes(Download)
from collections import namedtuple, defaultdict
from .extensions import Extensible
from .browser import Cell, cut_from_string, cut_from_dict, PointCut
from .browser import string_to_drilldown
from .errors import *
                    cut = cut_from_string(cut, cube)
                else:
                    cut = cut_from_dict(cut)
                cut.hidden = True
                restriction_cuts.append(cut)

src/c/u/cubes-1.0alpha/cubes/auth.py   cubes(Download)
from collections import namedtuple, defaultdict
from .extensions import Extensible
from .browser import Cell, cut_from_string, cut_from_dict, PointCut
from .browser import string_to_drilldown
from .errors import *
                    cut = cut_from_string(cut, cube)
                else:
                    cut = cut_from_dict(cut)
                cut.hidden = True
                restriction_cuts.append(cut)

src/c/u/cubes-HEAD/cubes/server/blueprint.py   cubes(Download)
 
from ..workspace import Workspace, SLICER_INFO_KEYS
from ..browser import Cell, SPLIT_DIMENSION_NAME, cut_from_dict
from ..errors import *
from ..extensions import extensions
    if cell_cuts:
        # Override URL cut with the one in report
        cuts = [cut_from_dict(cut) for cut in cell_cuts]
        cell = Cell(g.cube, cuts)
        logger.info("using cell from report specification (URL parameters "