class_docstr: This handler handles connection and execution of the Snowflake statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","Snowflake","statements","."]
code: def connect(self):
      if self.is_connected is True:
          return self.connection
      con = connector.connect(
          host=self.connection_data["host"],
          user=self.connection_data["user"],
          password=self.connection_data["password"],
          account=self.connection_data["account"],
          warehouse=self.connection_data["warehouse"],
          database=self.connection_data["database"],
          schema=self.connection_data["schema"],
          protocol=self.connection_data["protocol"],
          port=self.connection_data["port"],
          application="MindsDB",
      )
      self.is_connected = True
      self.connection = con
      return self.connection
  
file_path: mindsdb/mindsdb/integrations/handlers/snowflake_handler/snowflake_handler.py
imports: from pandas import DataFrame
  from snowflake import connector
  from snowflake.sqlalchemy import snowdialect
  from mindsdb_sql.render.sqlalchemy_render import SqlalchemyRender
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb.integrations.libs.base import DatabaseHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE
  from mindsdb.utilities import log
label_desc: Use image node_id 2 for calling the SnowflakeHandler obj's underlying member method code with example usage: obj.connect() and returns: self, self