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.7.0.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arcane_tasks-0.7.0.tar.gz.
File metadata
- Download URL: arcane_tasks-0.7.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.9 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
659d5c078cfb1ba04f230c9151819f40f391c4d426708802a5f0b727610c119d
|
|
| MD5 |
26f8ab55e2fe45a5ac02c5ac04f271ea
|
|
| BLAKE2b-256 |
c5d6fcbf0091da95f6bea2b150e521246dd1eb3d4b19250d81636f49d839f45a
|
File details
Details for the file arcane_tasks-0.7.0-py3-none-any.whl.
File metadata
- Download URL: arcane_tasks-0.7.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.9 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d546cd17635efc477bb5d2f0bbd7bf02abe47b069cba3f218b519b5451b80685
|
|
| MD5 |
b60905ee4b108fd2f35aaba510c8810b
|
|
| BLAKE2b-256 |
7ca48f979603ae146c7f0d38313f5e020b7e56341a5a8658dd14b832fc493d13
|