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.4.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.4.tar.gz.
File metadata
- Download URL: arcane_tasks-0.7.4.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.12.13 Linux/6.17.0-1008-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d38e1c3066bac5ae311835786ea69f1d91df6d7f528f7ecb169ae52ab6c18a8c
|
|
| MD5 |
df2295a85ab9f440cc51b6708bfeb3e6
|
|
| BLAKE2b-256 |
2e2ac1d27f109667a129cab3ee6972155f7103631203f686ad69a6fc485bbe7d
|
File details
Details for the file arcane_tasks-0.7.4-py3-none-any.whl.
File metadata
- Download URL: arcane_tasks-0.7.4-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.12.13 Linux/6.17.0-1008-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0401c47a4e4eccbf5e9e2e25eb31cacc096b62e396cc2fd6f1c3408f1d5cbe1
|
|
| MD5 |
8b54563bf70cbb7dc40158810524d2fd
|
|
| BLAKE2b-256 |
35f828f315193f43f134222c1d4f9e3f9e8059492d40a8580686e711662d36b2
|