holoviz / param

Param: Make your Python code clearer and more reliable by declaring Parameters
https://param.holoviz.org
BSD 3-Clause "New" or "Revised" License
410 stars 69 forks source link

Ensure that .param.update context manager restore refs #915

Closed philippjfr closed 4 months ago

philippjfr commented 4 months ago

This PR does two things:

  1. Ensures that .param.update restores the references when exiting the context
  2. Allows .param.update to accept an argument AND kwargs, just like dict.update.

Fixes https://github.com/holoviz/param/issues/914