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.6.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for arcane_tasks-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78c917ce54cbb170eee1df474a12ceaff9cd1ad980dddeab41279cb73a488bf8 |
|
MD5 | 0546c84175aad1aac0a142b9ca89c0d9 |
|
BLAKE2b-256 | 2bbcc35203c858d8397b75d01d8f6f30d521781ec43fd3d9b0824a562193907e |