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.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for arcane_tasks-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b3de4bbe1a6ee64abad5ee5abd3c470aae98702bddf081995cd2533d4f15f23 |
|
MD5 | 676db15e3100f0ff60d6575773e4de89 |
|
BLAKE2b-256 | c96cc75ee8f39e0b35430bc29ade14a23f5eec2299a68fb66d8e232c21d84e63 |