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.6.0.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file arcane_tasks-0.6.0.tar.gz
.
File metadata
- Download URL: arcane_tasks-0.6.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2bac05f4d049ab6c214505185cecf13fddbbc8db38cf7442775a9f4da1936e7 |
|
MD5 | 5db8afffca7273ac9d849eb498d28bdb |
|
BLAKE2b-256 | d8061beac33ff6114a57ce05973659c7ce02bbaf4788092caaaa3af86e15322f |
File details
Details for the file arcane_tasks-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: arcane_tasks-0.6.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78c917ce54cbb170eee1df474a12ceaff9cd1ad980dddeab41279cb73a488bf8 |
|
MD5 | 0546c84175aad1aac0a142b9ca89c0d9 |
|
BLAKE2b-256 | 2bbcc35203c858d8397b75d01d8f6f30d521781ec43fd3d9b0824a562193907e |