Skip to main content

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

cloud-tasks-deferred-v2-0.0.6.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

cloud_tasks_deferred_v2-0.0.6-py2.py3-none-any.whl (11.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cloud-tasks-deferred-v2-0.0.6.tar.gz.

File metadata

File hashes

Hashes for cloud-tasks-deferred-v2-0.0.6.tar.gz
Algorithm Hash digest
SHA256 34617de49b0c98ee7308ffa27d54159742c207d643f25e5ef68972ff4aaa0a1f
MD5 541187a49eeef39940ebe2d64584cb20
BLAKE2b-256 537d709238485ba17e63cd74b127e0367307bec66ea86d724ef32d6099fe184d

See more details on using hashes here.

File details

Details for the file cloud_tasks_deferred_v2-0.0.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cloud_tasks_deferred_v2-0.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1eb381292ef9b5ca6a533dcbeb32b6042fe069546c89c9f4274ddc0b30266347
MD5 b134a17dd11957a6dabc0329078b45b8
BLAKE2b-256 bfb4daa16e1c51b7a18cf0debd6944d3ab71f8042cd8c6d98fbc1d67d5b1f3f7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page