dependabot[bot]
d2e220c9f9
Bump towncrier from 22.12.0 to 24.8.0
...
Bumps [towncrier](https://github.com/twisted/towncrier ) from 22.12.0 to 24.8.0.
- [Release notes](https://github.com/twisted/towncrier/releases )
- [Changelog](https://github.com/twisted/towncrier/blob/trunk/NEWS.rst )
- [Commits](https://github.com/twisted/towncrier/compare/22.12.0...24.8.0 )
---
updated-dependencies:
- dependency-name: towncrier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-11 08:27:14 +00:00
long2ice
157a91359b
chore: update deps
2024-09-19 15:38:04 +08:00
long2ice
567934300b
ci: remove py37
2024-07-24 23:42:19 +08:00
long2ice
5f985a8506
ci: fix
2024-07-24 22:24:30 +08:00
long2ice
701d83fec3
Merge pull request #425 from PaleNeutron/fix-no-cache
...
fix #424 , no-cache should store the result to cache
2024-07-24 21:46:19 +08:00
long2ice
8b5601cfdc
Merge branch 'main' into fix-no-cache
2024-07-24 21:46:11 +08:00
long2ice
00d34e4ad8
Merge pull request #433 from nikstuckenbrock/feature/update-project-docs
...
Update project docs and examples
2024-07-24 21:42:53 +08:00
Nik Stuckenbrock
552d54c1ca
Fix redis example
2024-07-19 15:09:39 +02:00
Nik Stuckenbrock
63f9bdd068
Fix in memory example
2024-07-19 15:08:43 +02:00
Nik Stuckenbrock
5ba03ca6f5
Correct example in README.md
2024-07-19 15:07:23 +02:00
long2ice
865dba19a5
Merge pull request #426 from CharlesPerrotMinotHCHB/patch-2
...
Switch from on_event to lifespan asynccontextmanager #422
2024-05-13 13:59:39 +08:00
Charles Perrot-Minot
f203d23194
Switch from on_event to lifespan asynccontextmanager
...
on_event is now deprecated, and to be replaced with lifespan: https://fastapi.tiangolo.com/advanced/events/
2024-05-12 22:57:14 -07:00
John Lyu
2739b2d0fe
lint
2024-05-09 15:01:55 +08:00
John Lyu
74e827d3de
fix tests
2024-05-09 14:51:58 +08:00
John Lyu
6ef59f0eb3
Merge branch 'fix-no-cache' into fix
2024-05-09 14:44:15 +08:00
John Lyu
6f8994b843
fix test
2024-05-09 14:43:53 +08:00
John Lyu
120553a36f
version
2024-05-09 14:42:56 +08:00
John Lyu
af6301fffa
Merge branch 'fix-no-cache' into fix
2024-05-09 14:34:03 +08:00
John Lyu
e4a0df62dd
fix #424 , no-cache should store the result to cache
2024-05-09 14:32:02 +08:00
John Lyu
19c4d0271a
fix latest bug
2024-05-09 14:09:42 +08:00
long2ice
91ba6d7552
Merge pull request #353 from long2ice/dependabot/github_actions/main/actions/setup-python-5
...
Bump actions/setup-python from 4 to 5
2023-12-07 21:37:57 +08:00
dependabot[bot]
583df36da1
Bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-07 08:11:07 +00:00
dependabot[bot]
005bac9d11
Bump pyright from 1.1.332 to 1.1.333 ( #328 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.332 to 1.1.333.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.332...v1.1.333 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 08:52:27 +00:00
dependabot[bot]
a315bcf6a7
Bump pytest from 7.4.2 to 7.4.3 ( #327 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.2 to 7.4.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-25 08:26:35 +00:00
dependabot[bot]
fab700af41
Bump mypy from 1.6.0 to 1.6.1 ( #322 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.6.0 to 1.6.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 08:30:32 +00:00
dependabot[bot]
0af1638d54
Bump ruff from 0.1.0 to 0.1.1 ( #324 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.0...v0.1.1 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 08:26:14 +00:00
dependabot[bot]
8a257f2f7d
Bump pyright from 1.1.331 to 1.1.332 ( #323 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.331 to 1.1.332.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.331...v1.1.332 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 09:12:50 +00:00
dependabot[bot]
2747470ab2
Bump types-aiobotocore from 2.6.0 to 2.7.0 ( #321 )
...
Bumps [types-aiobotocore](https://github.com/youtype/mypy_boto3_builder ) from 2.6.0 to 2.7.0.
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases )
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits )
---
updated-dependencies:
- dependency-name: types-aiobotocore
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 09:06:21 +00:00
dependabot[bot]
c9d4d2afc9
Bump ruff from 0.0.292 to 0.1.0 ( #320 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.292 to 0.1.0.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.292...v0.1.0 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 08:44:00 +00:00
dependabot[bot]
d465e82c1c
Bump pyright from 1.1.330.post0 to 1.1.331 ( #319 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.330.post0 to 1.1.331.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.330.post0...v1.1.331 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 08:48:47 +00:00
dependabot[bot]
eeef78d3aa
Bump mypy from 1.5.1 to 1.6.0 ( #318 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.5.1 to 1.6.0.
- [Commits](https://github.com/python/mypy/compare/v1.5.1...v1.6.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 08:29:41 +00:00
dependabot[bot]
42d868542c
Bump pyright from 1.1.329 to 1.1.330.post0 ( #317 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.329 to 1.1.330.post0.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.329...v1.1.330.post0 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 08:58:02 +00:00
dependabot[bot]
d65b12aaf7
Bump ruff from 0.0.290 to 0.0.292 ( #313 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.290 to 0.0.292.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.290...v0.0.292 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 08:57:51 +00:00
dependabot[bot]
4ba67db7e9
Bump fastapi from 0.103.1 to 0.103.2 ( #312 )
...
Bumps [fastapi](https://github.com/tiangolo/fastapi ) from 0.103.1 to 0.103.2.
- [Release notes](https://github.com/tiangolo/fastapi/releases )
- [Commits](https://github.com/tiangolo/fastapi/compare/0.103.1...0.103.2 )
---
updated-dependencies:
- dependency-name: fastapi
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 08:19:06 +00:00
dependabot[bot]
0ce7c61770
Bump pyright from 1.1.328 to 1.1.329 ( #311 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.328 to 1.1.329.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.328...v1.1.329 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-28 08:37:45 +00:00
dependabot[bot]
6983c83124
Bump pyright from 1.1.327 to 1.1.328 ( #310 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.327 to 1.1.328.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.327...v1.1.328 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-27 08:58:27 +00:00
dependabot[bot]
f54facf5bd
Bump types-redis from 4.6.0.6 to 4.6.0.7 ( #307 )
...
Bumps [types-redis](https://github.com/python/typeshed ) from 4.6.0.6 to 4.6.0.7.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-redis
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 08:16:13 +00:00
dependabot[bot]
a540ee30fe
Bump pyright from 1.1.326 to 1.1.327 ( #304 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.326 to 1.1.327.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.326...v1.1.327 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 09:08:36 +00:00
dependabot[bot]
3e905353e3
Bump ruff from 0.0.288 to 0.0.290 ( #305 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.288 to 0.0.290.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.288...v0.0.290 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 09:03:13 +00:00
dependabot[bot]
e2eedace48
Bump types-redis from 4.6.0.5 to 4.6.0.6 ( #301 )
...
Bumps [types-redis](https://github.com/python/typeshed ) from 4.6.0.5 to 4.6.0.6.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-redis
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 08:59:32 +00:00
dependabot[bot]
0af7761dff
Bump pytest from 7.3.2 to 7.4.2 ( #297 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.3.2 to 7.4.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.3.2...7.4.2 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 08:27:51 +00:00
dependabot[bot]
ddde88c7cf
Bump ruff from 0.0.286 to 0.0.288 ( #300 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.286 to 0.0.288.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.286...v0.0.288 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 08:23:56 +00:00
dependabot[bot]
c2d9308057
Bump pyright from 1.1.325 to 1.1.326 ( #296 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.325 to 1.1.326.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.325...v1.1.326 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-08 08:54:12 +00:00
dependabot[bot]
d748abd8c6
Bump fastapi from 0.101.1 to 0.103.1 ( #289 )
...
Bumps [fastapi](https://github.com/tiangolo/fastapi ) from 0.101.1 to 0.103.1.
- [Release notes](https://github.com/tiangolo/fastapi/releases )
- [Commits](https://github.com/tiangolo/fastapi/compare/0.101.1...0.103.1 )
---
updated-dependencies:
- dependency-name: fastapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 08:15:56 +00:00
dependabot[bot]
6586ea96c4
Bump pyright from 1.1.324 to 1.1.325 ( #288 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.324 to 1.1.325.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.324...v1.1.325 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 08:22:10 +00:00
dependabot[bot]
812ada8620
Bump mypy from 1.5.0 to 1.5.1 ( #276 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.5.0 to 1.5.1.
- [Commits](https://github.com/python/mypy/compare/v1.5.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 09:07:52 +00:00
dependabot[bot]
762c677786
Bump aiobotocore from 2.5.4 to 2.6.0 ( #268 )
...
Bumps [aiobotocore](https://github.com/aio-libs/aiobotocore ) from 2.5.4 to 2.6.0.
- [Release notes](https://github.com/aio-libs/aiobotocore/releases )
- [Changelog](https://github.com/aio-libs/aiobotocore/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiobotocore/compare/2.5.4...2.6.0 )
---
updated-dependencies:
- dependency-name: aiobotocore
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 09:04:05 +00:00
dependabot[bot]
daea1a4b66
Bump ruff from 0.0.285 to 0.0.286 ( #286 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.285 to 0.0.286.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.285...v0.0.286 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 08:59:42 +00:00
dependabot[bot]
294d6151f9
Bump pyright from 1.1.320 to 1.1.324 ( #284 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.320 to 1.1.324.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.320...v1.1.324 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-24 08:44:06 +00:00
dependabot[bot]
8e07be5b5d
Bump types-redis from 4.6.0.4 to 4.6.0.5 ( #282 )
...
Bumps [types-redis](https://github.com/python/typeshed ) from 4.6.0.4 to 4.6.0.5.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-redis
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 09:14:37 +00:00
long2ice
4e485d4bdb
Merge pull request #280 from s-rigaud/update-readme
...
📝 Use create_some_model as a function
2023-08-22 10:00:15 +08:00
Samuel Rigaud
9217c85d94
📝 Use create_some_model as a function
2023-08-20 01:27:10 +02:00
dependabot[bot]
24c1f3d187
Bump tox from 4.6.4 to 4.8.0 ( #269 )
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.6.4 to 4.8.0.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.6.4...4.8.0 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-18 08:47:03 +00:00
dependabot[bot]
541ddbc0c1
Bump ruff from 0.0.284 to 0.0.285 ( #278 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.284 to 0.0.285.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.284...v0.0.285 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-18 08:42:33 +00:00
dependabot[bot]
3b78f211b2
Bump types-redis from 4.6.0.3 to 4.6.0.4 ( #275 )
...
Bumps [types-redis](https://github.com/python/typeshed ) from 4.6.0.3 to 4.6.0.4.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-redis
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-17 08:30:23 +00:00
dependabot[bot]
2be6a8cfdc
Bump fastapi from 0.101.0 to 0.101.1 ( #271 )
...
Bumps [fastapi](https://github.com/tiangolo/fastapi ) from 0.101.0 to 0.101.1.
- [Release notes](https://github.com/tiangolo/fastapi/releases )
- [Commits](https://github.com/tiangolo/fastapi/compare/0.101.0...0.101.1 )
---
updated-dependencies:
- dependency-name: fastapi
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 08:40:30 +00:00
dependabot[bot]
14df5a39ed
Bump types-aiobotocore from 2.5.4 to 2.6.0 ( #267 )
...
Bumps [types-aiobotocore](https://github.com/youtype/mypy_boto3_builder ) from 2.5.4 to 2.6.0.
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases )
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits )
---
updated-dependencies:
- dependency-name: types-aiobotocore
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 08:45:24 +00:00
dependabot[bot]
229fbf3bef
Bump mypy from 1.4.0 to 1.5.0 ( #265 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.4.0 to 1.5.0.
- [Commits](https://github.com/python/mypy/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-11 08:18:32 +00:00
dependabot[bot]
63c9fd5f8c
Bump fastapi from 0.100.1 to 0.101.0 ( #254 )
...
Bumps [fastapi](https://github.com/tiangolo/fastapi ) from 0.100.1 to 0.101.0.
- [Release notes](https://github.com/tiangolo/fastapi/releases )
- [Commits](https://github.com/tiangolo/fastapi/compare/0.100.1...0.101.0 )
---
updated-dependencies:
- dependency-name: fastapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-10 08:30:48 +00:00
dependabot[bot]
ea2dc76da1
Bump ruff from 0.0.282 to 0.0.284 ( #261 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.282 to 0.0.284.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.282...v0.0.284 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-10 08:26:36 +00:00
dependabot[bot]
e87716cf99
Bump types-aiobotocore from 2.5.2 to 2.5.4 ( #259 )
...
Bumps [types-aiobotocore](https://github.com/youtype/mypy_boto3_builder ) from 2.5.2 to 2.5.4.
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases )
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits )
---
updated-dependencies:
- dependency-name: types-aiobotocore
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 08:27:54 +00:00
dependabot[bot]
c222ba078a
Bump aiobotocore from 2.5.3 to 2.5.4 ( #257 )
...
Bumps [aiobotocore](https://github.com/aio-libs/aiobotocore ) from 2.5.3 to 2.5.4.
- [Release notes](https://github.com/aio-libs/aiobotocore/releases )
- [Changelog](https://github.com/aio-libs/aiobotocore/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiobotocore/compare/2.5.3...2.5.4 )
---
updated-dependencies:
- dependency-name: aiobotocore
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-08 08:51:14 +00:00
dependabot[bot]
36aef927f9
Bump aiobotocore from 2.5.2 to 2.5.3 ( #253 )
...
Bumps [aiobotocore](https://github.com/aio-libs/aiobotocore ) from 2.5.2 to 2.5.3.
- [Release notes](https://github.com/aio-libs/aiobotocore/releases )
- [Changelog](https://github.com/aio-libs/aiobotocore/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiobotocore/compare/2.5.2...2.5.3 )
---
updated-dependencies:
- dependency-name: aiobotocore
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 08:45:56 +00:00
dependabot[bot]
58eece7830
Bump pyright from 1.1.318 to 1.1.320 ( #252 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.318 to 1.1.320.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.318...v1.1.320 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 09:12:02 +00:00
dependabot[bot]
9bb5e9475b
Bump aiobotocore from 2.5.0 to 2.5.2 ( #235 )
...
Bumps [aiobotocore](https://github.com/aio-libs/aiobotocore ) from 2.5.0 to 2.5.2.
- [Release notes](https://github.com/aio-libs/aiobotocore/releases )
- [Changelog](https://github.com/aio-libs/aiobotocore/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiobotocore/compare/2.5.0...2.5.2 )
---
updated-dependencies:
- dependency-name: aiobotocore
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 08:23:17 +00:00
dependabot[bot]
bd179f530f
Bump ruff from 0.0.281 to 0.0.282 ( #251 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.281 to 0.0.282.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.281...v0.0.282 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 08:19:24 +00:00
dependabot[bot]
a0d0e7b130
Bump typing-extensions from 4.7.0 to 4.7.1 ( #228 )
...
Bumps [typing-extensions](https://github.com/python/typing_extensions ) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/python/typing_extensions/releases )
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/python/typing_extensions/compare/4.7.0...4.7.1 )
---
updated-dependencies:
- dependency-name: typing-extensions
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 08:56:59 +00:00
dependabot[bot]
f614bc2de5
Bump ruff from 0.0.276 to 0.0.281 ( #250 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.276 to 0.0.281.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.276...v0.0.281 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 08:52:18 +00:00
dependabot[bot]
30c0acc4d5
Bump fastapi from 0.99.1 to 0.100.1 ( #247 )
...
Bumps [fastapi](https://github.com/tiangolo/fastapi ) from 0.99.1 to 0.100.1.
- [Release notes](https://github.com/tiangolo/fastapi/releases )
- [Commits](https://github.com/tiangolo/fastapi/compare/0.99.1...0.100.1 )
---
updated-dependencies:
- dependency-name: fastapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-28 08:24:51 +00:00
dependabot[bot]
9c1378c96f
Bump pyright from 1.1.317 to 1.1.318 ( #244 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.317 to 1.1.318.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.317...v1.1.318 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 08:56:57 +00:00
dependabot[bot]
300c9f0ae4
Bump types-redis from 4.6.0.2 to 4.6.0.3 ( #243 )
...
Bumps [types-redis](https://github.com/python/typeshed ) from 4.6.0.2 to 4.6.0.3.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-redis
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 08:53:34 +00:00
dependabot[bot]
5cace7ee4b
Bump pyright from 1.1.316 to 1.1.317 ( #239 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.316 to 1.1.317.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.316...v1.1.317 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 09:00:21 +00:00
dependabot[bot]
fcc7f75d8f
Bump types-aiobotocore from 2.5.1 to 2.5.2 ( #237 )
...
Bumps [types-aiobotocore](https://github.com/youtype/mypy_boto3_builder ) from 2.5.1 to 2.5.2.
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases )
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits )
---
updated-dependencies:
- dependency-name: types-aiobotocore
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 08:21:53 +00:00
dependabot[bot]
3639f76d47
Bump tox from 4.6.3 to 4.6.4 ( #234 )
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.6.3 to 4.6.4.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.6.3...4.6.4 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 08:24:04 +00:00
dependabot[bot]
7a25b77295
Bump types-redis from 4.5.5.2 to 4.6.0.2 ( #233 )
...
Bumps [types-redis](https://github.com/python/typeshed ) from 4.5.5.2 to 4.6.0.2.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-redis
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 08:23:07 +00:00
dependabot[bot]
9ec731be61
Bump tox from 4.6.1 to 4.6.3 ( #214 )
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.6.1 to 4.6.3.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.6.1...4.6.3 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 08:36:23 +00:00
dependabot[bot]
e881a2a4d7
Bump ruff from 0.0.274 to 0.0.276 ( #230 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.274 to 0.0.276.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.274...v0.0.276 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 08:31:06 +00:00
dependabot[bot]
6ea7d01c6f
Bump fastapi from 0.98.0 to 0.99.1 ( #227 )
...
Bumps [fastapi](https://github.com/tiangolo/fastapi ) from 0.98.0 to 0.99.1.
- [Release notes](https://github.com/tiangolo/fastapi/releases )
- [Commits](https://github.com/tiangolo/fastapi/compare/0.98.0...0.99.1 )
---
updated-dependencies:
- dependency-name: fastapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 09:10:23 +00:00
dependabot[bot]
c5aa99a17c
Bump typing-extensions from 4.6.3 to 4.7.0 ( #226 )
...
Bumps [typing-extensions](https://github.com/python/typing_extensions ) from 4.6.3 to 4.7.0.
- [Release notes](https://github.com/python/typing_extensions/releases )
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/python/typing_extensions/compare/4.6.3...4.7.0 )
---
updated-dependencies:
- dependency-name: typing-extensions
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-29 08:13:39 +00:00
dependabot[bot]
b979a1f73c
Bump types-aiobotocore from 2.5.0.post2 to 2.5.1 ( #223 )
...
Bumps [types-aiobotocore](https://github.com/youtype/mypy_boto3_builder ) from 2.5.0.post2 to 2.5.1.
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases )
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits )
---
updated-dependencies:
- dependency-name: types-aiobotocore
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 09:23:40 +00:00
dependabot[bot]
706048f0c3
Bump pyright from 1.1.315 to 1.1.316 ( #222 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.315 to 1.1.316.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.315...v1.1.316 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 09:12:04 +00:00
dependabot[bot]
e775799d41
Bump redis from 4.5.5 to 4.6.0 ( #219 )
...
Bumps [redis](https://github.com/redis/redis-py ) from 4.5.5 to 4.6.0.
- [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/v4.5.5...v4.6.0 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 09:11:36 +00:00
dependabot[bot]
d543c6f3c4
Bump fastapi from 0.96.0 to 0.98.0 ( #216 )
...
Bumps [fastapi](https://github.com/tiangolo/fastapi ) from 0.96.0 to 0.98.0.
- [Release notes](https://github.com/tiangolo/fastapi/releases )
- [Commits](https://github.com/tiangolo/fastapi/compare/0.96.0...0.98.0 )
---
updated-dependencies:
- dependency-name: fastapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 09:13:13 +00:00
dependabot[bot]
3c0e25d854
Bump pyright from 1.1.314 to 1.1.315 ( #215 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.314 to 1.1.315.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.314...v1.1.315 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 09:12:00 +00:00
dependabot[bot]
fd2baba920
Bump mypy from 1.3.0 to 1.4.0 ( #213 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.3.0 to 1.4.0.
- [Commits](https://github.com/python/mypy/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-21 09:13:55 +00:00
dependabot[bot]
0df52ec740
Bump ruff from 0.0.272 to 0.0.274 ( #212 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.272 to 0.0.274.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.272...v0.0.274 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-21 09:10:20 +00:00
dependabot[bot]
50c1f84f24
Bump importlib-metadata from 6.6.0 to 6.7.0 ( #209 )
...
Bumps [importlib-metadata](https://github.com/python/importlib_metadata ) from 6.6.0 to 6.7.0.
- [Release notes](https://github.com/python/importlib_metadata/releases )
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst )
- [Commits](https://github.com/python/importlib_metadata/compare/v6.6.0...v6.7.0 )
---
updated-dependencies:
- dependency-name: importlib-metadata
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 09:16:02 +00:00
dependabot[bot]
8bfe814c36
Bump tox from 4.6.0 to 4.6.1 ( #207 )
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.6.0...4.6.1 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-16 09:14:31 +00:00
dependabot[bot]
c90291fccf
Bump pyright from 1.1.311 to 1.1.314 ( #206 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.311 to 1.1.314.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.311...v1.1.314 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-14 09:21:13 +00:00
dependabot[bot]
c4b0f47642
Bump pytest from 7.3.1 to 7.3.2 ( #204 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.3.1 to 7.3.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.3.1...7.3.2 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 09:15:44 +00:00
dependabot[bot]
37baa6cd0d
Bump ruff from 0.0.271 to 0.0.272 ( #200 )
...
Bumps [ruff](https://github.com/charliermarsh/ruff ) from 0.0.271 to 0.0.272.
- [Release notes](https://github.com/charliermarsh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.271...v0.0.272 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 09:12:43 +00:00
dependabot[bot]
e8cfa24c6e
Bump ruff from 0.0.270 to 0.0.271 ( #199 )
...
Bumps [ruff](https://github.com/charliermarsh/ruff ) from 0.0.270 to 0.0.271.
- [Release notes](https://github.com/charliermarsh/ruff/releases )
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.270...v0.0.271 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 09:14:17 +00:00
dependabot[bot]
8b99ddfeb1
Bump tox from 4.5.2 to 4.6.0 ( #198 )
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.5.2 to 4.6.0.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.5.2...4.6.0 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 09:11:37 +00:00
dependabot[bot]
dfb747230c
Bump fastapi from 0.95.2 to 0.96.0 ( #197 )
...
Bumps [fastapi](https://github.com/tiangolo/fastapi ) from 0.95.2 to 0.96.0.
- [Release notes](https://github.com/tiangolo/fastapi/releases )
- [Commits](https://github.com/tiangolo/fastapi/compare/0.95.2...0.96.0 )
---
updated-dependencies:
- dependency-name: fastapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 09:14:32 +00:00
dependabot[bot]
eb84b1457e
Bump typing-extensions from 4.6.2 to 4.6.3 ( #196 )
...
Bumps [typing-extensions](https://github.com/python/typing_extensions ) from 4.6.2 to 4.6.3.
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/python/typing_extensions/compare/4.6.2...4.6.3 )
---
updated-dependencies:
- dependency-name: typing-extensions
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 09:12:17 +00:00
dependabot[bot]
069a112e3b
Bump pyright from 1.1.308 to 1.1.311 ( #195 )
...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python ) from 1.1.308 to 1.1.311.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases )
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.308...v1.1.311 )
---
updated-dependencies:
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-31 09:12:07 +00:00
dependabot[bot]
8c67de4b44
Bump coverage from 7.2.6 to 7.2.7 ( #193 )
...
Bumps [coverage](https://github.com/nedbat/coveragepy ) from 7.2.6 to 7.2.7.
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/7.2.6...7.2.7 )
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 09:22:23 +00:00
dependabot[bot]
f218c9deb0
Bump tox from 4.5.1 to 4.5.2 ( #190 )
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.5.1...4.5.2 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29 09:17:01 +00:00
dependabot[bot]
bcbe201053
Bump typing-extensions from 4.6.1 to 4.6.2 ( #187 )
...
Bumps [typing-extensions](https://github.com/python/typing_extensions ) from 4.6.1 to 4.6.2.
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/python/typing_extensions/compare/4.6.1...4.6.2 )
---
updated-dependencies:
- dependency-name: typing-extensions
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 09:21:34 +00:00
dependabot[bot]
d395a16595
Bump coverage from 7.2.5 to 7.2.6 ( #181 )
...
Bumps [coverage](https://github.com/nedbat/coveragepy ) from 7.2.5 to 7.2.6.
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/7.2.5...7.2.6 )
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 09:17:20 +00:00
dependabot[bot]
09e0da20b0
Bump ruff from 0.0.267 to 0.0.270 ( #184 )
...
Bumps [ruff](https://github.com/charliermarsh/ruff ) from 0.0.267 to 0.0.270.
- [Release notes](https://github.com/charliermarsh/ruff/releases )
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md )
- [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.267...v0.0.270 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 09:13:17 +00:00
dependabot[bot]
8945ac7a3a
Bump typing-extensions from 4.5.0 to 4.6.1 ( #180 )
...
Bumps [typing-extensions](https://github.com/python/typing_extensions ) from 4.5.0 to 4.6.1.
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/python/typing_extensions/compare/4.5.0...4.6.1 )
---
updated-dependencies:
- dependency-name: typing-extensions
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 09:14:07 +00:00
dependabot[bot]
c1d2dd65fa
Bump requests from 2.30.0 to 2.31.0 ( #178 )
...
Bumps [requests](https://github.com/psf/requests ) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.30.0...v2.31.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 09:11:18 +00:00
dependabot[bot]
0b66fd7535
Bump httpx from 0.24.0 to 0.24.1 ( #174 )
...
Bumps [httpx](https://github.com/encode/httpx ) from 0.24.0 to 0.24.1.
- [Release notes](https://github.com/encode/httpx/releases )
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md )
- [Commits](https://github.com/encode/httpx/compare/0.24.0...0.24.1 )
---
updated-dependencies:
- dependency-name: httpx
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-19 09:13:15 +00:00
Martijn Pieters
fbdaa62e24
💄 Pull version from installation metadata ( #172 )
...
The version string in the `__init__` module is needed to support
towncrier, but that does mean there are now two locations for the
project version: pyproject.toml and the `__init__.py` file. Use
`importlib.metadata` to pull the version from the installation metadata.
2023-05-17 17:09:52 +00:00
Martijn Pieters
70d8fef402
Merge pull request #171 from long2ice/towncrier
...
📣 Start managing the changelog with towncrier
2023-05-17 17:37:51 +01:00
Martijn Pieters
42cb99d4eb
📣 Start managing the changelog with towncrier
...
This PR includes a workflow that validates that future PRs include
a changelog entry (unless the `skip-changelog` label is present on the
PR, or the PR is a dependabot PR).
Use 'poetry run towncrier create` to create entries for the changelog.
2023-05-17 17:31:03 +01:00
Martijn Pieters
b287f21043
📖 Copy-edit README ( #168 )
...
- Update workflow shields to point to new CI/CD pipeline, and link
all shields to somewhere appropriate.
- Use product names instead of code-markup names.
- Edit for English grammar and style.
- Expand decorator argument table to add defaults
- Add more meaningful `Coder` and key builder examples and expand
on what the default key builder does.
2023-05-17 11:34:40 +00:00
Martijn Pieters
826e785522
Merge pull request #166 from long2ice/release_wf
...
📦 Move PyPI release workflow into the main workflow.
2023-05-17 11:38:11 +01:00
Martijn Pieters
282fcc7cea
📦 Move PyPI release workflow into the main workflow.
...
This ensures that any releases are fully tested before publication.
The workflow first builds the distribution files (sdist, wheel) before
using a deployment environment to publish these to PyPI, using the
GitHub actions OpenID support to authenticate with PyPI.
2023-05-17 11:33:25 +01:00
dependabot[bot]
645cd94ec1
Bump fastapi from 0.95.1 to 0.95.2 ( #167 )
...
Bumps [fastapi](https://github.com/tiangolo/fastapi ) from 0.95.1 to 0.95.2.
- [Release notes](https://github.com/tiangolo/fastapi/releases )
- [Commits](https://github.com/tiangolo/fastapi/compare/0.95.1...0.95.2 )
---
updated-dependencies:
- dependency-name: fastapi
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 09:11:54 +00:00
Martijn Pieters
4aa8060faa
Merge pull request #163 from long2ice/3777dependabot/pip/main/coverage-7.2.5
2023-05-16 15:07:50 +01:00
dependabot[bot]
189f997228
Bump coverage from 6.5.0 to 7.2.5
...
Bumps [coverage](https://github.com/nedbat/coveragepy ) from 6.5.0 to 7.2.5.
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/6.5.0...7.2.5 )
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-16 13:46:35 +00:00
Martijn Pieters
3e7deea2ba
Correct merge metadata step id, loosen version ( #165 )
2023-05-16 13:31:55 +00:00
Martijn Pieters
452eaedf5b
🤦 put dependabot wf in correct place ( #164 )
2023-05-16 13:24:45 +00:00
Martijn Pieters
24e1d8d40b
Merge pull request #162 from long2ice/5db3dependabot/pip/main/aiobotocore-2.5.0
...
Bump aiobotocore from 1.4.2 to 2.5.0
2023-05-16 14:21:41 +01:00
dependabot[bot]
621103c2b8
Bump aiobotocore from 1.4.2 to 2.5.0
...
Bumps [aiobotocore](https://github.com/aio-libs/aiobotocore ) from 1.4.2 to 2.5.0.
- [Release notes](https://github.com/aio-libs/aiobotocore/releases )
- [Changelog](https://github.com/aio-libs/aiobotocore/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiobotocore/compare/1.4.2...2.5.0 )
---
updated-dependencies:
- dependency-name: aiobotocore
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-16 13:17:50 +00:00
Martijn Pieters
bb12a91b58
Create codeql scanning workflow ( #161 )
...
This helps find any security issues in PRs.
2023-05-16 13:14:58 +00:00
Martijn Pieters
4236b350d9
Configure dependabot and associated workflows ( #160 )
...
The auto-merge workflow automatically approves dependabot PRs that
update dependencies or github actions where the semver difference is
at most a minor upgrade. These PRs are then auto-merged once the CI
checks have passed.
The labeller workflow adds / removes the auto-merge label to make
auto-merging more visible in issue lists and to make it possible to
filter such PRs. This workflow is unfortunately not triggered
when the auto-approve workflow enables auto-merging due to GH anti-
recursion rules, so the auto-merge workflow adds the label explicitly.
2023-05-16 13:06:11 +00:00
Martijn Pieters
23bb4e9cd4
Add pytest-style linting ( #159 )
...
This does mean we need to tell pyright that the init_cache auto-use
fixture is still being used even though it now has a leading underscore.
2023-05-16 12:45:26 +00:00
Martijn Pieters
230c24a4e0
Give tests and examples separate ruff configs ( #158 )
...
This allows more fine-grained lint rule adjustments, and allows
the examples to treat fastapi_cache as a 'third party' module, just
like users of the library would use it.
2023-05-16 12:42:12 +00:00
Martijn Pieters
d938bbe4d2
Add flake8-comprehensions linter ( #157 )
2023-05-16 12:18:53 +00:00
Martijn Pieters
50e3f91a87
Add flake8-bandit linting ( #156 )
...
The linter has been used in the past, so most assertions for these were
already there but needed to be updated to use `noqa: S` instead of
`nosec: B` annotations.
2023-05-16 12:11:10 +00:00
Martijn Pieters
cbad93c970
Merge pull request #155 from long2ice/pyupgrade
...
Add pyupgrade linter
2023-05-16 13:07:56 +01:00
Martijn Pieters
f7db5cceb1
Add pyupgrade linter
...
This ensures we use the best syntax for the minimal Python version used.
The linter found one issue, fixed with the auto-fixer.
2023-05-16 13:00:18 +01:00
Martijn Pieters
daad4cf9a8
Merge pull request #154 from long2ice/simplify_pyproject.toml
...
Clean up pyproject.toml
2023-05-16 12:59:16 +01:00
Martijn Pieters
d2947d01b5
Clean up pyproject.toml
...
- remove usused dependency
- use poetry syntax to specify minimal python versions
- simplify path selections in mypy and pyright
- correct pytest section name
2023-05-16 12:47:47 +01:00
Martijn Pieters
637c825dc8
Merge pull request #153 from long2ice/simplify_wf
...
CI: tox now takes care of extras and groups
2023-05-16 12:35:22 +01:00
Martijn Pieters
1cf352bc9c
CI: tox now takes care of extras and groups
...
The outer Poetry installation can be simplified as long as tox is part
of the dev group.
2023-05-16 12:29:18 +01:00
Martijn Pieters
f314d84d31
Merge pull request #152 from long2ice/ruff
...
Switch to ruff to handle linting and formatting
2023-05-16 12:24:02 +01:00
Martijn Pieters
1d9e126037
Switch to ruff to handle linting and formatting
...
Ruff handles black, flake8 and isort in one package, and is way faster.
The isort rules had not been enforced, so this commit includes a lot
of import resorting changes.
I switched to flake8-bugbear and the standard black-compatible line
length of 80 + 10% (so max 88 characters), so some line reflowing is
included too.
Finally, because bugbear rightly points out that `setattr()` is less
performant, I've switched the `__signature__` assigment back to using
a direct assignment with type ignore comment.
2023-05-16 12:18:24 +01:00
Martijn Pieters
707b4aec95
Merge pull request #151 from long2ice/poetry_core
...
Use poetry-core as the build system
2023-05-16 11:08:03 +01:00
Martijn Pieters
293a06467a
Use poetry-core as the build system
...
Poetry core is the lighter-weight build system for poetry; this makes
installing the project faster.
2023-05-16 11:03:53 +01:00
Martijn Pieters
7767d2460d
Merge pull request #146 from long2ice/tox
...
Add tox configuration
2023-05-16 10:52:25 +01:00
Martijn Pieters
0e9a8baeb2
Add tox configuration
...
Tox manages test environments for all supported Python versions, as
well as linting and formatting tools. On GitHub, the test and lint
steps are kept as close as possible to the Makefile equivalents.
2023-05-16 10:49:17 +01:00
Martijn Pieters
2eabc49d24
Merge pull request #150 from long2ice/cache_mypy_cache
...
CI: cache the mypy cache for faster runs
2023-05-15 17:49:38 +01:00
Martijn Pieters
b5aabaaf59
CI: cache the mypy cache for faster runs
2023-05-15 17:43:49 +01:00
Martijn Pieters
2da4701c1d
Merge pull request #148 from long2ice/separate_linting
...
CI: use a separate step to run linters
2023-05-15 17:33:34 +01:00
Martijn Pieters
31d0b007cd
CI: use a separate step to run linters
...
This makes it easier to separate linter dependencies from older Python
releases.
2023-05-15 17:30:06 +01:00
Martijn Pieters
e57cd59c98
Merge pull request #149 from long2ice/pr_is_not_push
...
CI: don't run this workflow twice on a PR
2023-05-15 17:25:29 +01:00
Martijn Pieters
4a012c7cae
CI: don't run this workflow twice on a PR
...
If a maintainer pushes to a PR, the workflow push and pull_request events
both trigger. Limit the workflow to the main branch, explicitly.
2023-05-15 17:23:26 +01:00
Martijn Pieters
915f3dd8f2
Add a cache status header to the response
...
The header name is configurable, and defaults to `X-FastAPI-Cache`,
the value is either `HIT` or `MISS`.
Note that the header is not set at all when the cache is disabled.
2023-05-14 17:03:57 +01:00
Martijn Pieters
29426de95f
Refactor decorator, consolidate miss / hit paths
...
Use just three code paths: uncacheable, cache miss and cache hit. This
makes it much easier to follow what happens for each case. the only
places where the inner function now exits early are when the call is
uncacheable, or when there is a cache hit and the request included a
matching If-Not-Modified header.
- Use a utility function to capture when a request should not use the
cache
- Use the starlette.status constant for the 'not modified' status for
code clarity.
- Use `setattr()` for the inner function signature, avoiding the need
for a type checker override comment.
2023-05-14 17:03:57 +01:00
Martijn Pieters
d10f4af6d6
Import supported backends
...
This ensures that any syntax issues are caught early (by type checkers
and tests). Backends that are missing dependencies are skipped. By
importing, this exposed an issue where the redis type annotations
raised an exception, which has been fixed by using forward annotations.
To help avoid import dependency hell, the Backend ABC has been moved to
`fastapi_cache.types`. In the process, it has been made an actual ABC.
2023-05-14 17:02:30 +01:00
long2ice
9638d70dfe
Merge pull request #133 from mjpieters/correct_json_decode_return
...
Clean up type annotations
2023-05-12 14:53:40 +08:00
Martijn Pieters
0763cd7b95
Add pyright strict type checking
2023-05-11 12:57:28 +01:00
Martijn Pieters
ad1eae2b4b
Set python version for mypy
...
This lets you catch compatibility issues regardless of the current python version used for development.
2023-05-11 12:57:27 +01:00
Martijn Pieters
eda2a437a4
More type hint compatibility updates
2023-05-11 12:57:27 +01:00
Martijn Pieters
a892a21b92
Run mypy during CI checks
2023-05-11 12:34:08 +01:00
Martijn Pieters
941cd044c7
Full mypy --strict type checking pass
2023-05-11 12:34:08 +01:00
Martijn Pieters
e92604802e
Remove non-existing argument to unicorn.run
2023-05-11 12:31:07 +01:00
Martijn Pieters
94a02733c8
Run tests on all supported Python versions.
2023-05-11 12:31:07 +01:00
Martijn Pieters
013be85f97
Typing cleanup
...
- Compatibility with older Python versions
- use `Optional` and `Union` instead of `... | None` and `a | b`
- use `typing_extensions.Protocol` instead of `typing.Protocol`
- use `typing.Dict`, `typing.List`, etc. instead of the concrete types.
- Fix backend `.get()` annotations; not all were marked as `Optional[str]`
- Don't return anything from `Backend.set()` methods.
- The `Coder.decode_as_type()` type parameter must be a type to be
compatible with `ModelField(..., type_=...)`.
- Clean up `Optional[]` use, remove where it is not needed.
- Clean up variable use in decorator, keeping the raw cached value
separate from the return value from the wrapped endpoint.
- Annotate the wrapper as returning either the original type _or_ a
Response (returning a 304 Not Modified response).
- Clean up small edge-case where `response` could be `None`.
- Correct type annotation on `JsonCoder.decode()` to match `Coder.decode()`.
2023-05-11 12:31:05 +01:00
long2ice
564026e189
Merge pull request #135 from mjpieters/refactor_prefix
...
Make decorator responsibe for applying the prefix
2023-05-11 09:25:57 +08:00
long2ice
fba7726280
Merge pull request #134 from mjpieters/backend_coder_bytes
...
Make backends store bytes instead of strings
2023-05-11 09:24:38 +08:00
Martijn Pieters
d9965a45e5
Make decorator responsibe for applying the prefix
...
The key builder should not have to fetch the prefix separately, as this
makes creating custom key builders that much harder.
2023-05-10 18:59:59 +01:00
Martijn Pieters
23d439f83a
Make backends store bytes instead of strings
...
This is, for the majority of backends, the native format anyway, and so
we save encoding and decoding when using the PickleCodec or if (in future)
a orjson Coder was to be added.
For the JsonCodec, the only thing that changed is the location where the
JSON data is encoded to bytes and decoded back again to a string.
2023-05-10 17:35:15 +01:00
long2ice
5f2fcf3581
Merge pull request #132 from mjpieters/cache_pydantic_fields
...
Cache pydantic model fields for faster decoding
2023-05-10 21:21:43 +08:00
Martijn Pieters
7c30402907
Cache pydantic model fields for faster decoding
...
In `timeit` tests, 10.000 calls to `ModelField()` could take up to half
a second on my Macbook Pro M1, depending on the type annotation used.
Given that the method is called for every cache hit, this can really add
up. The number of different return types for endpoints is very much
finite however, so caching is a definite win here.
2023-05-09 17:25:32 +01:00
long2ice
4d67e0c464
Merge pull request #124 from mjpieters/type_refinement
...
key_builder type; args and kwargs are always given
2023-05-09 18:16:37 +08:00
long2ice
276c7c725f
Merge pull request #125 from mjpieters/update_lock
...
Refresh poetry lock
2023-05-09 18:16:13 +08:00
long2ice
da9a03ede8
Merge pull request #127 from mjpieters/exported_names
...
Explicitly list what names are exported
2023-05-09 18:15:57 +08:00
long2ice
eece971f0a
Merge pull request #128 from mjpieters/namespaced_injection
...
Inject dependencies using a namespace
2023-05-09 18:15:32 +08:00
Martijn Pieters
e09ede2e4c
Inject dependencies using a namespace
...
Instead of assuming that the Request and Response injected keyword
arguments can be named `request` and `response`, use namespaced
keyword names starting with a double underscore.
By default the parameter names now start with `__fastapi_cache_` and so
are a) clearly marked as internal, and b) highly unlikely to clash with
existing keyword arguments. The prefix is configurable in the unlikely
event that the names would clash in specific cases.
2023-05-09 11:09:29 +01:00
long2ice
2788006b8c
Merge pull request #130 from mjpieters/non_get_requests
...
Fix handling non-GET requests
2023-05-09 18:03:24 +08:00
Martijn Pieters
4cc946eb00
Fix handling non-GET requests
...
The `request` parameter being passed in was just a hold-over from an
earlier refactoring. Added tests to ensure that this edge case keeps
working.
2023-05-09 10:58:37 +01:00
long2ice
1ded0ed50e
Merge pull request #131 from mjpieters/json_decoder_pydantic
...
Decode cache data to the correct endpoint type
2023-05-09 10:16:17 +08:00
Martijn Pieters
f78a599bbc
Decode cache data to the correct endpoint type
...
Use the return annotation to decode cached data to the correct type.
This follows the same logic FastAPI uses to JSON request bodies.
For the PickleCoder, this is a no-op as pickle already stores type
information in the serialised data.
2023-05-08 16:55:05 +01:00
Martijn Pieters
b1dc05a89a
key_builder type; args and kwargs are always given
...
These arguments are never set to None so don't need to be optional. They
are always a tuple and a dict but can be empty.
2023-04-28 16:50:30 +01:00
Martijn Pieters
416a4ec850
Explicitly list what names are exported
...
This signals to automated tools what names usually can be imported from
the package, as otherwise you'd get warnings like `"default_key_builder"
is not exported from module "fastapi_cache"`.
2023-04-28 14:40:31 +01:00
Martijn Pieters
3a3964db1b
Refresh poetry lock
...
The older releases in the lock can cause the CI build to fail with
more recent Poetry versions, see python-poetry/poetry#7611 . Updating
the lock should remedy this.
2023-04-28 12:27:52 +01:00
long2ice
550ba76df4
Merge pull request #123 from mjpieters/method_signature
...
Attach updated endpoint signature to inner
2023-04-28 14:29:06 +08:00
long2ice
b26059b654
Merge pull request #122 from mjpieters/type-hinting
...
Complete type hints
2023-04-28 14:28:49 +08:00
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
Martijn Pieters
72c42325ab
The backend needs an async redis client with a pipeline method
...
The Abstract* classes lack the pipeline method so are not sufficient.
2023-04-27 16:33:43 +01:00
Martijn Pieters
6af14be049
Provide annotation for the session attribute
2023-04-27 16:32:07 +01:00
Martijn Pieters
9c966286b4
Use complete type hints with all generic parameters filled
...
This makes the core fastapi_cache pass all strict type checker tests.
2023-04-27 16:31:42 +01:00
Martijn Pieters
a52f6b1406
Simplify key_builder calling
...
The keybuilder is either returning a string, or a coroutine or other
awaitable. If the latter, await on the return value to get the string.
2023-04-27 16:29:10 +01:00
Martijn Pieters
255f40117b
Define keybuilder protocol
...
This lets others create key builders that are type checked fully.
2023-04-27 16:26:41 +01:00
Martijn Pieters
d4cd787527
JSONResponse.body is UTF-8 bytes and must be decoded
2023-04-27 16:20:12 +01:00
Martijn Pieters
059793d585
Remove a type: ignore comment
...
GIve the type checker more information about the converters instead.
2023-04-27 16:19:02 +01:00
Martijn Pieters
0d0fe1f0d0
Mark up the class variables as such
...
There is never an instance of this class, so these are not instance attributes.
2023-04-27 16:15:06 +01:00
Martijn Pieters
32acafa5e0
Correct type hint: namespace is not optional
...
The namespace argument is positional and will never be `None` so should
not be marked as Optional. It is always a string, and the default is
to pass in an empty string.
2023-04-27 16:11:59 +01:00
long2ice
ee58f979d4
ci: fix workflows
2023-02-15 10:53:24 +08:00
long2ice
38ddd063c3
test: add httpx for test
2023-02-15 10:49:35 +08:00
long2ice
27acce3160
ci: fix poetry
2023-02-15 10:45:19 +08:00
long2ice
d04be274e9
feat: upgrade deps
2023-02-15 10:43:01 +08:00
long2ice
80563fd6e7
Merge pull request #118 from naoki-jarvisml/var_keyword
...
Support functions with VAR_KEYWORD parameter
2023-02-15 10:30:12 +08:00
Naoki Shima
98cf8a78a1
adding test coverage
2023-02-15 10:35:41 +09:00
Naoki Shima
01c895dbbb
Support functions with VAR_KEYWORD parameter
...
decorating function with **kwargs parameter with @cache causes ValueError.
ValueError: wrong parameter order: variadic keyword parameter before keyword-only parameter
We need to inject request / response parameters before VAR_KEYWORD parameter.
2023-02-09 15:14:20 +09:00
long2ice
e3b08dda2c
Merge pull request #114 from hackjammer/feature/redisCluster
...
Add RedisCluster Support
2023-02-01 15:33:11 +08:00
long2ice
552a7695e8
Update fastapi_cache/decorator.py
...
Co-authored-by: mkdir700 <56359329+mkdir700@users.noreply.github.com >
2023-02-01 15:33:04 +08:00
hackjammer
ea1ffcd7b4
Add logging to decorator.py on backend failures
2023-01-17 12:15:53 +00:00
hackjammer
e8193b5c22
enabled redis in cluster mode
2023-01-15 21:54:16 +00:00
hackjammer
ab26fad604
passthrough for any type of backend exception
2023-01-15 17:07:37 +00:00
long2ice
7a89f28b54
Merge pull request #112 from schmocker/main
...
add cache-control and etag to header of fist response
2023-01-15 12:27:56 +08:00
Tobias Schmocker
334b829a80
Merge branch 'master'
...
# Conflicts:
# fastapi_cache/decorator.py
2023-01-14 19:11:42 +01:00
long2ice
62ef8bed37
Merge pull request #109 from Mrreadiness/fix/piclke-coder
...
Fix Piclke Coder
2023-01-11 21:31:02 +08:00
Ivan Moiseev
9a39db7a73
Merge branch 'long2ice:main' into fix/piclke-coder
2023-01-11 16:26:05 +03:00
Ivan Moiseev
e23289fcbf
Merge branch 'main' into fix/piclke-coder
2022-12-08 00:23:39 +04:00
Ivan Moiseev
cb9fe5c065
fix: PickleCoder and add tests for it.
2022-11-05 13:45:16 +04:00
Tobias Schmocker
e5250c7f58
remove private from cache-control
2022-02-04 16:41:42 +01:00
Tobias Schmocker
1795c048d1
add cache-control to response after setting the cache
2022-02-04 16:37:18 +01:00