Skip to content

Commit

Permalink
fix: update index docs and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kalombos committed Sep 15, 2024
1 parent a51ec8b commit d44ea51
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 17 deletions.
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ For PostgreSQL:

.. code-block:: console
pip install peewee-async aiopg
pip install peewee-async[postgresql]
For MySQL:

.. code-block:: console
pip install peewee-async aiomysql
pip install peewee-async[mysql]
Install from sources
++++++++++++++++++++
Expand All @@ -54,7 +54,7 @@ Install from sources
git clone https://github.com/05bit/peewee-async.git
cd peewee-async
python setup.py install
pip install .
Running tests
+++++++++++++
Expand Down
2 changes: 1 addition & 1 deletion docs/peewee_async/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ The complete working example is provided below. And here are some general notes:

**Also note:** if you spawn an extra task during a transaction, it will run outside of that transaction.

.. literalinclude:: ../../examples/tornado_sample.py
.. literalinclude:: ../samples/tornado_sample.py
:start-after: # Start example
File renamed without changes.
14 changes: 3 additions & 11 deletions examples/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
fastapi==0.111.0
uvicorn==0.29.0
tornado==6.4
aiohttp==3.9.5
gunicorn==22.0.0

aiopg~=1.4.0
aiomysql~=0.2.0

peewee~=3.17.3
# peewee-async~=0.10.0
aiohttp
gunicorn
peewee-async[postgresql]
4 changes: 2 additions & 2 deletions load-testing/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
fastapi==0.110.0
uvicorn==0.29.0
fastapi
uvicorn

0 comments on commit d44ea51

Please sign in to comment.