Passing inconsistent packages or parents when there is a store

from nbproject import header

Consistent parents:

header(parent=["z14KWQKD4bwE", "jhvyoIrxoeSz"])
id3m2Q6UBuwgSH
version0
time_init2022-07-18 12:32
time_run2024-05-20 09:45
parentz14KWQKD4bwE jhvyoIrxoeSz
pypackage_storenbproject==0.1.6 pandas==1.4.1
pypackage_livenbproject==0.10.3 pandas==2.2.2

Dropping one parent:

header(parent="z14KWQKD4bwE")
id3m2Q6UBuwgSH
version0
time_init2022-07-18 12:32
time_run2024-05-20 09:45
parentz14KWQKD4bwE jhvyoIrxoeSz
pypackage_storenbproject==0.1.6 pandas==1.4.1
pypackage_livenbproject==0.10.3 pandas==2.2.2
馃挕 Argument parent is inconsistent with store.
Please update metadata, e.g.: meta.store.parent = parent; meta.store.write()

Wrong parents:

header(parent="a")
id3m2Q6UBuwgSH
version0
time_init2022-07-18 12:32
time_run2024-05-20 09:45
parentz14KWQKD4bwE jhvyoIrxoeSz
pypackage_storenbproject==0.1.6 pandas==1.4.1
pypackage_livenbproject==0.10.3 pandas==2.2.2
馃挕 Argument parent is inconsistent with store.
Please update metadata, e.g.: meta.store.parent = parent; meta.store.write()
header(parent=["z14KWQKD4bwE", "a"])
id3m2Q6UBuwgSH
version0
time_init2022-07-18 12:32
time_run2024-05-20 09:45
parentz14KWQKD4bwE jhvyoIrxoeSz
pypackage_storenbproject==0.1.6 pandas==1.4.1
pypackage_livenbproject==0.10.3 pandas==2.2.2
馃挕 Argument parent is inconsistent with store.
Please update metadata, e.g.: meta.store.parent = parent; meta.store.write()

Inconsistent packages:

header(pypackage="nbformat")
id3m2Q6UBuwgSH
version0
time_init2022-07-18 12:32
time_run2024-05-20 09:45
parentz14KWQKD4bwE jhvyoIrxoeSz
pypackage_storenbproject==0.1.6 pandas==1.4.1
pypackage_livenbproject==0.10.3 pandas==2.2.2
馃挕 Argument pypackage is inconsistent with metadata store.
Please update metadata: meta.store.add_pypackages("nbformat").write()