Commit ad31383a authored by mouadh's avatar mouadh

use extend

parent 00f83f68
...@@ -561,7 +561,7 @@ class XmlaDiscoverTools(): ...@@ -561,7 +561,7 @@ class XmlaDiscoverTools():
if request.Properties.PropertyList.Catalog is not None: if request.Properties.PropertyList.Catalog is not None:
return generate_resp(rows) return generate_resp(rows)
rows = [{ ext = [{
'SchemaName': 'DBSCHEMA_TABLES', 'SchemaName': 'DBSCHEMA_TABLES',
'SchemaGuid': 'C8B52229-5CF3-11CE-ADE5-00AA0044773D', 'SchemaGuid': 'C8B52229-5CF3-11CE-ADE5-00AA0044773D',
'restrictions': { 'restrictions': {
...@@ -601,8 +601,11 @@ class XmlaDiscoverTools(): ...@@ -601,8 +601,11 @@ class XmlaDiscoverTools():
'restriction_types': ['string'] 'restriction_types': ['string']
}, },
'RestrictionsMask': '1' 'RestrictionsMask': '1'
}] + rows }]
return generate_resp(rows)
ext.extend(rows)
return generate_resp(ext)
@staticmethod @staticmethod
def discover_literals_response(request): def discover_literals_response(request):
......
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