Details
-
Type:
Story
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_base
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:Measurement-S14-4
-
Team:Data Release Production
Description
I think the API for NoiseReplacer could be made more idiomatic (and possibly safer) by turning it into a "context manager" (i.e. so it can be used with the "with" statement).
Looked into doing this, decided it wasn't a good idea after all: while we could shoehorn NoiseReplacer into the Python context manager API, it isn't a natural fit.