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.3.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for arcane_tasks-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61021050a3e91b475f926ebcd4798d2fc61287bee5b828383339e9e70ac9f3f8 |
|
MD5 | d4f6281483488e1b9b96f5b0c646ddb0 |
|
BLAKE2b-256 | caafd71319e62113bd0da9904f8480e2a68e23951627cbc442e120884b1bc8a8 |