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.2.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for arcane_tasks-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46618eb99962846353b4ffd719b56b6e4f0478b52d6c86c2e06d0f0c030ef80f |
|
MD5 | 90035666aae023fa75d5ef923a45f125 |
|
BLAKE2b-256 | 1113c17a5def1cd75da97e8a93cce350f9ab699a25b3b72fa83e9f2b166cf686 |