コード例 #1
0
ファイル: dist.py プロジェクト: rysdyk/serrano
class FieldDistParametizer(Parametizer):
    tree = StrParam(MODELTREE_DEFAULT_ALIAS, choices=trees)
    aware = BoolParam(False)
    nulls = BoolParam(False)
    sort = StrParam()
    cluster = BoolParam(True)
    n = IntParam()
コード例 #2
0
class FieldValuesParametizer(PaginatorParametizer):
    aware = BoolParam(False)
    limit = IntParam(10)
    tree = StrParam(MODELTREE_DEFAULT_ALIAS, choices=trees)
    processor = StrParam('default', choices=pipeline.query_processors)
    query = StrParam()
    random = IntParam()
コード例 #3
0
ファイル: dims.py プロジェクト: cchmc-bmi-os/serrano
class FieldDimsParametizer(Parametizer):
    aware = BoolParam(False)
    cluster = BoolParam(True)
    n = IntParam()
    nulls = BoolParam(False)
    processor = StrParam('default', choices=pipeline.query_processors)
    sort = StrParam()
    tree = StrParam(MODELTREE_DEFAULT_ALIAS, choices=trees)
コード例 #4
0
class ConceptParametizer(Parametizer):
    "Supported params and their defaults for Concept endpoints."

    tree = StrParam(MODELTREE_DEFAULT_ALIAS, choices=trees)
    sort = StrParam()
    order = StrParam('asc')
    unpublished = BoolParam(False)
    brief = BoolParam(False)
    query = StrParam()
    limit = IntParam()
コード例 #5
0
class ConceptParametizer(Parametizer):
    "Supported params and their defaults for Concept endpoints."

    sort = StrParam()
    order = StrParam('asc')
    unpublished = BoolParam(False)
    embed = BoolParam(False)
    brief = BoolParam(False)
    query = StrParam()
    limit = IntParam()
コード例 #6
0
class FieldParametizer(Parametizer):
    "Supported params and their defaults for Field endpoints."

    sort = StrParam()
    order = StrParam('asc')
    unpublished = BoolParam(False)
    brief = BoolParam(False)
    query = StrParam()
    limit = IntParam()

    # Not implemented
    offset = IntParam()
    page = IntParam()
コード例 #7
0
ファイル: base.py プロジェクト: cchmc-bmi-os/serrano
class FieldParametizer(Parametizer):
    "Supported params and their defaults for Field endpoints."

    tree = StrParam(MODELTREE_DEFAULT_ALIAS, choices=trees)
    sort = StrParam()
    order = StrParam('asc')
    unpublished = BoolParam(False)
    brief = BoolParam(False)
    query = StrParam()
    limit = IntParam()

    # Not implemented
    offset = IntParam()
    page = IntParam()
コード例 #8
0
class QueryParametizer(Parametizer):
    tree = StrParam(MODELTREE_DEFAULT_ALIAS, choices=trees)
    processor = StrParam('default', choices=pipeline.query_processors)
コード例 #9
0
class FieldStatsParametizer(Parametizer):
    aware = BoolParam(False)
    tree = StrParam(MODELTREE_DEFAULT_ALIAS, choices=trees)
    processor = StrParam('default', choices=pipeline.query_processors)
コード例 #10
0
ファイル: values.py プロジェクト: rysdyk/serrano
class FieldValuesParametizer(PaginatorParametizer):
    limit = IntParam(10)
    aware = BoolParam(False)
    query = StrParam()
    random = IntParam()
コード例 #11
0
class PreviewParametizer(PaginatorParametizer):
    tree = StrParam(MODELTREE_DEFAULT_ALIAS, choices=trees)
コード例 #12
0
ファイル: exporter.py プロジェクト: rysdyk/serrano
class ExporterParametizer(Parametizer):
    limit = IntParam(50)
    tree = StrParam(MODELTREE_DEFAULT_ALIAS, choices=trees)
コード例 #13
0
class ExporterParametizer(Parametizer):
    limit = IntParam(50)
    processor = StrParam('default', choices=pipeline.query_processors)
    reader = StrParam('cached', choices=BaseExporter.readers)
    tree = StrParam(MODELTREE_DEFAULT_ALIAS, choices=trees)
コード例 #14
0
class CountStatsParametizer(Parametizer):
    aware = BoolParam(False)
    refresh = BoolParam(False)
    processor = StrParam('default', choices=pipeline.query_processors)