v1.4.0
nipyapi 1.4.0
CLI exit codes, bulletins descendants, batch parameter updates, and throughput stats.
Highlights
- CLI error exit codes - CLI now exits with code 1 when operations fail, enabling reliable scripting
- Batched parameter updates -
configure_inherited_params()now updates all parameters per context in a single API call - Throughput stats -
get_status()includesflowfiles_in/out,bytes_in/out,bytes_read/written
What's New
CLI
- Standardized error exit codes for script reliability
- Error field convention documented for CI functions
Bulletins
get_bulletin_board(): Newdescendants=Trueparameter for child process group bulletins
Canvas
list_all_controllers(): Addedgreedyandidentifier_typeparameters
CI Module
get_status(): Added throughput stats, fixed bulletin collectionconfigure_inherited_params(): Batched updates reduce API overheadcleanup(),verify_config(): Addederrorkey for CLI exit code support
Parameters
prepare_parameter(): Clarifiedvalue=Nonevs omitted value semanticslist_orphaned_contexts(): Find unbound parameter contextsrename_parameter_context(): Rename parameter contexts
Layout
PORT_QUEUE_BOX_WIDTH: New constant (240px)
Bug Fixes
- Fixed parameter value removal handling (
value=Nonevs omitted) - Fixed bulletin board to include controller service bulletins
Install
pip install nipyapi==1.4.0
# With CLI
pip install "nipyapi[cli]==1.4.0"