Skip to content

A working example to demostrate async tools usage with SQLModel & FastAPI

Notifications You must be signed in to change notification settings

deshetti/sqlmodel-async-example

Repository files navigation

SQLModel Aysnc Example

This is a simple repo I created with a working example to demonstrate async tools usage with SQLModel. Purpose was to add this to the SQLModel documentation.

If you want to run this project directly, you can follow the below steps:

  • Run the docker-compose.yaml file to start the Postgres instance and create the required database
  • Run the fastapi application in a different terminal using the command: poetry run python main.py
  • You should be able to access the swagger docs for the fastapi application at https://localhost:8000/docs

About

A working example to demostrate async tools usage with SQLModel & FastAPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages