new

method of dascore.core.inventory.Connector source

new(
    self ,
    **kwargs ,
)-> ‘Self’

Return a copy with some fields updated.

Moving a marker moves the end which was filled in for it: new merges the fields already set, so an end nobody stated would otherwise stay where it was and the marker would silently acquire a length – or refuse to move past itself.

Setting distance_max is not the mirror of this and does not move the start. The end of a marker is filled in, so carrying it keeps the author’s one number true; the start is theirs, and a stated end is them giving the item a length. An end before the start is then refused here as it is on every other interval.