Commit dfb3830d authored by mouadh's avatar mouadh

generate_resp function discover_schema_rowsets_response

parent 66fae1d5
...@@ -402,630 +402,920 @@ class XmlaDiscoverTools(): ...@@ -402,630 +402,920 @@ class XmlaDiscoverTools():
# TODO delete # TODO delete
if request.Properties.PropertyList.Catalog is not None: if request.Properties.PropertyList.Catalog is not None:
return etree.fromstring(""" rows = [{'SchemaName': 'DBSCHEMA_CATALOGS',
<return> 'SchemaGuid': 'C8B52211-5CF3-11CE-ADE5-00AA0044773D',
<root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" 'restrictions': {'restriction_names': ['CATALOG_NAME'],
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 'restriction_types': ['string']},
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 'RestrictionsMask': '1'
""" + discover_schema_rowsets_xsd + """ },
<row> # {'SchemaName': 'DBSCHEMA_TABLES',
<SchemaName>DBSCHEMA_CATALOGS</SchemaName> # 'SchemaGuid': 'C8B52229-5CF3-11CE-ADE5-00AA0044773D',
<SchemaGuid>C8B52211-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid> # 'restrictions': {
<Restrictions> # 'restriction_names': ['TABLE_CATALOG', 'TABLE_SCHEMA', 'TABLE_NAME', 'TABLE_TYPE',
<Name>CATALOG_NAME</Name> # 'TABLE_OLAP_TYPE'],
<Type>string</Type> # 'restriction_types': ['string', 'string', 'string', 'string', 'string']},
</Restrictions> # 'RestrictionsMask': '31'
<RestrictionsMask>1</RestrictionsMask> # },
</row> # {'SchemaName': 'DISCOVER_DATASOURCES',
<row> # 'SchemaGuid': '06C03D41-F66D-49F3-B1B8-987F7AF4CF18',
<SchemaName>DBSCHEMA_TABLES</SchemaName> # 'restrictions': {
<SchemaGuid>C8B52229-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid> # 'restriction_names': ['DataSourceName', 'URL', 'ProviderName', 'ProviderType',
<Restrictions> # 'AuthenticationMode'],
<Name>TABLE_CATALOG</Name> # 'restriction_types': ['string', 'string', 'string', 'string', 'string']},
<Type>string</Type> # 'RestrictionsMask': '31'
</Restrictions> # },
<Restrictions> # {'SchemaName': 'DISCOVER_INSTANCES',
<Name>TABLE_SCHEMA</Name> # 'SchemaGuid': '20518699-2474-4C15-9885-0E947EC7A7E3',
<Type>string</Type> # 'restrictions': {
</Restrictions> # 'restriction_names': ['INSTANCE_NAME'],
<Restrictions> # 'restriction_types': ['string']},
<Name>TABLE_NAME</Name> # 'RestrictionsMask': '1'
<Type>string</Type> # },
</Restrictions> # {'SchemaName': 'DISCOVER_KEYWORDS',
<Restrictions> # 'SchemaGuid': '1426C443-4CDD-4A40-8F45-572FAB9BBAA1',
<Name>TABLE_TYPE</Name> # 'restrictions': {
<Type>string</Type> # 'restriction_names': ['Keyword'],
</Restrictions> # 'restriction_types': ['string']},
<Restrictions> # 'RestrictionsMask': '1'
<Name>TABLE_OLAP_TYPE</Name> # },
<Type>string</Type> {'SchemaName': 'DISCOVER_LITERALS',
</Restrictions> 'SchemaGuid': 'C3EF5ECB-0A07-4665-A140-B075722DBDC2',
<RestrictionsMask>31</RestrictionsMask> 'restrictions': {
</row> 'restriction_names': ['LiteralName'],
<row> 'restriction_types': ['string']},
<SchemaName>DISCOVER_DATASOURCES</SchemaName> 'RestrictionsMask': '1'
<SchemaGuid>06C03D41-F66D-49F3-B1B8-987F7AF4CF18</SchemaGuid> },
<Restrictions> {'SchemaName': 'DISCOVER_PROPERTIES',
<Name>DataSourceName</Name> 'SchemaGuid': '4B40ADFB-8B09-4758-97BB-636E8AE97BCF',
<Type>string</Type> 'restrictions': {
</Restrictions> 'restriction_names': ['PropertyName'],
<Restrictions> 'restriction_types': ['string']},
<Name>URL</Name> 'RestrictionsMask': '1'
<Type>string</Type> },
</Restrictions> {'SchemaName': 'DISCOVER_SCHEMA_ROWSETS',
<Restrictions> 'SchemaGuid': 'EEA0302B-7922-4992-8991-0E605D0E5593',
<Name>ProviderName</Name> 'restrictions': {
<Type>string</Type> 'restriction_names': ['SchemaName'],
</Restrictions> 'restriction_types': ['string']},
<Restrictions> 'RestrictionsMask': '1'
<Name>ProviderType</Name> },
<Type>string</Type> {'SchemaName': 'DMSCHEMA_MINING_MODELS',
</Restrictions> 'SchemaGuid': '3ADD8A77-D8B9-11D2-8D2A-00E029154FDE',
<Restrictions> 'restrictions': {
<Name>AuthenticationMode</Name> 'restriction_names': ['MODEL_CATALOG',
<Type>string</Type> 'MODEL_SCHEMA',
</Restrictions> 'MODEL_NAME',
<RestrictionsMask>31</RestrictionsMask> 'MODEL_TYPE',
</row> 'SERVICE_NAME',
<row> 'SERVICE_TYPE_ID',
<SchemaName>DISCOVER_INSTANCES</SchemaName> 'MINING_STRUCTURE'],
<SchemaGuid>20518699-2474-4C15-9885-0E947EC7A7E3</SchemaGuid> 'restriction_types': ['string',
<Restrictions> 'string',
<Name>INSTANCE_NAME</Name> 'string',
<Type>string</Type> 'string',
</Restrictions> 'string',
<RestrictionsMask>1</RestrictionsMask> 'unsignedInt',
</row> 'string']},
<row> 'RestrictionsMask': '127'
<SchemaName>DISCOVER_KEYWORDS</SchemaName> },
<SchemaGuid>1426C443-4CDD-4A40-8F45-572FAB9BBAA1</SchemaGuid> {'SchemaName': 'MDSCHEMA_ACTIONS',
<Restrictions> 'SchemaGuid': 'A07CCD08-8148-11D0-87BB-00C04FC33942',
<Name>Keyword</Name> 'restrictions': {
<Type>string</Type> 'restriction_names': ['CATALOG_NAME',
</Restrictions> 'SCHEMA_NAME',
<RestrictionsMask>1</RestrictionsMask> 'CUBE_NAME',
</row> 'ACTION_NAME',
<row> 'ACTION_TYPE',
<SchemaName>DISCOVER_LITERALS</SchemaName> 'COORDINATE',
<SchemaGuid>C3EF5ECB-0A07-4665-A140-B075722DBDC2</SchemaGuid> 'COORDINATE_TYPE',
<Restrictions> 'INVOCATION',
<Name>LiteralName</Name> 'CUBE_SOURCE'],
<Type>string</Type> 'restriction_types': ['string',
</Restrictions> 'string',
<RestrictionsMask>1</RestrictionsMask> 'string',
</row> 'string',
<row> 'int',
<SchemaName>DISCOVER_PROPERTIES</SchemaName> 'string',
<SchemaGuid>4B40ADFB-8B09-4758-97BB-636E8AE97BCF</SchemaGuid> 'int',
<Restrictions> 'int',
<Name>PropertyName</Name> 'unsignedShort']},
<Type>string</Type> 'RestrictionsMask': '511'
</Restrictions> },
<RestrictionsMask>1</RestrictionsMask> {'SchemaName': 'MDSCHEMA_CUBES',
</row> 'SchemaGuid': 'C8B522D8-5CF3-11CE-ADE5-00AA0044773D',
<row> 'restrictions': {
<SchemaName>DISCOVER_SCHEMA_ROWSETS</SchemaName> 'restriction_names': ['CATALOG_NAME',
<SchemaGuid>EEA0302B-7922-4992-8991-0E605D0E5593</SchemaGuid> 'SCHEMA_NAME',
<Restrictions> 'CUBE_NAME',
<Name>SchemaName</Name> 'CUBE_SOURCE',
<Type>string</Type> 'BASE_CUBE_NAME'],
</Restrictions> 'restriction_types': ['string',
<RestrictionsMask>1</RestrictionsMask> 'string',
</row> 'string',
<row> 'unsignedShort',
<SchemaName>DMSCHEMA_MINING_MODELS</SchemaName> 'string']},
<SchemaGuid>3ADD8A77-D8B9-11D2-8D2A-00E029154FDE</SchemaGuid> 'RestrictionsMask': '31'
<Restrictions> },
<Name>MODEL_CATALOG</Name> {'SchemaName': 'MDSCHEMA_DIMENSIONS',
<Type>string</Type> 'SchemaGuid': 'C8B522D9-5CF3-11CE-ADE5-00AA0044773D',
</Restrictions> 'restrictions': {
<Restrictions> 'restriction_names': ['CATALOG_NAME',
<Name>MODEL_SCHEMA</Name> 'SCHEMA_NAME',
<Type>string</Type> 'CUBE_NAME',
</Restrictions> 'DIMENSION_NAME',
<Restrictions> 'DIMENSION_UNIQUE_NAME',
<Name>MODEL_NAME</Name> 'CUBE_SOURCE',
<Type>string</Type> 'DIMENSION_VISIBILITY'],
</Restrictions> 'restriction_types': ['string',
<Restrictions> 'string',
<Name>MODEL_TYPE</Name> 'string',
<Type>string</Type> 'string',
</Restrictions> 'string',
<Restrictions> 'unsignedShort',
<Name>SERVICE_NAME</Name> 'unsignedShort']},
<Type>string</Type> 'RestrictionsMask': '127'
</Restrictions> },
<Restrictions> {'SchemaName': 'MDSCHEMA_FUNCTIONS',
<Name>SERVICE_TYPE_ID</Name> 'SchemaGuid': 'A07CCD07-8148-11D0-87BB-00C04FC33942',
<Type>unsignedInt</Type> 'restrictions': {
</Restrictions> 'restriction_names': ['LIBRARY_NAME',
<Restrictions> 'INTERFACE_NAME',
<Name>MINING_STRUCTURE</Name> 'FUNCTION_NAME',
<Type>string</Type> 'ORIGIN'],
</Restrictions> 'restriction_types': ['string',
<RestrictionsMask>127</RestrictionsMask> 'string',
</row> 'string',
<row> 'int']},
<SchemaName>MDSCHEMA_ACTIONS</SchemaName> 'RestrictionsMask': '15'
<SchemaGuid>A07CCD08-8148-11D0-87BB-00C04FC33942</SchemaGuid> },
<Restrictions> {'SchemaName': 'MDSCHEMA_HIERARCHIES',
<Name>CATALOG_NAME</Name> 'SchemaGuid': 'C8B522DA-5CF3-11CE-ADE5-00AA0044773D',
<Type>string</Type> 'restrictions': {
</Restrictions> 'restriction_names': ['CATALOG_NAME',
<Restrictions> 'SCHEMA_NAME',
<Name>SCHEMA_NAME</Name> 'CUBE_NAME',
<Type>string</Type> 'DIMENSION_UNIQUE_NAME',
</Restrictions> 'HIERARCHY_NAME',
<Restrictions> 'HIERARCHY_UNIQUE_NAME',
<Name>CUBE_NAME</Name> 'HIERARCHY_ORIGIN',
<Type>string</Type> 'CUBE_SOURCE',
</Restrictions> 'HIERARCHY_VISIBILITY'],
<Restrictions> 'restriction_types': ['string',
<Name>ACTION_NAME</Name> 'string',
<Type>string</Type> 'string',
</Restrictions> 'string',
<Restrictions> 'string',
<Name>ACTION_TYPE</Name> 'string',
<Type>int</Type> 'unsignedShort',
</Restrictions> 'unsignedShort',
<Restrictions> 'unsignedShort']},
<Name>COORDINATE</Name> 'RestrictionsMask': '511'
<Type>string</Type> },
</Restrictions> {'SchemaName': 'MDSCHEMA_INPUT_DATASOURCES',
<Restrictions> 'SchemaGuid': 'A07CCD32-8148-11D0-87BB-00C04FC33942',
<Name>COORDINATE_TYPE</Name> 'restrictions': {
<Type>int</Type> 'restriction_names': ['CATALOG_NAME',
</Restrictions> 'SCHEMA_NAME',
<Restrictions> 'DATASOURCE_NAME',
<Name>INVOCATION</Name> 'DATASOURCE_TYPE'],
<Type>int</Type> 'restriction_types': ['string',
</Restrictions> 'string',
<Restrictions> 'string',
<Name>CUBE_SOURCE</Name> 'string']},
<Type>unsignedShort</Type> 'RestrictionsMask': '15'
</Restrictions> },
<RestrictionsMask>511</RestrictionsMask> {'SchemaName': 'MDSCHEMA_KPIS',
</row> 'SchemaGuid': '2AE44109-ED3D-4842-B16F-B694D1CB0E3F',
<row> 'restrictions': {
<SchemaName>MDSCHEMA_CUBES</SchemaName> 'restriction_names': ['CATALOG_NAME',
<SchemaGuid>C8B522D8-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid> 'SCHEMA_NAME',
<Restrictions> 'CUBE_NAME',
<Name>CATALOG_NAME</Name> 'KPI_NAME',
<Type>string</Type> 'CUBE_SOURCE'],
</Restrictions> 'restriction_types': ['string',
<Restrictions> 'string',
<Name>SCHEMA_NAME</Name> 'string',
<Type>string</Type> 'string',
</Restrictions> 'unsignedShort']},
<Restrictions> 'RestrictionsMask': '31'
<Name>CUBE_NAME</Name> },
<Type>string</Type> {'SchemaName': 'MDSCHEMA_LEVELS',
</Restrictions> 'SchemaGuid': 'C8B522DB-5CF3-11CE-ADE5-00AA0044773D',
<Restrictions> 'restrictions': {
<Name>CUBE_SOURCE</Name> 'restriction_names': ['CATALOG_NAME',
<Type>unsignedShort</Type> 'SCHEMA_NAME',
</Restrictions> 'CUBE_NAME',
<Restrictions> 'DIMENSION_UNIQUE_NAME',
<Name>BASE_CUBE_NAME</Name> 'HIERARCHY_UNIQUE_NAME',
<Type>string</Type> 'LEVEL_NAME',
</Restrictions> 'LEVEL_UNIQUE_NAME',
<RestrictionsMask>31</RestrictionsMask> 'LEVEL_ORIGIN',
</row> 'CUBE_SOURCE',
<row> 'LEVEL_VISIBILITY'],
<SchemaName>MDSCHEMA_DIMENSIONS</SchemaName> 'restriction_types': ['string',
<SchemaGuid>C8B522D9-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid> 'string',
<Restrictions> 'string',
<Name>CATALOG_NAME</Name> 'string',
<Type>string</Type> 'string',
</Restrictions> 'string',
<Restrictions> 'string',
<Name>SCHEMA_NAME</Name> 'unsignedShort',
<Type>string</Type> 'unsignedShort',
</Restrictions> 'unsignedShort']},
<Restrictions> 'RestrictionsMask': '1023'
<Name>CUBE_NAME</Name> },
<Type>string</Type> {'SchemaName': 'MDSCHEMA_MEASUREGROUPS',
</Restrictions> 'SchemaGuid': 'E1625EBF-FA96-42FD-BEA6-DB90ADAFD96B',
<Restrictions> 'restrictions': {
<Name>DIMENSION_NAME</Name> 'restriction_names': ['CATALOG_NAME',
<Type>string</Type> 'SCHEMA_NAME',
</Restrictions> 'CUBE_NAME',
<Restrictions> 'MEASUREGROUP_NAME'],
<Name>DIMENSION_UNIQUE_NAME</Name> 'restriction_types': ['string',
<Type>string</Type> 'string',
</Restrictions> 'string',
<Restrictions> 'string']},
<Name>CUBE_SOURCE</Name> 'RestrictionsMask': '15'
<Type>unsignedShort</Type> },
</Restrictions> {'SchemaName': 'MDSCHEMA_MEASUREGROUP_DIMENSIONS',
<Restrictions> 'SchemaGuid': 'A07CCD33-8148-11D0-87BB-00C04FC33942',
<Name>DIMENSION_VISIBILITY</Name> 'restrictions': {
<Type>unsignedShort</Type> 'restriction_names': ['CATALOG_NAME',
</Restrictions> 'SCHEMA_NAME',
<RestrictionsMask>127</RestrictionsMask> 'CUBE_NAME',
</row> 'MEASUREGROUP_NAME',
<row> 'DIMENSION_UNIQUE_NAME',
<SchemaName>MDSCHEMA_FUNCTIONS</SchemaName> 'DIMENSION_VISIBILITY'],
<SchemaGuid>A07CCD07-8148-11D0-87BB-00C04FC33942</SchemaGuid> 'restriction_types': ['string',
<Restrictions> 'string',
<Name>LIBRARY_NAME</Name> 'string',
<Type>string</Type> 'string',
</Restrictions> 'string',
<Restrictions> 'unsignedShort']},
<Name>INTERFACE_NAME</Name> 'RestrictionsMask': '63'
<Type>string</Type> },
</Restrictions> {'SchemaName': 'MDSCHEMA_MEASURES',
<Restrictions> 'SchemaGuid': 'C8B522DC-5CF3-11CE-ADE5-00AA0044773D',
<Name>FUNCTION_NAME</Name> 'restrictions': {
<Type>string</Type> 'restriction_names': ['CATALOG_NAME',
</Restrictions> 'SCHEMA_NAME',
<Restrictions> 'CUBE_NAME',
<Name>ORIGIN</Name> 'MEASURE_NAME',
<Type>int</Type> 'MEASURE_UNIQUE_NAME',
</Restrictions> 'MEASUREGROUP_NAME',
<RestrictionsMask>15</RestrictionsMask> 'CUBE_SOURCE',
</row> 'MEASURE_VISIBILITY'],
<row> 'restriction_types': ['string',
<SchemaName>MDSCHEMA_HIERARCHIES</SchemaName> 'string',
<SchemaGuid>C8B522DA-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid> 'string',
<Restrictions> 'string',
<Name>CATALOG_NAME</Name> 'string',
<Type>string</Type> 'string',
</Restrictions> 'unsignedShort',
<Restrictions> 'unsignedShort']},
<Name>SCHEMA_NAME</Name> 'RestrictionsMask': '255'
<Type>string</Type> },
</Restrictions> {'SchemaName': 'MDSCHEMA_MEMBERS',
<Restrictions> 'SchemaGuid': 'C8B522DE-5CF3-11CE-ADE5-00AA0044773D',
<Name>CUBE_NAME</Name> 'restrictions': {
<Type>string</Type> 'restriction_names': ['CATALOG_NAME',
</Restrictions> 'SCHEMA_NAME',
<Restrictions> 'CUBE_NAME',
<Name>DIMENSION_UNIQUE_NAME</Name> 'DIMENSION_UNIQUE_NAME',
<Type>string</Type> 'HIERARCHY_UNIQUE_NAME',
</Restrictions> 'LEVEL_UNIQUE_NAME',
<Restrictions> 'LEVEL_NUMBER',
<Name>HIERARCHY_NAME</Name> 'MEMBER_NAME',
<Type>string</Type> 'MEMBER_UNIQUE_NAME',
</Restrictions> 'MEMBER_CAPTION',
<Restrictions> 'MEMBER_TYPE',
<Name>HIERARCHY_UNIQUE_NAME</Name> 'TREE_OP',
<Type>string</Type> 'CUBE_SOURCE'],
</Restrictions> 'restriction_types': ['string',
<Restrictions> 'string',
<Name>HIERARCHY_ORIGIN</Name> 'string',
<Type>unsignedShort</Type> 'string',
</Restrictions> 'string',
<Restrictions> 'string',
<Name>CUBE_SOURCE</Name> 'unsignedInt',
<Type>unsignedShort</Type> 'string',
</Restrictions> 'string',
<Restrictions> 'string',
<Name>HIERARCHY_VISIBILITY</Name> 'int',
<Type>unsignedShort</Type> 'int',
</Restrictions> 'unsignedShort']},
<RestrictionsMask>511</RestrictionsMask> 'RestrictionsMask': '8191'
</row> },
<row> {'SchemaName': 'MDSCHEMA_PROPERTIES',
<SchemaName>MDSCHEMA_INPUT_DATASOURCES</SchemaName> 'SchemaGuid': 'C8B522DD-5CF3-11CE-ADE5-00AA0044773D',
<SchemaGuid>A07CCD32-8148-11D0-87BB-00C04FC33942</SchemaGuid> 'restrictions': {
<Restrictions> 'restriction_names': ['CATALOG_NAME',
<Name>CATALOG_NAME</Name> 'SCHEMA_NAME',
<Type>string</Type> 'CUBE_NAME',
</Restrictions> 'DIMENSION_UNIQUE_NAME',
<Restrictions> 'HIERARCHY_UNIQUE_NAME',
<Name>SCHEMA_NAME</Name> 'LEVEL_UNIQUE_NAME',
<Type>string</Type> 'MEMBER_UNIQUE_NAME',
</Restrictions> 'PROPERTY_NAME',
<Restrictions> 'PROPERTY_TYPE',
<Name>DATASOURCE_NAME</Name> 'PROPERTY_CONTENT_TYPE',
<Type>string</Type> 'PROPERTY_ORIGIN',
</Restrictions> 'CUBE_SOURCE',
<Restrictions> 'PROPERTY_VISIBILITY'],
<Name>DATASOURCE_TYPE</Name> 'restriction_types': ['string',
<Type>string</Type> 'string',
</Restrictions> 'string',
<RestrictionsMask>15</RestrictionsMask> 'string',
</row> 'string',
<row> 'string',
<SchemaName>MDSCHEMA_KPIS</SchemaName> 'string',
<SchemaGuid>2AE44109-ED3D-4842-B16F-B694D1CB0E3F</SchemaGuid> 'string',
<Restrictions> 'string',
<Name>CATALOG_NAME</Name> 'string',
<Type>string</Type> 'unsignedShort',
</Restrictions> 'unsignedShort',
<Restrictions> 'unsignedShort']},
<Name>SCHEMA_NAME</Name> 'RestrictionsMask': '8191'
<Type>string</Type> },
</Restrictions> {'SchemaName': 'MDSCHEMA_SETS',
<Restrictions> 'SchemaGuid': 'A07CCD0B-8148-11D0-87BB-00C04FC33942',
<Name>CUBE_NAME</Name> 'restrictions': {
<Type>string</Type> 'restriction_names': ['CATALOG_NAME',
</Restrictions> 'SCHEMA_NAME',
<Restrictions> 'CUBE_NAME',
<Name>KPI_NAME</Name> 'SET_NAME',
<Type>string</Type> 'SCOPE'],
</Restrictions> 'restriction_types': ['string',
<Restrictions> 'string',
<Name>CUBE_SOURCE</Name> 'string',
<Type>unsignedShort</Type> 'string',
</Restrictions> 'int']},
<RestrictionsMask>31</RestrictionsMask> 'RestrictionsMask': '31'
</row> },
<row>
<SchemaName>MDSCHEMA_LEVELS</SchemaName> ]
<SchemaGuid>C8B522DB-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid>
<Restrictions> return generate_resp(rows)
<Name>CATALOG_NAME</Name>
<Type>string</Type>
</Restrictions> # return etree.fromstring("""
<Restrictions> # <return>
<Name>SCHEMA_NAME</Name> # <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset"
<Type>string</Type> # xmlns:xsd="http://www.w3.org/2001/XMLSchema"
</Restrictions> # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Restrictions> # """ + discover_schema_rowsets_xsd + """
<Name>CUBE_NAME</Name> # <row>
<Type>string</Type> # <SchemaName>DBSCHEMA_CATALOGS</SchemaName>
</Restrictions> # <SchemaGuid>C8B52211-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid>
<Restrictions> # <Restrictions>
<Name>DIMENSION_UNIQUE_NAME</Name> # <Name>CATALOG_NAME</Name>
<Type>string</Type> # <Type>string</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <RestrictionsMask>1</RestrictionsMask>
<Name>HIERARCHY_UNIQUE_NAME</Name> # </row>
<Type>string</Type>
</Restrictions> #
<Restrictions> # <row>
<Name>LEVEL_NAME</Name> # <SchemaName>DISCOVER_LITERALS</SchemaName>
<Type>string</Type> # <SchemaGuid>C3EF5ECB-0A07-4665-A140-B075722DBDC2</SchemaGuid>
</Restrictions> # <Restrictions>
<Restrictions> # <Name>LiteralName</Name>
<Name>LEVEL_UNIQUE_NAME</Name> # <Type>string</Type>
<Type>string</Type> # </Restrictions>
</Restrictions> # <RestrictionsMask>1</RestrictionsMask>
<Restrictions> # </row>
<Name>LEVEL_ORIGIN</Name> # <row>
<Type>unsignedShort</Type> # <SchemaName>DISCOVER_PROPERTIES</SchemaName>
</Restrictions> # <SchemaGuid>4B40ADFB-8B09-4758-97BB-636E8AE97BCF</SchemaGuid>
<Restrictions> # <Restrictions>
<Name>CUBE_SOURCE</Name> # <Name>PropertyName</Name>
<Type>unsignedShort</Type> # <Type>string</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <RestrictionsMask>1</RestrictionsMask>
<Name>LEVEL_VISIBILITY</Name> # </row>
<Type>unsignedShort</Type> # <row>
</Restrictions> # <SchemaName>DISCOVER_SCHEMA_ROWSETS</SchemaName>
<RestrictionsMask>1023</RestrictionsMask> # <SchemaGuid>EEA0302B-7922-4992-8991-0E605D0E5593</SchemaGuid>
</row> # <Restrictions>
<row> # <Name>SchemaName</Name>
<SchemaName>MDSCHEMA_MEASUREGROUPS</SchemaName> # <Type>string</Type>
<SchemaGuid>E1625EBF-FA96-42FD-BEA6-DB90ADAFD96B</SchemaGuid> # </Restrictions>
<Restrictions> # <RestrictionsMask>1</RestrictionsMask>
<Name>CATALOG_NAME</Name> # </row>
<Type>string</Type> # <row>
</Restrictions> # <SchemaName>DMSCHEMA_MINING_MODELS</SchemaName>
<Restrictions> # <SchemaGuid>3ADD8A77-D8B9-11D2-8D2A-00E029154FDE</SchemaGuid>
<Name>SCHEMA_NAME</Name> # <Restrictions>
<Type>string</Type> # <Name>MODEL_CATALOG</Name>
</Restrictions> # <Type>string</Type>
<Restrictions> # </Restrictions>
<Name>CUBE_NAME</Name> # <Restrictions>
<Type>string</Type> # <Name>MODEL_SCHEMA</Name>
</Restrictions> # <Type>string</Type>
<Restrictions> # </Restrictions>
<Name>MEASUREGROUP_NAME</Name> # <Restrictions>
<Type>string</Type> # <Name>MODEL_NAME</Name>
</Restrictions> # <Type>string</Type>
<RestrictionsMask>15</RestrictionsMask> # </Restrictions>
</row> # <Restrictions>
<row> # <Name>MODEL_TYPE</Name>
<SchemaName>MDSCHEMA_MEASUREGROUP_DIMENSIONS</SchemaName> # <Type>string</Type>
<SchemaGuid>A07CCD33-8148-11D0-87BB-00C04FC33942</SchemaGuid> # </Restrictions>
<Restrictions> # <Restrictions>
<Name>CATALOG_NAME</Name> # <Name>SERVICE_NAME</Name>
<Type>string</Type> # <Type>string</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <Restrictions>
<Name>SCHEMA_NAME</Name> # <Name>SERVICE_TYPE_ID</Name>
<Type>string</Type> # <Type>unsignedInt</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <Restrictions>
<Name>CUBE_NAME</Name> # <Name>MINING_STRUCTURE</Name>
<Type>string</Type> # <Type>string</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <RestrictionsMask>127</RestrictionsMask>
<Name>MEASUREGROUP_NAME</Name> # </row>
<Type>string</Type> # <row>
</Restrictions> # <SchemaName>MDSCHEMA_ACTIONS</SchemaName>
<Restrictions> # <SchemaGuid>A07CCD08-8148-11D0-87BB-00C04FC33942</SchemaGuid>
<Name>DIMENSION_UNIQUE_NAME</Name> # <Restrictions>
<Type>string</Type> # <Name>CATALOG_NAME</Name>
</Restrictions> # <Type>string</Type>
<Restrictions> # </Restrictions>
<Name>DIMENSION_VISIBILITY</Name> # <Restrictions>
<Type>unsignedShort</Type> # <Name>SCHEMA_NAME</Name>
</Restrictions> # <Type>string</Type>
<RestrictionsMask>63</RestrictionsMask> # </Restrictions>
</row> # <Restrictions>
<row> # <Name>CUBE_NAME</Name>
<SchemaName>MDSCHEMA_MEASURES</SchemaName> # <Type>string</Type>
<SchemaGuid>C8B522DC-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid> # </Restrictions>
<Restrictions> # <Restrictions>
<Name>CATALOG_NAME</Name> # <Name>ACTION_NAME</Name>
<Type>string</Type> # <Type>string</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <Restrictions>
<Name>SCHEMA_NAME</Name> # <Name>ACTION_TYPE</Name>
<Type>string</Type> # <Type>int</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <Restrictions>
<Name>CUBE_NAME</Name> # <Name>COORDINATE</Name>
<Type>string</Type> # <Type>string</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <Restrictions>
<Name>MEASURE_NAME</Name> # <Name>COORDINATE_TYPE</Name>
<Type>string</Type> # <Type>int</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <Restrictions>
<Name>MEASURE_UNIQUE_NAME</Name> # <Name>INVOCATION</Name>
<Type>string</Type> # <Type>int</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <Restrictions>
<Name>MEASUREGROUP_NAME</Name> # <Name>CUBE_SOURCE</Name>
<Type>string</Type> # <Type>unsignedShort</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <RestrictionsMask>511</RestrictionsMask>
<Name>CUBE_SOURCE</Name> # </row>
<Type>unsignedShort</Type> # <row>
</Restrictions> # <SchemaName>MDSCHEMA_CUBES</SchemaName>
<Restrictions> # <SchemaGuid>C8B522D8-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid>
<Name>MEASURE_VISIBILITY</Name> # <Restrictions>
<Type>unsignedShort</Type> # <Name>CATALOG_NAME</Name>
</Restrictions> # <Type>string</Type>
<RestrictionsMask>255</RestrictionsMask> # </Restrictions>
</row> # <Restrictions>
<row> # <Name>SCHEMA_NAME</Name>
<SchemaName>MDSCHEMA_MEMBERS</SchemaName> # <Type>string</Type>
<SchemaGuid>C8B522DE-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid> # </Restrictions>
<Restrictions> # <Restrictions>
<Name>CATALOG_NAME</Name> # <Name>CUBE_NAME</Name>
<Type>string</Type> # <Type>string</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <Restrictions>
<Name>SCHEMA_NAME</Name> # <Name>CUBE_SOURCE</Name>
<Type>string</Type> # <Type>unsignedShort</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <Restrictions>
<Name>CUBE_NAME</Name> # <Name>BASE_CUBE_NAME</Name>
<Type>string</Type> # <Type>string</Type>
</Restrictions> # </Restrictions>
<Restrictions> # <RestrictionsMask>31</RestrictionsMask>
<Name>DIMENSION_UNIQUE_NAME</Name> # </row>
<Type>string</Type> # <row>
</Restrictions> # <SchemaName>MDSCHEMA_DIMENSIONS</SchemaName>
<Restrictions> # <SchemaGuid>C8B522D9-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid>
<Name>HIERARCHY_UNIQUE_NAME</Name> # <Restrictions>
<Type>string</Type> # <Name>CATALOG_NAME</Name>
</Restrictions> # <Type>string</Type>
<Restrictions> # </Restrictions>
<Name>LEVEL_UNIQUE_NAME</Name> # <Restrictions>
<Type>string</Type> # <Name>SCHEMA_NAME</Name>
</Restrictions> # <Type>string</Type>
<Restrictions> # </Restrictions>
<Name>LEVEL_NUMBER</Name> # <Restrictions>
<Type>unsignedInt</Type> # <Name>CUBE_NAME</Name>
</Restrictions> # <Type>string</Type>
<Restrictions> # </Restrictions>
<Name>MEMBER_NAME</Name> # <Restrictions>
<Type>string</Type> # <Name>DIMENSION_NAME</Name>
</Restrictions> # <Type>string</Type>
<Restrictions> # </Restrictions>
<Name>MEMBER_UNIQUE_NAME</Name> # <Restrictions>
<Type>string</Type> # <Name>DIMENSION_UNIQUE_NAME</Name>
</Restrictions> # <Type>string</Type>
<Restrictions> # </Restrictions>
<Name>MEMBER_CAPTION</Name> # <Restrictions>
<Type>string</Type> # <Name>CUBE_SOURCE</Name>
</Restrictions> # <Type>unsignedShort</Type>
<Restrictions> # </Restrictions>
<Name>MEMBER_TYPE</Name> # <Restrictions>
<Type>int</Type> # <Name>DIMENSION_VISIBILITY</Name>
</Restrictions> # <Type>unsignedShort</Type>
<Restrictions> # </Restrictions>
<Name>TREE_OP</Name> # <RestrictionsMask>127</RestrictionsMask>
<Type>int</Type> # </row>
</Restrictions> # <row>
<Restrictions> # <SchemaName>MDSCHEMA_FUNCTIONS</SchemaName>
<Name>CUBE_SOURCE</Name> # <SchemaGuid>A07CCD07-8148-11D0-87BB-00C04FC33942</SchemaGuid>
<Type>unsignedShort</Type> # <Restrictions>
</Restrictions> # <Name>LIBRARY_NAME</Name>
<RestrictionsMask>8191</RestrictionsMask> # <Type>string</Type>
</row> # </Restrictions>
<row> # <Restrictions>
<SchemaName>MDSCHEMA_PROPERTIES</SchemaName> # <Name>INTERFACE_NAME</Name>
<SchemaGuid>C8B522DD-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid> # <Type>string</Type>
<Restrictions> # </Restrictions>
<Name>CATALOG_NAME</Name> # <Restrictions>
<Type>string</Type> # <Name>FUNCTION_NAME</Name>
</Restrictions> # <Type>string</Type>
<Restrictions> # </Restrictions>
<Name>SCHEMA_NAME</Name> # <Restrictions>
<Type>string</Type> # <Name>ORIGIN</Name>
</Restrictions> # <Type>int</Type>
<Restrictions> # </Restrictions>
<Name>CUBE_NAME</Name> # <RestrictionsMask>15</RestrictionsMask>
<Type>string</Type> # </row>
</Restrictions> # <row>
<Restrictions> # <SchemaName>MDSCHEMA_HIERARCHIES</SchemaName>
<Name>DIMENSION_UNIQUE_NAME</Name> # <SchemaGuid>C8B522DA-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid>
<Type>string</Type> # <Restrictions>
</Restrictions> # <Name>CATALOG_NAME</Name>
<Restrictions> # <Type>string</Type>
<Name>HIERARCHY_UNIQUE_NAME</Name> # </Restrictions>
<Type>string</Type> # <Restrictions>
</Restrictions> # <Name>SCHEMA_NAME</Name>
<Restrictions> # <Type>string</Type>
<Name>LEVEL_UNIQUE_NAME</Name> # </Restrictions>
<Type>string</Type> # <Restrictions>
</Restrictions> # <Name>CUBE_NAME</Name>
<Restrictions> # <Type>string</Type>
<Name>MEMBER_UNIQUE_NAME</Name> # </Restrictions>
<Type>string</Type> # <Restrictions>
</Restrictions> # <Name>DIMENSION_UNIQUE_NAME</Name>
<Restrictions> # <Type>string</Type>
<Name>PROPERTY_NAME</Name> # </Restrictions>
<Type>string</Type> # <Restrictions>
</Restrictions> # <Name>HIERARCHY_NAME</Name>
<Restrictions> # <Type>string</Type>
<Name>PROPERTY_TYPE</Name> # </Restrictions>
<Type>short</Type> # <Restrictions>
</Restrictions> # <Name>HIERARCHY_UNIQUE_NAME</Name>
<Restrictions> # <Type>string</Type>
<Name>PROPERTY_CONTENT_TYPE</Name> # </Restrictions>
<Type>short</Type> # <Restrictions>
</Restrictions> # <Name>HIERARCHY_ORIGIN</Name>
<Restrictions> # <Type>unsignedShort</Type>
<Name>PROPERTY_ORIGIN</Name> # </Restrictions>
<Type>unsignedShort</Type> # <Restrictions>
</Restrictions> # <Name>CUBE_SOURCE</Name>
<Restrictions> # <Type>unsignedShort</Type>
<Name>CUBE_SOURCE</Name> # </Restrictions>
<Type>unsignedShort</Type> # <Restrictions>
</Restrictions> # <Name>HIERARCHY_VISIBILITY</Name>
<Restrictions> # <Type>unsignedShort</Type>
<Name>PROPERTY_VISIBILITY</Name> # </Restrictions>
<Type>unsignedShort</Type> # <RestrictionsMask>511</RestrictionsMask>
</Restrictions> # </row>
<RestrictionsMask>8191</RestrictionsMask> # <row>
</row> # <SchemaName>MDSCHEMA_INPUT_DATASOURCES</SchemaName>
<row> # <SchemaGuid>A07CCD32-8148-11D0-87BB-00C04FC33942</SchemaGuid>
<SchemaName>MDSCHEMA_SETS</SchemaName> # <Restrictions>
<SchemaGuid>A07CCD0B-8148-11D0-87BB-00C04FC33942</SchemaGuid> # <Name>CATALOG_NAME</Name>
<Restrictions> # <Type>string</Type>
<Name>CATALOG_NAME</Name> # </Restrictions>
<Type>string</Type> # <Restrictions>
</Restrictions> # <Name>SCHEMA_NAME</Name>
<Restrictions> # <Type>string</Type>
<Name>SCHEMA_NAME</Name> # </Restrictions>
<Type>string</Type> # <Restrictions>
</Restrictions> # <Name>DATASOURCE_NAME</Name>
<Restrictions> # <Type>string</Type>
<Name>CUBE_NAME</Name> # </Restrictions>
<Type>string</Type> # <Restrictions>
</Restrictions> # <Name>DATASOURCE_TYPE</Name>
<Restrictions> # <Type>string</Type>
<Name>SET_NAME</Name> # </Restrictions>
<Type>string</Type> # <RestrictionsMask>15</RestrictionsMask>
</Restrictions> # </row>
<Restrictions> # <row>
<Name>SCOPE</Name> # <SchemaName>MDSCHEMA_KPIS</SchemaName>
<Type>int</Type> # <SchemaGuid>2AE44109-ED3D-4842-B16F-B694D1CB0E3F</SchemaGuid>
</Restrictions> # <Restrictions>
<RestrictionsMask>31</RestrictionsMask> # <Name>CATALOG_NAME</Name>
</row> # <Type>string</Type>
</root> # </Restrictions>
</return> # <Restrictions>
""") # <Name>SCHEMA_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>CUBE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>KPI_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>CUBE_SOURCE</Name>
# <Type>unsignedShort</Type>
# </Restrictions>
# <RestrictionsMask>31</RestrictionsMask>
# </row>
# <row>
# <SchemaName>MDSCHEMA_LEVELS</SchemaName>
# <SchemaGuid>C8B522DB-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid>
# <Restrictions>
# <Name>CATALOG_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>SCHEMA_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>CUBE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>DIMENSION_UNIQUE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>HIERARCHY_UNIQUE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>LEVEL_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>LEVEL_UNIQUE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>LEVEL_ORIGIN</Name>
# <Type>unsignedShort</Type>
# </Restrictions>
# <Restrictions>
# <Name>CUBE_SOURCE</Name>
# <Type>unsignedShort</Type>
# </Restrictions>
# <Restrictions>
# <Name>LEVEL_VISIBILITY</Name>
# <Type>unsignedShort</Type>
# </Restrictions>
# <RestrictionsMask>1023</RestrictionsMask>
# </row>
# <row>
# <SchemaName>MDSCHEMA_MEASUREGROUPS</SchemaName>
# <SchemaGuid>E1625EBF-FA96-42FD-BEA6-DB90ADAFD96B</SchemaGuid>
# <Restrictions>
# <Name>CATALOG_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>SCHEMA_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>CUBE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>MEASUREGROUP_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <RestrictionsMask>15</RestrictionsMask>
# </row>
# <row>
# <SchemaName>MDSCHEMA_MEASUREGROUP_DIMENSIONS</SchemaName>
# <SchemaGuid>A07CCD33-8148-11D0-87BB-00C04FC33942</SchemaGuid>
# <Restrictions>
# <Name>CATALOG_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>SCHEMA_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>CUBE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>MEASUREGROUP_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>DIMENSION_UNIQUE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>DIMENSION_VISIBILITY</Name>
# <Type>unsignedShort</Type>
# </Restrictions>
# <RestrictionsMask>63</RestrictionsMask>
# </row>
# <row>
# <SchemaName>MDSCHEMA_MEASURES</SchemaName>
# <SchemaGuid>C8B522DC-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid>
# <Restrictions>
# <Name>CATALOG_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>SCHEMA_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>CUBE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>MEASURE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>MEASURE_UNIQUE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>MEASUREGROUP_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>CUBE_SOURCE</Name>
# <Type>unsignedShort</Type>
# </Restrictions>
# <Restrictions>
# <Name>MEASURE_VISIBILITY</Name>
# <Type>unsignedShort</Type>
# </Restrictions>
# <RestrictionsMask>255</RestrictionsMask>
# </row>
# <row>
# <SchemaName>MDSCHEMA_MEMBERS</SchemaName>
# <SchemaGuid>C8B522DE-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid>
# <Restrictions>
# <Name>CATALOG_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>SCHEMA_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>CUBE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>DIMENSION_UNIQUE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>HIERARCHY_UNIQUE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>LEVEL_UNIQUE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>LEVEL_NUMBER</Name>
# <Type>unsignedInt</Type>
# </Restrictions>
# <Restrictions>
# <Name>MEMBER_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>MEMBER_UNIQUE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>MEMBER_CAPTION</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>MEMBER_TYPE</Name>
# <Type>int</Type>
# </Restrictions>
# <Restrictions>
# <Name>TREE_OP</Name>
# <Type>int</Type>
# </Restrictions>
# <Restrictions>
# <Name>CUBE_SOURCE</Name>
# <Type>unsignedShort</Type>
# </Restrictions>
# <RestrictionsMask>8191</RestrictionsMask>
# </row>
# <row>
# <SchemaName>MDSCHEMA_PROPERTIES</SchemaName>
# <SchemaGuid>C8B522DD-5CF3-11CE-ADE5-00AA0044773D</SchemaGuid>
# <Restrictions>
# <Name>CATALOG_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>SCHEMA_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>CUBE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>DIMENSION_UNIQUE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>HIERARCHY_UNIQUE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>LEVEL_UNIQUE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>MEMBER_UNIQUE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>PROPERTY_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>PROPERTY_TYPE</Name>
# <Type>short</Type>
# </Restrictions>
# <Restrictions>
# <Name>PROPERTY_CONTENT_TYPE</Name>
# <Type>short</Type>
# </Restrictions>
# <Restrictions>
# <Name>PROPERTY_ORIGIN</Name>
# <Type>unsignedShort</Type>
# </Restrictions>
# <Restrictions>
# <Name>CUBE_SOURCE</Name>
# <Type>unsignedShort</Type>
# </Restrictions>
# <Restrictions>
# <Name>PROPERTY_VISIBILITY</Name>
# <Type>unsignedShort</Type>
# </Restrictions>
# <RestrictionsMask>8191</RestrictionsMask>
# </row>
# <row>
# <SchemaName>MDSCHEMA_SETS</SchemaName>
# <SchemaGuid>A07CCD0B-8148-11D0-87BB-00C04FC33942</SchemaGuid>
# <Restrictions>
# <Name>CATALOG_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>SCHEMA_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>CUBE_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>SET_NAME</Name>
# <Type>string</Type>
# </Restrictions>
# <Restrictions>
# <Name>SCOPE</Name>
# <Type>int</Type>
# </Restrictions>
# <RestrictionsMask>31</RestrictionsMask>
# </row>
# </root>
# </return>
# """)
return etree.fromstring(""" return etree.fromstring("""
<return> <return>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment