Add trivial news snippet

pytest_report_workaround
Tyler Goodlet 2022-10-08 14:31:29 -04:00
parent 46714d41e3
commit b993f2c034
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
Add ``key: Callable[..., Hashable]`` support to ``.trionics.maybe_open_context()``
Gives users finer grained control over cache hit behaviour using
a callable which receives the input ``kwargs: dict``. Further this patch
avoids use of the internal ``Actor._service_n`` for spawning the
entering manager tasks and instead allocates and uses an actor global
singleton ``_Cache.service_n``.