Back to bricks list
Introduction Getting Started
Architecture
Technical Documentation
Other Classes
AbstractDbManager AgentFactory AudioView AuthService BadRequestException BarPlotView Base BaseEnvShell BaseHTTPException BaseModelDTO BaseTestCase BaseTestCaseLight BashCodeParam BoolParam BoolRField BoolValidator BoxPlotView BrickMigration BrickService CheckBeforeTaskResult CommunityService Compress CondaShellProxy Config ConfigParams Connector ConnectorPartSpec ConnectorSpec ConverterRunner Credentials CredentialsDataBasic CredentialsDataLab CredentialsDataOther CredentialsDataS3 CredentialsParam CredentialsType CurrentUserService Dashboard DashboardType DataframeAggregatorHelper DataframeDataFilterHelper DataframeFilterHelper DataFrameRField DataframeScalerHelper datetime DateTimeUTC DbConfig DictRField DictValidator DispatchedMessage DynamicInputs DynamicOutputs EntityNavigator EntityNavigatorNote EntityNavigatorResource EntityNavigatorScenario EntityNavigatorService EntityNavigatorView EntityTag EntityType Enum ExceptionHandler ExceptionResponse ExpressionBuilder ExternalApiService ExternalSpaceCreateFolder FileDownloader FileHelper FileRField FloatParam FloatRField FloatValidator ForbiddenException FrontService FrontTheme FSNodeModel FsNodeService GwsCorePackages GWSException GzipCompress HeatmapView HistogramView ImageView InPort Inputs InputSpec InputSpecs InterfaceSpec IntParam IntRField IntValidator IO IOface Job JsonCodeParam JSONField JSONView JuliaCodeParam KVStore LazyViewParam LinePlot2DView ListParam ListRField ListValidator Logger LoggerMessageObserver MailService MambaShellProxy MessageDispatcher MessageLevel MessageObserver Model ModelRfield ModelService Monitor MonitorService MultiViews NetworkView Note Notebook NoteParam NoteSearchBuilder NoteService NoteTemplate NoteTemplateParam NoteTemplateService NotFoundException NumericHelper NumericParam NumericValidator OpenAiChat OpenAiChatMessage OpenAiChatParam OpenAiHelper OutPort Outputs OutputSpec OutputSpecs PackageHelper Paginator ParamSet ParamSpec PerlCodeParam PipShellProxy PlotlyRField PlotlyView PoolDb Port PrimitiveRField Process ProcessFactory ProcessModel ProcessProxy ProcessSpec ProgressBar ProgressBarMessageObserver ProgressBarService ProtocolModel ProtocolProxy ProtocolService ProtocolTyping PythonCodeParam Queue QueueService RCodeParam Requests ResourceDownloaderBase ResourceModel ResourceOrigin ResourceRField ResourceSearchBuilder ResourceService ResourceTransfertService ResourceTyping RField RichText RichTextBlock RichTextBlockModificationDTO RichTextBlockModificationWithUserDTO RichTextBlockType RichTextDTO RichTextFigureData RichTextFileData RichTextFormulaData RichTextListData RichTextListItem RichTextModificationDifferenceDTO RichTextModificationsDTO RichTextModificationType RichTextNoteResourceViewData RichTextObjectType RichTextParagraphData RichTextParagraphHeaderData RichTextParagraphHeaderLevel RichTextParagraphListData RichTextParagraphListItemData RichTextParagraphText RichTextResourceViewData RichTextTimestampData RichTextUserDTO RichTextVariableData RichTextView RichTextViewFileData S3Bucket ScatterPlot2DView Scenario ScenarioCreationType ScenarioProcessStatus ScenarioProxy ScenarioRunService ScenarioSaveDTO ScenarioSearchBuilder ScenarioService ScenarioStatus ScenarioTemplate ScenarioTemplateFactory ScenarioTransfertService SearchBuilder SerializableObjectJson SerializableRField Settings ShellProxy ShellProxyFactory SimpleTextView SpaceFolder SpaceService SqlMigrator StackedBarPlotView StreamlitApp StreamlitAppManager StreamlitProcess StringHelper StrParam StrRField StrValidator SysProc TableAnnotatorHelper TableColumnSelector TableColumnTagToRowExtractor TableColumnTagUnfolder TableConcatHelper TableHeaderInfo TableOperationHelper TableRowSelector TableRowTagToColumnExtractor TableRowTagUnfolder TableScalerHelper TableTagAggregatorHelper TableUnfolderHelper TableView TabularView Tag TagHelper TagKeyModel TagList TagService TagsParam TagValueModel TarCompress TarGzCompress TaskFileDownloader TaskHelper TaskInputs TaskModel TaskProxy TaskRunner TaskService TaskTyping TechnicalInfo TextParam TextView TextViewData Typing TypingDeprecated TypingIconColor TypingIconType TypingManager TypingStyle UnauthorizedException URLValidator User UserCredentialsDTO UserGroup UserService Utils UUIDRField Validator VennDiagramView Version View ViewConfig ViewTester ViewType YamlCodeParam ZipCompress
Version

ProtocolService

Functions
ADD_AGENT_TO_PROTOCOL_ID_BY_AGENT_VERSION_ID - @classmethod
ADD_COMMUNITY_AGENT_VERSION_TO_PROTOCOL_ID - @classmethod
ADD_CONNECTOR_TO_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_modelProtocolModel
from_process_namestr
from_port_namestr
to_process_namestr
to_port_namestr
Return type:
ProtocolUpdate
ADD_CONNECTOR_TO_PROTOCOL_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
from_process_namestr
from_port_namestr
to_process_namestr
to_port_namestr
Return type:
ProtocolUpdate
ADD_CONNECTORS_TO_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_modelProtocolModel
connectorsList
Return type:
ProtocolUpdate
ADD_DYNAMIC_INPUT_PORT_TO_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
io_spec_dtoIOSpecDTO
Return type:
ProtocolUpdate
ADD_DYNAMIC_OUTPUT_PORT_TO_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
io_spec_dtoIOSpecDTO
Return type:
ProtocolUpdate
ADD_DYNAMIC_PARAM_SPEC_OF_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
config_spec_namestr
param_namestr
spec_dtoParamSpecDTO
Return type:
ProtocolUpdate
ADD_EMPTY_PROTOCOL_TO_PROTOCOL - @classmethod
ADD_EMPTY_PROTOCOL_TO_PROTOCOL_ID - @classmethod
ADD_INPUT_RESOURCE_TO_PROCESS_INPUT - @classmethod

Add a source task to the protocol. Configure it with the resource. And add connector from source to process

Parameters:
NameTypeDefault valueDescription
protocol_idstr
resource_idstr
process_namestr
input_port_namestr
Return type:
ProtocolUpdate
ADD_INPUT_RESOURCE_TO_PROTOCOL_ID - @classmethod

Add a source task to the protocol. Configure it with the resource.

Parameters:
NameTypeDefault valueDescription
protocol_idstr
resource_idstr
Return type:
ProtocolUpdate
ADD_INTERFACE_TO_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_modelProtocolModel
namestr
target_process_namestr
target_port_namestr
Return type:
ProtocolUpdate
ADD_INTERFACE_TO_PROTOCOL_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_model_idstr
target_process_namestr
target_port_namestr
Return type:
ProtocolUpdate
ADD_OUTERFACE_TO_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_modelProtocolModel
namestr
source_process_namestr
source_port_namestr
Return type:
ProtocolUpdate
ADD_OUTERFACE_TO_PROTOCOL_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
source_process_namestr
source_port_namestr
Return type:
ProtocolUpdate
ADD_OUTPUT_TASK_TO_PROCESS_OUPUT - @classmethod

Add a output task to the protocol. And add connector from process to output

Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
output_port_namestr
Return type:
ProtocolUpdate
ADD_PROCESS_CONNECTED_TO_INPUT - @classmethod
ADD_PROCESS_CONNECTED_TO_OUTPUT - @classmethod
ADD_PROCESS_MODEL_TO_PROTOCOL - @classmethod
ADD_PROCESS_TO_PROTOCOL - @classmethod
ADD_PROCESS_TO_PROTOCOL_ID - @classmethod
ADD_SCENARIO_TEMPLATE_TO_PROTOCOL - @classmethod
ADD_VIEWER_TO_PROCESS_OUTPUT - @classmethod
CONFIGURE_PROCESS - @classmethod
CONFIGURE_PROCESS_MODEL - @classmethod
COPY_PROTOCOL - @classmethod
CREATE_COMMUNITY_AGENT - @classmethod
Parameters:
NameTypeDefault valueDescription
process_idstr
form_dataCommunityCreateAgentDTO
Return type:
CommunityAgentVersionCreateResDTO
CREATE_COMMUNITY_AGENT_VERSION - @classmethod
Parameters:
NameTypeDefault valueDescription
process_idstr
agent_idstr
Return type:
CommunityAgentVersionCreateResDTO
CREATE_EMPTY_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
instance_namestr
Return type:
ProtocolModel
CREATE_PROTOCOL_MODEL_FROM_GRAPH - @classmethod
Parameters:
NameTypeDefault valueDescription
graphProtocolGraphConfigDTO
Return type:
ProtocolModel
CREATE_PROTOCOL_MODEL_FROM_TEMPLATE - @classmethod
Parameters:
NameTypeDefault valueDescription
scenario_templateScenarioTemplate
Return type:
ProtocolModel
CREATE_PROTOCOL_MODEL_FROM_TYPE - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_typeType
instance_namestr
config_paramsDict
Return type:
ProtocolModel
CREATE_SCENARIO_TEMPLATE_FROM_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
namestr
descriptionRichTextDTO
Return type:
ScenarioTemplate
DELETE_CONNECTOR_OF_PROTOCOL - @classmethod
DELETE_DYNAMIC_INPUT_PORT_OF_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
port_namestr
Return type:
ProtocolUpdate
DELETE_DYNAMIC_OUTPUT_PORT_OF_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
port_namestr
Return type:
ProtocolUpdate
DELETE_INTERFACE_OF_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_modelProtocolModel
interface_namestr
Return type:
ProtocolUpdate
DELETE_INTERFACE_OF_PROTOCOL_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
interface_namestr
Return type:
ProtocolUpdate
DELETE_OUTERFACE_OF_PROTOCOL - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_modelProtocolModel
outerface_namestr
Return type:
ProtocolUpdate
DELETE_OUTERFACE_OF_PROTOCOL_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
outerface_namestr
Return type:
ProtocolUpdate
DELETE_PROCESS_OF_PROTOCOL - @classmethod
DELETE_PROCESS_OF_PROTOCOL_ID - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_instance_namestr
Return type:
ProtocolUpdate
DUPLICATE_PROCESS_TO_PROTOCOL_ID - @classmethod
FORK_COMMUNITY_AGENT - @classmethod
Parameters:
NameTypeDefault valueDescription
process_idstr
form_dataCommunityCreateAgentDTO
agent_version_idstr
Return type:
CommunityAgentVersionCreateResDTO
GENERATE_SCENARIO_TEMPLATE - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
Return type:
ScenarioTemplate
GET_BY_ID_AND_CHECK - @classmethod
Parameters:
NameTypeDefault valueDescription
idstr
Return type:
ProtocolModel
GET_COMMUNITY_AGENT - @classmethod
Parameters:
NameTypeDefault valueDescription
agent_version_idstr
Return type:
CommunityAgentDTO
GET_COMMUNITY_AVAILABLE_AGENTS - @classmethod
GET_COMMUNITY_AVAILABLE_SPACE - @classmethod
GET_DYNAMIC_PARAM_ALLOWED_PARAM_SPEC_TYPES - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
Return type:
Dict
REMOVE_DYNAMIC_PARAM_SPEC_OF_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
config_spec_namestr
param_namestr
Return type:
ProtocolUpdate
RENAME_AND_UPDATE_DYNAMIC_PARAM_SPEC_OF_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
config_spec_namestr
param_namestr
new_param_namestr
spec_dtoParamSpecDTO
Return type:
ProtocolUpdate
RENAME_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_instance_namestr
custom_namestr
Return type:
ProcessModel
RESET_PROCESS_OF_PROTOCOL - @classmethod
RUN_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_instance_namestr
Return type:
ProtocolUpdate
SAVE_INTERFACE_LAYOUT - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
interface_namestr
layoutProcessLayoutDTO
SAVE_LAYOUT - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
layout_dictProtocolLayoutDTO
SAVE_OUTERFACE_LAYOUT - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
outerface_namestr
layoutProcessLayoutDTO
SAVE_PROCESS_LAYOUT - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_instance_namestr
layoutProcessLayoutDTO
SET_PROCESS_MODEL_CONFIG_VALUE - @classmethod
UPDATE_CODE_PARAMS_VISITILITY - @classmethod
UPDATE_DYNAMIC_INPUT_PORT_OF_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
port_namestr
io_specIOSpecDTO
Return type:
ProtocolUpdate
UPDATE_DYNAMIC_OUTPUT_PORT_OF_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
port_namestr
io_specIOSpecDTO
Return type:
ProtocolUpdate
UPDATE_DYNAMIC_PARAM_SPEC_OF_PROCESS - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idstr
process_namestr
config_spec_namestr
param_namestr
spec_dtoParamSpecDTO
Return type:
ProtocolUpdate
UPDATE_PROCESS_STYLE - @classmethod
Parameters:
NameTypeDefault valueDescription
protocol_idAny
process_instance_namestr
styleTypingStyle
Return type:
ProcessModel