Allows logging on long running tasks that throw an exception but are still loaded into memory
Project description
asyncio-task-logger
Allows logging on long-running tasks that throw an exception but are still loaded into memory. By default, a task's future doesn't spit out exceptions until it gets garbage collected or completed. This is a problem for long-running tasks.
Where this code came from
This solution was created by Quantlane, but as they didn't seem to be hosting it on PyPI and it would be convenient for me (and probably others) to have it on PyPI, I created this package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file asyncio_task_logger-0.0.2.tar.gz
.
File metadata
- Download URL: asyncio_task_logger-0.0.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce14258403be4c6fcb29c41ab4d507eb97a999075bc551539454760846b1fd0f |
|
MD5 | 730a09b777ac590b7deedb88c6706aee |
|
BLAKE2b-256 | e64cacd30c074f1a4ab4be55d64b849a5ea7cd1f96c8ceee709fe410890635b4 |
File details
Details for the file asyncio_task_logger-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: asyncio_task_logger-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62c8697ccd064bd592b52c9e981ae1ea608bb4eea81e7068ea7a9e944e40e2c4 |
|
MD5 | 3a53c55542768e2026cc7e6f84b845c1 |
|
BLAKE2b-256 | 52a1fe91925650a7483873a0f9b7ea182c42bc2f97f2a651d1dcfaff8c16a1ad |