A deferred library for Google Cloud Tasks
Project description
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_LOCATION
in 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
Project details
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 cloud-tasks-deferred-v2-0.0.6.tar.gz
.
File metadata
- Download URL: cloud-tasks-deferred-v2-0.0.6.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34617de49b0c98ee7308ffa27d54159742c207d643f25e5ef68972ff4aaa0a1f |
|
MD5 | 541187a49eeef39940ebe2d64584cb20 |
|
BLAKE2b-256 | 537d709238485ba17e63cd74b127e0367307bec66ea86d724ef32d6099fe184d |
File details
Details for the file cloud_tasks_deferred_v2-0.0.6-py2.py3-none-any.whl
.
File metadata
- Download URL: cloud_tasks_deferred_v2-0.0.6-py2.py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eb381292ef9b5ca6a533dcbeb32b6042fe069546c89c9f4274ddc0b30266347 |
|
MD5 | b134a17dd11957a6dabc0329078b45b8 |
|
BLAKE2b-256 | bfb4daa16e1c51b7a18cf0debd6944d3ab71f8042cd8c6d98fbc1d67d5b1f3f7 |