Add property n to TableList

This commit is contained in:
Vinayak Mehta
2018-09-07 05:17:09 +05:30
parent c482869e73
commit 09ac8f4640
+4
View File
@@ -342,6 +342,10 @@ class TableList(object):
def _format_func(table, f):
return getattr(table, 'to_{}'.format(f))
@property
def n(self):
return len(self._tables)
def _write_file(self, f=None, **kwargs):
dirname = kwargs.get('dirname')
root = kwargs.get('root')