Esempio n. 1
0
class GeoCoverageField(CommonEnum, object):
    valid_values = ValuesFromTable('geo_coverages', field=None)
    value_labels = DictFromTable('geo_coverages',
            value_field='code', key_field=None)
Esempio n. 2
0
class TimelineField(CommonEnum, object):
    valid_values = ValuesFromTable('timelines', field=None)
    value_labels = DictFromTable('timelines',
            value_field='title', key_field=None)
Esempio n. 3
0
class ThematicCategoryField(CommonEnum, object):
    valid_values = ValuesFromTable('thematic_categories', field=None)
    value_labels = DictFromTable('thematic_categories',
            value_field='description', key_field=None)
Esempio n. 4
0
class SourceField(CommonEnum, object):
    valid_values = ValuesFromTable('sources', field=None)
    value_labels = DictFromTable('sources', value_field='short_name', key_field=None)
Esempio n. 5
0
class GMTField(CommonEnum, object):
    valid_values = ValuesFromTable('gmts', field=None)
    value_labels = DictFromTable('gmts', value_field='code',
                                 key_field=None)
Esempio n. 6
0
class IndicatorField(CommonEnum, object):
    valid_values = ValuesFromTable('indicators', field=None)
    value_labels = DictFromTable('indicators', value_field='code',
                                 key_field=None)
Esempio n. 7
0
class TrendField(CommonEnum, object):
    valid_values = ValuesFromTable('trends', field=None)
    value_labels = DictFromTable('trends', value_field='description',
                                 key_field=None)