code: def select(self, query: ast.Select) -> pd.DataFrame:
      message_data = self.handler.call_api("im_list")
      df = pd.DataFrame(message_data["ims"])
      df = project_dataframe(df, query.targets, self.get_columns())
  
      return df
  
imports: from typing import List
  import pandas
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.utilities.sql_utils import conditions_to_filter, project_dataframe, sort_dataframe
  from mindsdb_sql.parser import ast
label_desc: Use image node_id 1 for calling the DirectsTable obj's underlying member method code with example usage: obj.select(query) and returns: df