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
Release history Release notifications | RSS feed
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.4.1.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for arcane_tasks-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f26604120335fdba67895652fd5cec49ec36f10961837fe4ff2044d6702db42 |
|
MD5 | 3878854ad473d9d3f9f173d0970fa69c |
|
BLAKE2b-256 | d24b872fbdd84592d97c1a1e22d34ad6eb7edb3176a31ffc8f0334bdfeaeef86 |