isogeo_pysdk.enums.metadata_subresources module

Isogeo API v1 - Enums for Metadata subresources

See: http://help.isogeo.com/api/complete/index.html#operation–resources–id–get

class isogeo_pysdk.enums.metadata_subresources.MetadataSubresources[source]

Bases: enum.Enum

Closed list of accepted Metadata subresources that can be passed in _include queries paramater.

Example:
>>> # parse members and values
>>> print("{0:<30} {1:>20}".format("Enum", "Value"))
>>> for i in MetadataSubresources:
>>>     print("{0:<30} {1:>20}".format(i, i.value))
Enum                                          Value
MetadataSubresources.tags                                  1
MetadataSubresources.link                                    2
MetadataSubresources.url                                     3
>>> # check if a var is an accepted value
>>> print("tags" in MetadataSubresources.__members__)
True
>>> print("Links" in MetadataSubresources.__members__)  # case sensitive
False
>>> print("attributes" in MetadataSubresources.__members__)
False

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

conditions = 'conditions'
contacts = 'contacts'
coordinateSystem = 'coordinate-system'
events = 'events'
featureAttributes = 'feature-attributes'
has_value = <bound method MetadataSubresources.has_value of <enum 'MetadataSubresources'>>[source]
keywords = 'keywords'
layers = 'layers'
limitations = 'limitations'
operations = 'operations'
serviceLayers = 'serviceLayers'
specifications = 'specifications'
tags = 'tags'