Skip to content

Callback fn capability + timeout + signalling + better type hinting

Choose a tag to compare

@eshaan7 eshaan7 released this 22 Jul 20:20
· 69 commits to master since this release

Please use >v1.4.0

  • One can now define a callback function when registering a command. These can be plain functions or Flask/blinker signals to enable reactive/event-based programming.
  • A timeout has been added when invoking commands. This attribute can be passed in the JSON request body. Default value is 3600 seconds.
  • Added returncode attribute to response JSON.

Note: Please see Examples section for the relevant code in such use-cases.

  • under-the-hood improvements (decreased the memory footprint of the extension to very low value)
  • Added type-hinting in almost all places in the source code.