Skip to content

Commit

Permalink
Add extension activation to SQLAlchemy docs
Browse files Browse the repository at this point in the history
  • Loading branch information
livioribeiro committed Feb 8, 2024
1 parent 83fd9ee commit 59cab25
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/extensions/sqlalchemy.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,19 @@ Install SQLAlchemy python package and the database driver:
pip install selva[sqlalchemy] aiosqlite aiomysql psycopg oracledb
```

Activate SQLAlchemy extension:

=== "configuration/settings.yaml"

```yaml
extensions:
- selva.ext.data.sqlalchemy
```

Define the configuration properties for the database:

=== "configuration/settings.yaml"

```yaml
data:
sqlalchemy:
Expand Down

0 comments on commit 59cab25

Please sign in to comment.