betamaxpy / betamax

A VCR imitation designed only for python-requests.
https://betamax.readthedocs.io/en/latest/
Other
567 stars 62 forks source link

Add open/close methods to recorder #34

Closed dgouldin closed 10 years ago

dgouldin commented 10 years ago

In some cases, people will want to manage the recorder context manually rather than using a context manager. Enable this pattern via open and close instance methods.

sigmavirus24 commented 10 years ago

Would you mind renaming these to start/stop? Otherwise looks good to me. :) Thanks @dgouldin !

sigmavirus24 commented 10 years ago

Thanks @dgouldin. This should be released shortly. For future people who see this PR, I renamed the methods to be start/stop