class_docstr: Hubspot Companies table.
code: def get_companies(self, **kwargs) -> List[Dict]:
      hubspot = self.handler.connect()
      companies = hubspot.crm.companies.get_all(**kwargs)
      companies_dict = [
          {
              "id": company.id,
              "name": company.properties.get("name", None),
              "city": company.properties.get("city", None),
              "phone": company.properties.get("phone", None),
              "state": company.properties.get("state", None),
              "domain": company.properties.get("company", None),
              "industry": company.properties.get("industry", None),
              "createdate": company.properties["createdate"],
              "lastmodifieddate": company.properties[
                  "hs_lastmodifieddate"
              ],
          }
          for company in companies
      ]
      return companies_dict
  
imports: import pandas
  from hubspot.crm.objects import SimplePublicObjectId, SimplePublicObjectBatchInput, SimplePublicObjectInputForCreate, BatchInputSimplePublicObjectId, BatchInputSimplePublicObjectBatchInput, BatchInputSimplePublicObjectInputForCreate
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.handlers.utilities.query_utilities import INSERTQueryParser, SELECTQueryParser, UPDATEQueryParser, DELETEQueryParser, SELECTQueryExecutor, UPDATEQueryExecutor, DELETEQueryExecutor
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.utilities import log
label_desc: Use image node_id 6 for calling the CompaniesTable obj's underlying member method code with example usage: obj.get_companies() and returns: companies_dict