Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

investigate: can we merge sequence-based caches with request-based caches? #19

Open
domanchi opened this issue Sep 19, 2019 · 0 comments
Labels
nice to have Feature ideas to attempt when time is less limited

Comments

@domanchi
Copy link
Contributor

We perform sequence-based caching within the Response object (source). However, this doesn't support request-based caches, which are needed to have consistent values within dependent factory fixtures.

Currently, we handle this with an explicit call to clear_cache after the request is completed. However, this is kinda ugly and potentially foot-gun-like. Can we do better?

Full context here: #14 (comment)

@domanchi domanchi added the nice to have Feature ideas to attempt when time is less limited label Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nice to have Feature ideas to attempt when time is less limited
Projects
None yet
Development

No branches or pull requests

1 participant