Skip to content

v1.90.0

Choose a tag to compare

@github-actions github-actions released this 22 Apr 11:21
283f7cc

Added

  • sampling_context parameter on bn.run(): an optional context manager that wraps only the sampling phase. Its __exit__ is guaranteed to run before the Panel/Bokeh server starts, so external resources (DB pools, GPU handles, simulators) are released while nothing blocks. save and publish still execute inside the context. Defaults to None (fully backward-compatible).