Skip to content

v1.4.0

Choose a tag to compare

@Chaffelson Chaffelson released this 16 Jan 16:17
· 11 commits to main since this release
a8b7f19

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() includes flowfiles_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(): New descendants=True parameter for child process group bulletins

Canvas

  • list_all_controllers(): Added greedy and identifier_type parameters

CI Module

  • get_status(): Added throughput stats, fixed bulletin collection
  • configure_inherited_params(): Batched updates reduce API overhead
  • cleanup(), verify_config(): Added error key for CLI exit code support

Parameters

  • prepare_parameter(): Clarified value=None vs omitted value semantics
  • list_orphaned_contexts(): Find unbound parameter contexts
  • rename_parameter_context(): Rename parameter contexts

Layout

  • PORT_QUEUE_BOX_WIDTH: New constant (240px)

Bug Fixes

  • Fixed parameter value removal handling (value=None vs 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"

Links