GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — document-api-python/tableaudocumentapi/parameter.py at master · kgtdbx/document-api-python Expand file tree/ Copy pathparameter.pyMore file actions 50 lines (37 loc) · 1.15 KB / Copy pathparameter.pyFile metadata and controls50 lines (37 loc) · 1.15 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 import xml.etree.ElementTree as ET from tableaudocumentapi.dbclass import is_valid_dbclass class Parameter(object): """A class representing parameters inside Data Sources.""" def __init__(self, parmxml): """Parameter is usually instantiated by passing in parameter columns in a Data Source. """ self._parameterXML = parmxml self._caption = parmxml.get('caption') self._datatype = parmxml.get('datatype') self._name = parmxml.get('name') self._param_domain_type = parmxml.get('param-domain-type') self._role = parmxml.get('role') self._type = parmxml.get('type') self._value = parmxml.get('value', None) @property def caption(self): return self._caption @property def datatype(self): return self._datatype @property def name(self): return self._name @property def param_domain_type(self): return self._param_domain_type @property def role(self): return self._role @property def type(self): return self._type @property def value(self): return self._value |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |