def add_student(table: DBTable, index: int, **kwargs) -> None: info = dict(ID=1_000_000 + index, First=f'John{index}', Last=f'Doe{index}', Birthday=dt.datetime(2000, 2, 1) + dt.timedelta(days=index)) info.update(**kwargs) table.insert_record(info)
def add_student(table: DBTable, index: int, **kwargs) -> None: info = dict(ID=1_000_000 + index, First=f'John{index}', Last=f'Doe{index}', Birthday="23/11/2000") info.update(**kwargs) table.insert_record(info)