code: def einfo(self, db=None):
          
  
          if db is None:
              return EInfoResult(self._qs.einfo()).dblist
          return EInfoResult(self._qs.einfo({'db': db, 'version': '2.0'})).dbinfo
docs: query the einfo endpoint
  
          :param db: string (optional)
          :rtype: EInfo or EInfoDB object
  
          If db is None, the reply is a list of databases, which is returned
          in an EInfo object (which has a databases() method).
  
          If db is not None, the reply is information about the specified
          database, which is returned in an EInfoDB object.  (Version 2.0
          data is automatically requested.)