Martijn Pieters
832650347b
Attach updated endpoint signature to inner
...
Not all endpoints accept a __signature__ attribute, nor should the
cache decorator modify the decorated endpoint. Attach the signature
to the returned inner function instead.
While here, refactor the signature updating code, and extract it to
a separate function.
2023-04-27 18:14:59 +01:00
long2ice
27acce3160
ci: fix poetry
2023-02-15 10:45:19 +08:00
Naoki Shima
98cf8a78a1
adding test coverage
2023-02-15 10:35:41 +09:00
Ivan Moiseev
9a39db7a73
Merge branch 'long2ice:main' into fix/piclke-coder
2023-01-11 16:26:05 +03:00
vvanglro
614ee25d0d
feat: merge master
2023-01-07 13:46:48 +08:00
Ivan Moiseev
e23289fcbf
Merge branch 'main' into fix/piclke-coder
2022-12-08 00:23:39 +04:00
long2ice
8f0920d0d7
ci: fix
2022-11-07 16:39:17 +08:00
Ivan Moiseev
cb9fe5c065
fix: PickleCoder and add tests for it.
2022-11-05 13:45:16 +04:00
vvanglro
2710129c4e
feat: cache response obj add test case
2022-11-04 17:34:20 +08:00
Ivan Moiseev
c6bd8483a4
feat: fix tests and add FastAPICache init in tests.
2022-10-22 21:12:04 +04:00
Charl P. Botha
630b175766
Add tests for sync and disabled cache
2022-10-14 21:59:33 +02:00
long2ice
cb9259807e
feat: make request and response optional
2022-09-10 20:06:37 +08:00
long2ice
c20bb73f27
first commit
2020-08-26 18:04:57 +08:00