Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Update model.rst #1354

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/quickstart/model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,17 @@ You may have noticed we're importing from ``dffml.noasync``. If you're using

.. literalinclude:: /../examples/quickstart_async.py


If you are running this on Jupyter (Jupyter Lab or Jupyter Notebook), you
might encounter the RuntimeError caused by the event loop started automatically
by Jupyter. To solve this problem, simply replace the last line of codes
.. code-block :: Python
asyncio.run(main())

with
.. code-block :: Python
await(main())

HTTP
----

Expand Down