class_docstr: This handler handles connection and execution of the Cloud Spanner statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","Cloud","Spanner","statements","."]
code: def __del__(self):
      if self.is_connected is True:
          self.disconnect()
  
imports: import json
  from collections import OrderedDict
  from google.oauth2 import service_account
  from google.cloud import spanner_dbapi
  from google.cloud.spanner_dbapi import Connection
  from google.cloud.sqlalchemy_spanner import SpannerDialect
  import pandas
  from mindsdb_sql import parse_sql
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb_sql.parser.ast import CreateTable, Function
  from mindsdb_sql.render.sqlalchemy_render import SqlalchemyRender
  from mindsdb.integrations.libs.base import DatabaseHandler
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.integrations.libs.response import RESPONSE_TYPE
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.utilities import log
label_desc: Use image node_id 2 for calling the CloudSpannerHandler obj's underlying member method code with example usage: obj.__del__() without return types