From bceaab8b88216b5cc9cc52634bf19a1bd5b0c71c Mon Sep 17 00:00:00 2001 From: Aaron Bannin Date: Sun, 24 May 2020 20:44:21 -0700 Subject: [PATCH] add carraige returns --- vcr/record_mode.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vcr/record_mode.py b/vcr/record_mode.py index 660c83b..1b6a098 100644 --- a/vcr/record_mode.py +++ b/vcr/record_mode.py @@ -1,15 +1,19 @@ from enum import Enum + class RecordMode(str, Enum): """ Configues when VCR will record to the cassette. + Can be declared by either using the enumerated value (`vcr.mode.ONCE`) or by simply using the defined string (`once`). + `ALL`: Every request is recorded. `ANY`: ? `NEW_EPISODES`: Any request not found in the cassette is recorded. `NONE`: No requests are recorded. `ONCE`: First set of requests is recorded, all others are replayed. Attempting to add a new episode fails. """ + ALL = "all" ANY = "any" NEW_EPISODES = "new_episodes"