isogeo_pysdk.enums.bulk_targets module

Isogeo API v1 - Enums for Resource entity accepted kinds

See: http://help.isogeo.com/api/complete/index.html#definition-application

class isogeo_pysdk.enums.bulk_targets.BulkTargets(value)

Bases: enum.Enum

Closed list of accepted Application (metadata subresource) kinds in Isogeo API.

Example
>>> # parse members and values
>>> print("{0:<30} {1:>20}".format("Enum", "Value"))
>>> for md_kind in BulkTargets:
>>>     print("{0:<30} {1:>20}".format(md_kind, md_kind.value))
Enum                                          Value
BulkTargets.title                                   1
BulkTargets.abstract                                2
BulkTargets.keywords                                3
>>> # check if a var is an accepted value
>>> print("title" in BulkTargets.__members__)
True
>>> print("Delete" in BulkTargets.__members__)  # case sensitive
False
>>> print("truncate" in BulkTargets.__members__)
False

See: https://docs.python.org/3/library/enum.html

abstract = 2
catalogs = 4
codePage = 12
collectionContext = 6
collectionMethod = 7
contacts = 5
distance = 10
keywords = 3
scale = 11
title = 1
validFrom = 8
validityComment = 9