Skip to content

Conversation

@dshafer
Copy link
Collaborator

@dshafer dshafer commented Sep 8, 2023

  • Update CHANGELOG.md
  • Update README.md (as needed)
  • New dependencies were added to pyproject.toml
  • pip install succeeds with a clean virtualenv
  • There are new or modified tests that cover changes
  • Test coverage is maintained or expanded

cache_relation = False

if cache_relation:
# we're caching a foreign key field on a djano model. Cache it by (model, fk_pk) so that if
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: djano -> django

@bgrant
Copy link
Collaborator

bgrant commented Sep 11, 2023

Would you mind adding a CHANGELOG entry?

@bgrant
Copy link
Collaborator

bgrant commented Sep 11, 2023

QA: makes tests pass on calling code

@bgrant bgrant self-requested a review September 11, 2023 15:12
@dshafer dshafer changed the title only cache if lambda result is a django model Fix filter caching to work with all data types Sep 11, 2023
Copy link
Collaborator

@bgrant bgrant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@dshafer dshafer merged commit de3b2a0 into main Sep 11, 2023
@dshafer dshafer deleted the chore/fix-lambda-caching branch September 11, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants