gws_core

Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

Send a scenario to a lab

TASK
Typing name :  TASK.gws_core.SendScenarioToLab Brick :  gws_core

Send a scenario to another lab using a share link

Task to send a scenario to another lab using a share link.

This task creates a share link for the scenario.

Then it call the external lab API to import the scenario in the external lab using the share link.

A credentials of type lab are required in both labs to be able to send and receive scenarios. It needs to be the same api_key in both labs.

The following documentation explain how to configure the lab credentials: https://constellab.community/bricks/gws_academy/latest/doc/data-lab/scenario/f4453296-ccc5-4b54-8e46-2d1c2f830a0c#send-a-scenario-to-another-lab-(e.g.-a-datahub)

Input

Scenario to send
Scenario to send, it must not be running

Configuration

credentials

The credentials must exist in destination lab

Type : credentials_param

link_duration

Optional

The share link is not created if a share link already exists for the resource

Type : intDefault value : 1

resource_mode

Mode for downloading resource of the scenario

Type : stringAllowed values : Inputs and outputs Inputs only Outputs only All None 

create_option

Optional

This applies for the scenario and the resources

Type : stringAllowed values : Skip if exists Force new scenario Default value : Skip if exists