text: from sqlalchemy import create_engine
  from sqlalchemy.orm import sessionmaker
  import os
  
  
  class DataBase:
      def __init__(self):
          self.string_connections = os.environ.get('DATABASE_URL', None)
          self.engine = create_engine(self.string_connections, echo=True, future=True)
          Session = sessionmaker(bind=self.engine)
          self.session = Session()
  
      def get_engine(self):
          return self.engine
  
      def get_connection(self):
          return self.engine.connect()
  
      def get_session(self):
          return self.session
  