Skip to main content

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

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)

Source distribution for cloud-tasks-deferred-v2 0.0.6
File Size Uploaded
cloud-tasks-deferred-v2-0.0.6.tar.gz 13.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cloud-tasks-deferred-v2 0.0.6
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page