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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for insulaclient-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 075e00f5f6dd7b9f49ae49bf01d71c6ad6ac34a7b38f0aed12bf2183fe2b9f8e |
|
MD5 | 37444a33d856cb1746c97098441cb51e |
|
BLAKE2b-256 | c86747f6f28c74a9c936bbd892c9ffb29fa04a594a2f48ee773d02ef39d0b7bc |