Insula CLient
Project description
Insula Client
Example
Two workflows
name: wf_siam_20231126_20231202
type: workflow
version: beta/1
configuration:
max_parallel_jobs: 1
continue_on_error: true
delete_workflow_log: false
parameters:
param_1: 'https://img.gruppomol.it/articoli/image/casa/1200x1200_1x1_Depositphotos_26486959_xl-2015.jpg'
param_2: 'https://upload.wikimedia.org/wikipedia/commons/thumb/c/cb/Palazzo_Madama_%28Roma%29.jpg/1200px-Palazzo_Madama_%28Roma%29.jpg'
collection: '{"out":"iridelot3f3b7b5c0c6394039bcea6ba038eace72"}'
steps:
- - name: fast_copier
template: template_1
- - name: fast_copier_download
continue_on_error: true
create_folder_if_not_exits: true
type: downloader
params:
- name: in
values:
- '${workflow.step.fast_copier.out} $[.*Palazzo.*]'
save_in: 'the_results'
templates:
- name: template_1
service_id: '1'
type: processor
params:
- name: in
values:
- '${workflow.param.param_1}'
- '${workflow.param.param_2}'
- name: collection
values:
- '${workflow.param.collection}'
or
name: wf_siam_20231126_20231202
type: workflow
version: beta/1
configuration:
max_parallel_jobs: 1
continue_on_error: true
delete_workflow_log: false
parameters:
images:
- 'https://img.gruppomol.it/articoli/image/casa/1200x1200_1x1_Depositphotos_26486959_xl-2015.jpg'
- 'https://upload.wikimedia.org/wikipedia/commons/thumb/c/cb/Palazzo_Madama_%28Roma%29.jpg/1200px-Palazzo_Madama_%28Roma%29.jpg'
collection: '{"out":"iridelot3f3b7b5c0c6394039bcea6ba038eace72"}'
steps:
- - name: fast_copier
template: template_1
params:
- name: in
values:
- '${workflow.param.images}'
- - name: fast_copier_download
continue_on_error: true
create_folder_if_not_exits: true
type: downloader
params:
- name: in
values:
- '${workflow.step.fast_copier.out} $[.*Palazzo.*]'
save_in: 'the_results'
templates:
- name: template_1
service_id: '1'
type: processor
params:
- name: collection
values:
- '${workflow.param.collection}'
Workflow download with requirements:
name: wf_siam_20231126_20231202
type: workflow
version: beta/1
requirements:
jobs:
- name: fast_copier
id: 1441
configuration:
max_parallel_jobs: 1
continue_on_error: true
delete_workflow_log: false
steps:
- - name: fast_copier_download
continue_on_error: true
create_folder_if_not_exits: true
type: downloader
params:
- name: in
values:
- '${workflow.step.fast_copier}$[.*Palazzo.*]'
save_in: 'the_results'
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
insulaclient-0.1.5.tar.gz
(20.4 kB
view hashes)
Built Distribution
Close
Hashes for insulaclient-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f20e57f256a36e603af3a1ee638cad0a1d0cbbfee164541fa8134e2e0f679380 |
|
MD5 | e4abb7a9e0896b6bac2efdac37579142 |
|
BLAKE2b-256 | fc430a2a88cfb2542c44851e187306d5469197bb81585cb10ab5f911f4b74a0a |