Skip to content

Commit

Permalink
improved docs function naming
Browse files Browse the repository at this point in the history
  • Loading branch information
silvanmelchior-zuehlke committed Nov 30, 2021
1 parent 52ce0e9 commit 9fd1a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/usage/listeners.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This decorator also works for asynchronous functions::
from confz import depends_on

@depends_on(DBConfig)
async def my_fn():
async def get_engine():
engine = create_async_engine(f'sqlite:///{DBConfig().path}', echo=True)

async with engine.begin() as conn:
Expand Down

0 comments on commit 9fd1a00

Please sign in to comment.