Skip to content

Commit

Permalink
Mention new extras in README
Browse files Browse the repository at this point in the history
  • Loading branch information
hasier authored and matyasrichter committed Jun 4, 2024
1 parent 0fbe57d commit 94452bb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ PyPI: https://pypi.org/project/fastapi-injector/
pip install fastapi-injector
```

`fastapi-injector` relies on your project using FastAPI as a dependency separately, but you can also get it installed automatically by using any of the extras.

```shell
# Installs `fastapi`
pip install fastapi-injector[standard]

# Installs `fastapi-slim`
pip install fastapi-injector[slim]
```

## Usage

When creating your FastAPI app, attach the injector to it:
Expand Down

0 comments on commit 94452bb

Please sign in to comment.