54 Commits

Author SHA1 Message Date
renovate[bot]
9a2da192c4 Update dependency click to v7.1.2 2023-03-30 09:25:19 +00:00
renovate[bot]
e4adfc14c9 Update dependency black to v23 2023-03-30 08:46:28 +00:00
Laurent Savaete
08867eba75 Merge pull request #137 from laurentS/renovate/pypi-starlette-vulnerability 2023-03-30 10:43:38 +02:00
renovate[bot]
fee0b98bd9 Update dependency starlette to v0.25.0 [SECURITY] 2023-03-30 08:30:33 +00:00
dependabot[bot]
cecc4c6146 ⬆️ Bump redis from 3.4.1 to 4.3.6 in /docs
Bumps [redis](https://github.com/redis/redis-py) from 3.4.1 to 4.3.6.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/redis/redis-py/compare/3.4.1...v4.3.6)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 21:58:14 +00:00
Laurent Savaete
b98ca4f820 Merge pull request #121 from laurentS/update-readme 2023-03-02 19:25:02 +00:00
dependabot[bot]
283ed70a5a ⬆️ Bump future from 0.18.2 to 0.18.3 in /docs
Bumps [future](https://github.com/PythonCharmers/python-future) from 0.18.2 to 0.18.3.
- [Release notes](https://github.com/PythonCharmers/python-future/releases)
- [Changelog](https://github.com/PythonCharmers/python-future/blob/master/docs/changelog.rst)
- [Commits](https://github.com/PythonCharmers/python-future/compare/v0.18.2...v0.18.3)

---
updated-dependencies:
- dependency-name: future
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 07:36:43 +00:00
dependabot[bot]
55ff91ce30 ⬆️ Bump certifi from 2019.11.28 to 2022.12.7 in /docs
Bumps [certifi](https://github.com/certifi/python-certifi) from 2019.11.28 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2019.11.28...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 04:26:55 +00:00
Laurent Savaete
9bfa87af85 Fix typo in docs 2022-11-28 11:28:16 +01:00
thentgesMindee
031dc042d5 chg: 📝 add key_style example in docs 2022-11-07 17:36:10 +01:00
thentgesMindee
8e077e8738 chg: 📝 add documentation about WSGI vs ASGI middlewares 2022-11-07 16:40:14 +01:00
Joris Hartog
875c8758c1 Update docs
This commit adds a custom cost/hit example to the examples page and adds
this feature to the Features list.
2022-08-29 21:10:13 +02:00
dependabot[bot]
f595d49d05 Bump lxml from 4.6.5 to 4.9.1 in /docs
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.5 to 4.9.1.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.5...lxml-4.9.1)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 15:39:40 +00:00
Trevor Currie
03a586e63e Merge pull request #81 from laurentS/dependabot/pip/docs/nltk-3.6.6
Bump nltk from 3.6.5 to 3.6.6 in /docs
2022-01-18 08:54:27 -08:00
Trevor Currie
5fc17e4fd3 Merge pull request #76 from nootr/docs/missing_imports
Fix import issues in examples
2022-01-18 08:54:15 -08:00
Trevor Currie
6cf0624569 Merge pull request #78 from laurentS/dependabot/pip/docs/lxml-4.6.5
Bump lxml from 4.6.3 to 4.6.5 in /docs
2022-01-18 08:51:47 -08:00
dependabot[bot]
dd6c9ba077 Bump nltk from 3.6.5 to 3.6.6 in /docs
Bumps [nltk](https://github.com/nltk/nltk) from 3.6.5 to 3.6.6.
- [Release notes](https://github.com/nltk/nltk/releases)
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](https://github.com/nltk/nltk/compare/3.6.5...3.6.6)

---
updated-dependencies:
- dependency-name: nltk
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-18 16:51:32 +00:00
Trevor Currie
932c696211 Merge pull request #72 from laurentS/dependabot/pip/docs/mkdocs-1.2.3
Bump mkdocs from 1.1.2 to 1.2.3 in /docs
2022-01-18 08:51:21 -08:00
dependabot[bot]
22cfb76d1d Bump lxml from 4.6.3 to 4.6.5 in /docs
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.3 to 4.6.5.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.3...lxml-4.6.5)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 20:47:39 +00:00
Joris Hartog
bbdadd7674 Fix duplicate method name bug in FastAPI example
Fixes #75
2021-12-09 11:35:27 +01:00
Joris Hartog
48d5f20096 Fix import issues in examples
This commit fixes a couple of bugs in the FastAPI and Starlette examples
in the docs.
2021-12-09 11:14:14 +01:00
dependabot[bot]
52e897034e Bump mkdocs from 1.1.2 to 1.2.3 in /docs
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.1.2 to 1.2.3.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.1.2...1.2.3)

---
updated-dependencies:
- dependency-name: mkdocs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-14 10:36:16 +00:00
dependabot[bot]
0f6c25ab91 Bump nltk from 3.5 to 3.6.5 in /docs
Bumps [nltk](https://github.com/nltk/nltk) from 3.5 to 3.6.5.
- [Release notes](https://github.com/nltk/nltk/releases)
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](https://github.com/nltk/nltk/compare/3.5...3.6.5)

---
updated-dependencies:
- dependency-name: nltk
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-14 10:36:16 +00:00
Alp
ff76c254e1 Add Request module
Added Request module for fastAPI example code. If the Request module is not added, an error is received when the code is executed.
2021-09-18 15:40:52 +03:00
Laurent Savaete
281bde006d Release 0.1.5 2021-08-28 16:42:27 +01:00
Laurent Savaete
22cbc13921 Merge pull request #48 from laurentS/dependabot/pip/docs/py-1.10.0
Bump py from 1.8.1 to 1.10.0 in /docs
2021-07-07 13:09:47 +01:00
Laurent Savaete
a39f3a8819 Merge pull request #42 from laurentS/dependabot/pip/docs/jinja2-2.11.3
Bump jinja2 from 2.11.2 to 2.11.3 in /docs
2021-07-07 13:09:37 +01:00
Laurent Savaete
faa0248b5e Merge pull request #45 from laurentS/dependabot/pip/docs/lxml-4.6.3
Bump lxml from 4.6.2 to 4.6.3 in /docs
2021-07-07 13:09:22 +01:00
dependabot[bot]
cf6e5f6c84 Bump py from 1.8.1 to 1.10.0 in /docs
Bumps [py](https://github.com/pytest-dev/py) from 1.8.1 to 1.10.0.
- [Release notes](https://github.com/pytest-dev/py/releases)
- [Changelog](https://github.com/pytest-dev/py/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/py/compare/1.8.1...1.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 12:08:16 +00:00
Laurent Savaete
7d52472b85 Merge pull request #49 from laurentS/dependabot/pip/docs/pydantic-1.6.2
Bump pydantic from 1.4 to 1.6.2 in /docs
2021-07-07 13:07:22 +01:00
Laurent Savaete
71d04bbe71 Merge pull request #51 from laurentS/dependabot/pip/docs/urllib3-1.26.5
Bump urllib3 from 1.25.8 to 1.26.5 in /docs
2021-07-07 13:07:01 +01:00
dependabot[bot]
9089ea8f86 Merge pull request #53 from laurentS/dependabot/pip/docs/fastapi-0.65.2 2021-07-07 12:05:45 +00:00
dependabot[bot]
c09f33b09f Bump pydantic from 1.4 to 1.6.2 in /docs
Bumps [pydantic](https://github.com/samuelcolvin/pydantic) from 1.4 to 1.6.2.
- [Release notes](https://github.com/samuelcolvin/pydantic/releases)
- [Changelog](https://github.com/samuelcolvin/pydantic/blob/master/HISTORY.md)
- [Commits](https://github.com/samuelcolvin/pydantic/compare/v1.4...v1.6.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 12:03:34 +00:00
dependabot[bot]
1a080b53f9 Bump fastapi from 0.52.0 to 0.65.2 in /docs
Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.52.0 to 0.65.2.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](https://github.com/tiangolo/fastapi/compare/0.52.0...0.65.2)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 15:51:25 +00:00
dependabot[bot]
f1c013f991 Bump urllib3 from 1.25.8 to 1.26.5 in /docs
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.8 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.8...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 03:08:54 +00:00
dependabot[bot]
15f1ec5cac Bump lxml from 4.6.2 to 4.6.3 in /docs
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.2...lxml-4.6.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 20:01:48 +00:00
dependabot[bot]
68c84b9b5d Bump pyyaml from 5.3.1 to 5.4 in /docs
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-26 00:28:35 +00:00
dependabot[bot]
a73c0415fc Bump jinja2 from 2.11.2 to 2.11.3 in /docs
Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.2 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.11.2...2.11.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-20 05:04:34 +00:00
Laurent Savaete
4561d83f98 Fix typo in docs 2021-03-14 00:02:17 +00:00
Laurent Savaete
a71a3a8091 Fix formatting in docs 2021-03-14 00:00:41 +00:00
Laurent Savaete
3d63538a08 Add note about order of decorators in docs (see #39) 2021-03-13 23:56:58 +00:00
Laurent Savaete
76a917f11f Add example in docs about using redis as backend 2021-03-13 23:49:29 +00:00
Laurent Savaete
96d16c91ed Fix broken link in docs 2021-02-21 22:34:27 +00:00
Laurent Savaete
f64b2f469c Document the enabled option 2021-02-05 00:55:57 +00:00
Laurent Savaete
ea899ca3c3 Merge pull request #28 from laurentS/dependabot/pip/docs/lxml-4.6.2
Bump lxml from 4.5.0 to 4.6.2 in /docs
2021-01-10 15:21:36 +00:00
Laurent Savaete
780c08bd4c Add missing imports in docs 2021-01-10 15:17:49 +00:00
dependabot[bot]
ed8e384c2e Bump lxml from 4.5.0 to 4.6.2 in /docs
Bumps [lxml](https://github.com/lxml/lxml) from 4.5.0 to 4.6.2.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.5.0...lxml-4.6.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-07 23:48:33 +00:00
Laurent Savaete
fd53161071 Add middleware in docs/examples 2020-12-29 23:56:34 +00:00
Laurent Savaete
c0d30f4f98 Updates docs 2020-12-23 22:25:53 +00:00
Guillaume Gardey
acde458c45 fix: Address issue with decorator
The value returned by an endpoint may not be an instance or subclass
of `Response`, in this case FastAPI builds the actual Response
at an upper level in the middleware stack.
This patch allows the decorator to inspect the endpoint to retrieve the
associated `Response` to allow headers to be injected.
2020-12-23 09:48:50 +00:00