def add_table(self, address, has_headers):
if address is None:<EOL><INDENT>return None<EOL><DEDENT>params = {<EOL>'<STR_LIT:address>': address,<EOL>'<STR_LIT>': has_headers<EOL>}<EOL>url = self.build_url(self._endpoints.get('<STR_LIT>'))<EOL>response = self.session.post(url, data=params)<EOL>if not response:<EOL><INDENT>return None<EOL><DEDENT>return self.table_constructor(parent=self, **{self._cloud_data_key: response.json()})<EOL>
Adds a table to this worksheet
:param str address: a range address eg: 'A1:D4'
:param bool has_headers: if the range address includes headers or not
:return: a Table instance