code: def get_integration(self, integration_id):
      # get integration by id
  
      # TODO get directly from db?
      for rec in self.get_list():
          if rec["id"] == integration_id and rec["type"] == "data":
              return {
                  "name": rec["name"],
                  "type": rec["type"],
                  "engine": rec["engine"],
                  "id": rec["id"],
              }
  
file_path: mindsdb/mindsdb/interfaces/database/database.py
imports: from typing import Optional
  from collections import OrderedDict
  from mindsdb.interfaces.database.projects import ProjectController
  import mindsdb.utilities.profiler
  from mindsdb.utilities.exception import EntityNotExistsError
label_desc: Use image node_id 5 for calling the DatabaseController obj's underlying member method code with example usage: obj.get_integration(integration_id) and returns: dict