This class can be used in a Jupyter Notebook to create and configure a protocol
To create it use the add_protocol method on another protocol
Initialize self. See help(type(self)) for accurate signature.
ProtocolModel
Add a connector between to process of this protocol
Exemple : protocol.add_connector(create.get_output_port('robot'), sub_proto.get_input_port('robot_i')) OR protocol.add_connector(create >> 'robot', sub_proto << 'robot_i')
ProcessWithPort
ProcessWithPort
Add a connector between to process of this protocol
Exemple : protocol.add_connector('create', 'robot', 'sub_proto','robot_i')
str
str
str
str
Add multiple connector inside the protocol
Exemple : protocol.add_connectors([ (create >> 'robot', sub_proto << 'robot_i'), (sub_proto.get_output_port('robot_o'), robot_travel.get_input_port('robot')) ])
List
Add an empty protocol to this protocol
str
ProtocolProxy
Add an interface to link an input of the protocol to the input of one of the protocol's process
str
str
str
Add an outerface to link the output of one of the protocol's process to the output of the protocol
str
str
str
Add an output task to the protocol that receive the out_port resource
str
ProcessWithPort
bool
- True
TaskProxy
Add a process (task or protocol) to this protocol. This process is automatically saved in the database
Type
str
Dict
ProcessProxy
Add a protocol from a protocol type
Type
str
Dict
ProtocolProxy
Add a resource to the protocol and connected it to the in_port
str
str
ProcessWithPort
TaskProxy
Add an output task to the protocol that receive the out_port resource
str
ProcessWithPort
bool
- True
TaskProxy
Add a Source task to the protocol and connected it to the in_port
str
str
ProcessWithPort
TaskProxy
Add a task to this
Type
str
Dict
TaskProxy
Delete an interface of the protocol
str
Delete an outerface of the protocol
str
str
ProcessWithPort
ProcessWithPort
retrieve the resource of the input
str
Resource
Access input port information of a process to create connectors in protocol
str
ProcessWithPort
retrieve the resource model of the input
str
ResourceModel
ProtocolModel
str
retrieve the resource of the output
str
Resource
Access output port information of a process to create connectors in protocol
str
ProcessWithPort
retrieve the resource model of the output
str
ResourceModel
str
Any
retreive a protocol or a task in this protocol
str
ProcessProxy
Type[Process]
ProcessProxy
Set the config param values
Dict
Set the resource of an input. If you want to manually set the input resource of a process
str
Resource
Set the param value
str
Any
str
ProtocolProxy