cashews icon indicating copy to clipboard operation
cashews copied to clipboard

Cache with async power

Results 56 cashews issues
Sort by recently updated
recently updated
newest added

Greetings! I ran into sqlalchemy object caching issues. From time to time I get errors like this: ``` " File \"/home/boot/stellar/backend/./app/v1/security/auth.py\", line 127, in get_current_user\n permissions_v2 = await service_permissions.get_permissions_by_role_cache(\n", "...

bug
enhancement

Hi, I am currently trying to integrate Redis cache to my application, while I am not quite sure about the setting up of Redis cache using cashews. For example, after...

There are lack of type annotation in library: Expectation: almost all methods should have full type annotations, enable mypy job to check typing errors

enhancement
help wanted
good first issue

https://faker.readthedocs.io/en/master/ It is not a good idea to hard-code manually some specific values for every test. The first problem is that it is a manual redundant work. The second problem...

More details here https://github.com/Krukov/cashews/issues/25#issuecomment-1033709731

bug

Homepage: https://github.com/marketplace/pre-commit-ci Documentation: https://pre-commit.ci/ I think there is nothing I help with from my side, but this must be simple. Perhaps one-click installing of the bot is enough. **UPD:** Here...

Found on the master branch. after updating our product in production to the master branch (cashews), the CPU load increased. ![image](https://user-images.githubusercontent.com/64792903/190115387-0538825b-f78b-4e73-b59b-b3d0a45937f9.png) indicators earlier. ![image](https://user-images.githubusercontent.com/64792903/190115439-d3003b46-32f7-4b04-bbce-db9dbdea0bdd.png) i use: ``` cashews = {git...

Is there any plans on start using [sphinx ](https://www.sphinx-doc.org/en/master/) and [auto generating api documentation](https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html) instead of having to manual type in the readme? It would be nice to move the...

documentation
question

I have found that [cache_control_ttl ](https://github.com/Krukov/cashews/blob/7ab613f31a9dc707526b3315e14393a22b149257/cashews/contrib/fastapi.py#L36) has no documentation and it's unclear on how and when to use it.

documentation