Consumers

Latest version: v0.6.1

Safety actively analyzes 621924 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.6.1

------------------
- Fix documentation.

0.6.0

------------------
- Change consumer to be any callable type.
- Add consumer arg and kwarg specification.
- Change consumer process naming.

0.5.0

------------------
- Remove ``Pool.start()`` in favor of starting the pool upon Pool
instantiation.
- Rename ``Pool.stop()`` to ``Pool.join()``
- Add ``Pool.close()`` to drain the queue and shutdown consumer processes in
the background.
- Add ``Pool.terminate()`` to kill the consumer processes.
- Refactor a few things.

0.4.0

------------------
- Essentially an API rewrite on what consumers are and how they consume.

0.3.0

------------------
- Added queue results.
- Removed mechanism for queues to manage related queues.

0.2.1

------------------
- Fixed consumers being created in the master process before being forked into
separate processes.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.