Kishore Vancheeshwaran Visvanathan

Results 10 comments of Kishore Vancheeshwaran Visvanathan

@victorparra96 you can modify the decorator like this to enable caching for POST https://github.com/long2ice/fastapi-cache/blob/master/fastapi_cache/decorator.py#L53 ```python if request.method not in {"GET", "POST"}: return await func(request, *args, **kwargs) ``` I haven't personally...

**Version:** 3.3.11 **Platform:** Ubuntu 18.04 The error still exists. I had to connect to an azure VM and it kept giving me this error. I increased the `socket_timeout=0.5` and it...

Hi @zegenerative . I'm a fellow user too. I use the following code to connect. Personally I have avoided creating the connection strings by myself. Maybe you can give this...

Thank you. Just confirming, this is not specific to doom emacs. That's why I left the explanations above. Hopefully you can replicate it in your environment with a vanilla config.

Hi @yihui I was hoping I can start with something simple. I checked https://codecov.io/gh/yihui/xfun/src/master/R/os.R and gave it a try. ``` library(testit) library(xfun) assert('show proper os', { (is_windows() %==% TRUE) (is_linux()...

@yihui Understood. I thought of starting with [markdown.R](https://codecov.io/gh/yihui/xfun/src/master/R/markdown.R) now. I am trying to understand why the tests failed. Can you please share examples for the same? I can see from...

Apologies for not being clear. Looking at the red highlight I understood that those are the lines that fail. So that is why I was asking for the examples -...

Ok, so I poked around a little, I just noticed the `tests/testit/` folder. I had a look at `test-markdown.R`. I notice that the tests exist only for `prose_index()`. If I...

@cmabastar here are two links which don't use this package but set cache using the background task feature of fastapi. 1. https://developer.redis.com/develop/python/fastapi/ 2. https://github.com/redis-developer/fastapi-redis-tutorial/blob/master/app/main.py

Hey @joelthill I had the same use case. Yes you would have to explicitly update/delete the cache using PUT/DELETE. This is how I modified the code in https://github.com/a-luna/fastapi-redis-cache/blob/main/src/fastapi_redis_cache/cache.py#L46 . I...