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.1.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for arcane_tasks-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f935a59f5b889f594a8083418c9f19f3364356398f6467f2b07d28a549059101 |
|
MD5 | 127f6c7bf8fb71bcd63782e7d9ae68c0 |
|
BLAKE2b-256 | 990f6ae8ad093648a169af47c998faad16c57b76ff7dc4852757972d61cdbbf3 |