1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 01:03:24 +00:00

add carraige returns

This commit is contained in:
Aaron Bannin
2020-05-24 20:44:21 -07:00
parent 0c2bbe0d51
commit bceaab8b88

View File

@@ -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"