cloud-tasks-deferred-v2
A deferred library for Google Cloud Tasks.
Fork of python-cloud-tasks-deferred originally created by Atsushi Hanaoka.
Key differences
- Migrated to google-cloud-tasks 2.0.0
- Dropped Python 2 support
- Added Flask integration
Installation
Addd following handler to your app.yaml
- url: /_tasks/deferred
script: cloud_tasks_deferred.wsgi.application
login: admin
Initialize module in flask
from cloud_tasks_deferred_v2.flask import init_deferred
init_deferred(app)
Prerequisites
- Environment variable
QUEUE_LOCATIONin which Cloud Tasks service runs
Unavailable options
_transactional: Transactional tasks are unavailable in Cloud Tasks_retry_options: Retry options for tasks are unavailable in Cloud Tasks
Unimplemented features
- Support for tasks larger than 10 KB
Release files for cloud-tasks-deferred-v2 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cloud-tasks-deferred-v2-0.0.6.tar.gz | 13.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cloud_tasks_deferred_v2-0.0.6-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 24.6 kB
Release files / cloud-tasks-deferred-v2-0.0.6.tar.gz
| Download URL | cloud-tasks-deferred-v2-0.0.6.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34617de49b0c98ee7308ffa27d54159742c207d643f25e5ef68972ff4aaa0a1f
|
|
BLAKE2b-256 checksum How to use checksums |
537d709238485ba17e63cd74b127e0367307bec66ea86d724ef32d6099fe184d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / cloud_tasks_deferred_v2-0.0.6-py2.py3-none-any.whl
| Download URL | cloud_tasks_deferred_v2-0.0.6-py2.py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1eb381292ef9b5ca6a533dcbeb32b6042fe069546c89c9f4274ddc0b30266347
|
|
BLAKE2b-256 checksum How to use checksums |
bfb4daa16e1c51b7a18cf0debd6944d3ab71f8042cd8c6d98fbc1d67d5b1f3f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|