Skip to content

Commit

Permalink
fix: (typo) changed emphasis from line 12 to 11 to highlight the corr…
Browse files Browse the repository at this point in the history
…ect plugin being added in tutorial (#3768)

Update line emphasis sqlalchemy "Using the init plugin" tutorial
  • Loading branch information
eliasfandi authored Sep 30, 2024
1 parent b187749 commit 4894593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/sqlalchemy/3-init-plugin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Here's the updated code:
.. literalinclude:: /examples/contrib/sqlalchemy/plugins/tutorial/full_app_with_init_plugin.py
:language: python
:linenos:
:emphasize-lines: 12,30,78-79,87
:emphasize-lines: 11,30,78-79,87

The most notable difference is that we no longer need the ``db_connection()`` lifespan context manager - the plugin
handles this for us. It also handles the creation of the tables in our database if we supply our metadata and
Expand Down

0 comments on commit 4894593

Please sign in to comment.