InvokeAI/docs
Lincoln Stein fbede84405
[feature] Download Queue (#5225)
* add base definition of download manager

* basic functionality working

* add unit tests for download queue

* add documentation and FastAPI route

* fix docs

* add missing test dependency; fix import ordering

* fix file path length checking on windows

* fix ruff check error

* move release() into the __del__ method

* disable testing of stderr messages due to issues with pytest capsys fixture

* fix unsorted imports

* harmonized implementation of start() and stop() calls in download and & install modules

* Update invokeai/app/services/download/download_base.py

Co-authored-by: Ryan Dick <ryanjdick3@gmail.com>

* replace test datadir fixture with tmp_path

* replace DownloadJobBase->DownloadJob in download manager documentation

* make source and dest arguments to download_queue.download() an AnyHttpURL and Path respectively

* fix pydantic typecheck errors in the download unit test

* ruff formatting

* add "job cancelled" as an event rather than an exception

* fix ruff errors

* Update invokeai/app/services/download/download_default.py

Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>

* use threading.Event to stop service worker threads; handle unfinished job edge cases

* remove dangling STOP job definition

* fix ruff complaint

* fix ruff check again

* avoid race condition when start() and stop() are called simultaneously from different threads

* avoid race condition in stop() when a job becomes active while shutting down

---------

Co-authored-by: Lincoln Stein <lstein@gmail.com>
Co-authored-by: Ryan Dick <ryanjdick3@gmail.com>
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
Co-authored-by: Kent Keirsey <31807370+hipsterusername@users.noreply.github.com>
2023-12-22 12:35:57 -05:00
..
assets updated nodes docs 2023-09-12 12:01:44 -04:00
contributing [feature] Download Queue (#5225) 2023-12-22 12:35:57 -05:00
deprecated remove all references to CLI 2023-10-18 11:28:26 +11:00
features feat: serve HTTPS when configured with ssl_certfile 2023-12-12 16:01:43 +11:00
help Added FAQ 2023-11-16 16:10:43 +11:00
installation docs: add warning to developer install about database & main 2023-12-14 11:47:33 +11:00
javascripts adding kapa widget to docs 2023-12-13 22:33:50 -05:00
nodes Update communityNodes.md 2023-12-21 13:51:59 -05:00
other remove all references to CLI 2023-10-18 11:28:26 +11:00
workflows Updated workflows 2023-10-31 07:17:14 -07:00
CHANGELOG.md remove all references to CLI 2023-10-18 11:28:26 +11:00
CODE_OF_CONDUCT.md remove all references to CLI 2023-10-18 11:28:26 +11:00
index.md Added FAQ 2023-11-16 16:10:43 +11:00
requirements-mkdocs.txt (docs) add redirects for moved pages (#2063) 2022-12-18 08:04:58 +00:00