code: def connect(self, url: str):
          
          try:
              self.db = dataset.connect(url, row_type=stuf)
          except Exception as e:
              self.err(e, "Can not connect to database")
              return
          if self.db is None:
              self.err("Database " + url + " not found")
              return
          self.ok("Db", self.db.url, "connected")
docs: Connect to the database and set it as main database
  
          :param url: path to the database, uses the Sqlalchemy format
          :type url: str
  
          :example: ``ds.connect("sqlite:///mydb.slqite")``