Skip to content

Commit 9d08ae9

Browse files
authored
Merge pull request #189 from grillazz/187-python313
187 python313
2 parents d798635 + 3143b45 commit 9d08ae9

File tree

5 files changed

+679
-714
lines changed

5 files changed

+679
-714
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -209,21 +209,21 @@ I've included a few of my favorites to kick things off!
209209
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555
210210
[linkedin-url]: https://www.linkedin.com/in/python-has-powers/
211211

212-
[fastapi.tiangolo.com]: https://img.shields.io/badge/FastAPI-0.115.2-009485?style=for-the-badge&logo=fastapi&logoColor=white
212+
[fastapi.tiangolo.com]: https://img.shields.io/badge/FastAPI-0.115.6-009485?style=for-the-badge&logo=fastapi&logoColor=white
213213
[fastapi-url]: https://fastapi.tiangolo.com/
214-
[pydantic.com]: https://img.shields.io/badge/Pydantic-2.9.2-e92063?style=for-the-badge&logo=pydantic&logoColor=white
214+
[pydantic.com]: https://img.shields.io/badge/Pydantic-2.10.3-e92063?style=for-the-badge&logo=pydantic&logoColor=white
215215
[pydantic-url]: https://docs.pydantic.dev/latest/
216216
[sqlalchemy.org]: https://img.shields.io/badge/SQLAlchemy-2.0.36-bb0000?color=bb0000&style=for-the-badge
217217
[sqlalchemy-url]: https://docs.sqlalchemy.org/en/20/
218-
[uvicorn.org]: https://img.shields.io/badge/Uvicorn-0.32.0-2094f3?style=for-the-badge&logo=uvicorn&logoColor=white
218+
[uvicorn.org]: https://img.shields.io/badge/Uvicorn-0.34.0-2094f3?style=for-the-badge&logo=uvicorn&logoColor=white
219219
[uvicorn-url]: https://www.uvicorn.org/
220-
[asyncpg.github.io]: https://img.shields.io/badge/asyncpg-0.29.0-2e6fce?style=for-the-badge&logo=postgresql&logoColor=white
220+
[asyncpg.github.io]: https://img.shields.io/badge/asyncpg-0.30.0-2e6fce?style=for-the-badge&logo=postgresql&logoColor=white
221221
[asyncpg-url]: https://magicstack.github.io/asyncpg/current/
222-
[pytest.org]: https://img.shields.io/badge/pytest-8.3.3-fff?style=for-the-badge&logo=pytest&logoColor=white
222+
[pytest.org]: https://img.shields.io/badge/pytest-8.3.4-fff?style=for-the-badge&logo=pytest&logoColor=white
223223
[pytest-url]: https://docs.pytest.org/en/6.2.x/
224-
[alembic.sqlalchemy.org]: https://img.shields.io/badge/alembic-1.13.3-6BA81E?style=for-the-badge&logo=alembic&logoColor=white
224+
[alembic.sqlalchemy.org]: https://img.shields.io/badge/alembic-1.14.0-6BA81E?style=for-the-badge&logo=alembic&logoColor=white
225225
[alembic-url]: https://alembic.sqlalchemy.org/en/latest/
226-
[rich.readthedocs.io]: https://img.shields.io/badge/rich-13.9.2-009485?style=for-the-badge&logo=rich&logoColor=white
226+
[rich.readthedocs.io]: https://img.shields.io/badge/rich-13.9.4-009485?style=for-the-badge&logo=rich&logoColor=white
227227
[rich-url]: https://rich.readthedocs.io/en/latest/
228-
[redis.io]: https://img.shields.io/badge/redis-5.1.1-dc382d?style=for-the-badge&logo=redis&logoColor=white
228+
[redis.io]: https://img.shields.io/badge/redis-5.2.1-dc382d?style=for-the-badge&logo=redis&logoColor=white
229229
[redis-url]: https://redis.io/

app/main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async def lifespan(_app: FastAPI):
3535
# Initialize the cache with the redis connection
3636
redis_cache = await get_cache()
3737
FastAPICache.init(RedisBackend(redis_cache), prefix="fastapi-cache")
38-
logger.info(FastAPICache.get_cache_status_header())
38+
# logger.info(FastAPICache.get_cache_status_header())
3939
# Initialize the postgres connection pool
4040
_app.postgres_pool = await asyncpg.create_pool(
4141
dsn=_postgres_dsn,
@@ -51,7 +51,7 @@ async def lifespan(_app: FastAPI):
5151
await _app.postgres_pool.close()
5252

5353

54-
app = FastAPI(title="Stuff And Nonsense API", version="0.16", lifespan=lifespan)
54+
app = FastAPI(title="Stuff And Nonsense API", version="0.17", lifespan=lifespan)
5555

5656
app.include_router(stuff_router)
5757
app.include_router(nonsense_router)

0 commit comments

Comments
 (0)