class_docstr: Interact with Neo4j.
  
  Performs a connection to Neo4j and runs the query.
  
  :param neo4j_conn_id: Reference to :ref:`Neo4j connection id <howto/connection:neo4j>`.
class_docstr_tok: ["Interact","with","Neo4j",".","Performs","a","connection","to","Neo4j","and","runs","the","query",".",":","param","neo4j_conn_id",":","Reference","to",":","ref",":","`","Neo4j","connection","id","<","howto\/connection",":","neo4j",">","`","."]
docstr: Function that initiates a new Neo4j connection with username, password and database schema.
docstr_tok: ["Function","that","initiates","a","new","Neo4j","connection","with","username",",","password","and","database","schema","."]
code: def get_conn(self) -> Driver:
      """Function that initiates a new Neo4j connection with username, password and database schema."""
      if self.client is not None:
          return self.client
  
      self.connection = self.get_connection(self.neo4j_conn_id)
  
      uri = self.get_uri(self.connection)
      self.log.info("URI: %s", uri)
  
      is_encrypted = self.connection.extra_dejson.get(
          "encrypted", False
      )
  
      self.client = self.get_client(self.connection, is_encrypted, uri)
  
      return self.client
  
file_path: airflow/airflow/providers/neo4j/hooks/neo4j.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any
  from urllib.parse import urlsplit
  from neo4j import Driver, GraphDatabase
  from airflow.hooks.base import BaseHook
label_desc: Use image node_id 2 for calling the Neo4jHook obj's underlying member method code with example usage: obj.get_conn() and returns: self, self