"""
This type stub file was generated by pyright.
"""

from rdkit.VLib.Supply import SupplyNode

class DbMolSupplyNode(SupplyNode):
  """ Supplies molecules from a db result set:

  Sample Usage:
    >>> from rdkit.Dbase.DbConnection import DbConnect
    >>> dbName = os.path.join(RDConfig.RDCodeDir,'Chem','Fingerprints',\
                             'test_data','data.gdb')
    >>> conn = DbConnect(dbName,'simple_mols')
    >>> dataset = conn.GetData()
    >>> suppl = DbMolSupplyNode(dataset)
    >>> ms = [x for x in suppl]
    >>> len(ms)
    12
    >>> ms[0].GetProp("ID")
    'ether-1'
    >>> ms[10].GetProp("ID")
    'acid-4'
    >>> suppl.reset()
    >>> suppl.next().GetProp("ID")
    'ether-1'
    >>> suppl.next().GetProp("ID")
    'acid-1'
    >>> suppl.reset()
  
  """
  def __init__(self, dbResults, **kwargs) -> None:
    ...
  
  def reset(self): # -> None:
    ...
  
  def next(self):
    """

    """
    ...
  


def GetNode(dbName, tableName): # -> DbMolSupplyNode:
  ...

if __name__ == '__main__':
  ...
