getsentry / getsentry/responses

[feature request] give some indication if a response is taken from record

Open
#764 2 comments 0 reactions 0 assignees View on GitHub
Waiting for: Product Owner
Dominant language
Python
Stars
4.3k
Forks
378
Avg merge
4d 1h
Merged PRs (30d)
1

Description

In some cases, I need to know if a response comes from the record. If I see correctly, there currently is no way to do that.

[requests-cache](https://pypi.org/project/requests-cache/) does this by adding a [`.from_cache`](https://requests-cache.readthedocs.io/en/stable/modules/requests_cache.models.response.html#requests_cache.models.response.BaseResponse.from_cache) property to the response. Perhaps _responses_ could add `.from_record`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.