(self)
| 97 | self._tables: Dict[str, Table] = {} |
| 98 | |
| 99 | def __repr__(self): |
| 100 | args = [ |
| 101 | 'tables={}'.format(list(self.tables())), |
| 102 | 'tables_count={}'.format(len(self.tables())), |
| 103 | 'default_table_documents_count={}'.format(self.__len__()), |
| 104 | 'all_tables_documents_count={}'.format( |
| 105 | ['{}={}'.format(table, len(self.table(table))) |
| 106 | for table in self.tables()]), |
| 107 | ] |
| 108 | |
| 109 | return '<{} {}>'.format(type(self).__name__, ', '.join(args)) |
| 110 | |
| 111 | def table(self, name: str, **kwargs) -> Table: |
| 112 | """ |