You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code that imports appmap.Recording should run correctly even when not Env.current.enabled.
I think it should be possible to implement this by creating a new context manager class called _appmap.NoopRecording that gets renamed on import to Recording:
if _enabled:
...
else:
import _appmap.NoopRecording as Recording
The text was updated successfully, but these errors were encountered:
Code that imports
appmap.Recording
should run correctly even whennot Env.current.enabled
.I think it should be possible to implement this by creating a new context manager class called
_appmap.NoopRecording
that gets renamed on import to Recording:The text was updated successfully, but these errors were encountered: