Skip to main content

Override tasks client

Project description

Arcane CloudTask

This package is base on google-cloud-cloudtasks.

Get Started

pip install arcane-tasks

## Example Usage

```python
from arcane import tasks

# Import your configs
from configure import Config

tasks_client = tasks.Client(adscale_key=Config.KEY, project=Config.GCP_PROJECT)
body = {
    'attribute' : value
}
task_name = "My task"
tasks_client.publish_task(
    queue=<your-queue>,
    url=<url-to-triger>,
    body=body,
    task_name=task_name
)

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

arcane_tasks-0.6.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

arcane_tasks-0.6.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

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