File: _handle_coroutine.py

package info (click to toggle)
vcr.py 4.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 948 kB
  • sloc: python: 5,135; makefile: 181; sh: 14
file content (3 lines) | stat: -rw-r--r-- 125 bytes parent folder | download | duplicates (3)
1
2
3
async def handle_coroutine(vcr, fn):  # noqa: E999
    with vcr as cassette:
        return await fn(cassette)  # noqa: E999