Overide 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.2.0.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for arcane_tasks-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8d014a02c02ae8e846aa4e812f23661682853fe08fa49c93c3000d2fafed73a |
|
MD5 | 4e3a24e4c4c3665332a868c15511a730 |
|
BLAKE2b-256 | e9df76160b7ea07985f159f84c47a2117754aee6b2e24845e05a36918b77671a |