If neither start_block_id nor end_block_id is given, ...
If end_block_id is not given, ...
Otherwise, ... If start_block_id is not given, it is set to 0. ...
This means, it is allowed for an insert command to have end_block_id but not start_block_id. The repo should execute the steps in "otherwise", and the default value of start_block_id would be 0.
Insert page says:
This means, it is allowed for an insert command to have
end_block_id
but notstart_block_id
. The repo should execute the steps in "otherwise", and the default value ofstart_block_id
would be 0.However,
WriteCommandHandle.is_valid_param
function would reject such a command: https://github.com/JonnyKong/ndn-python-repo/blob/5eff16355daee5fba0ba54a9c73ea011cfb90235/ndn_python_repo/handle/write_command_handle.py#L142-L144