Translator for workchain node
aiida.restapi.translator.nodes.process.workflow.workchain.
WorkChainTranslator
Bases: aiida.restapi.translator.nodes.process.process.ProcessTranslator
aiida.restapi.translator.nodes.process.process.ProcessTranslator
Translator relative to resource ‘workchain’ and aiida class Process
WorkChainNode
Bases: aiida.orm.nodes.process.workflow.workflow.WorkflowNode
aiida.orm.nodes.process.workflow.workflow.WorkflowNode
ORM class for all nodes representing the execution of a WorkChain.
STEPPER_STATE_INFO_KEY
__abstractmethods__
__module__
_abc_impl
_logger
_plugin_type_string
_query_type_string
_updatable_attributes
set_stepper_state_info
Set the stepper state info
state – string representation of the stepper state info
stepper_state_info
Return the stepper state info
string representation of the stepper state info
__label__
_aiida_class
alias of aiida.orm.nodes.process.workflow.workchain.WorkChainNode
aiida.orm.nodes.process.workflow.workchain.WorkChainNode
_aiida_type
_result_type
get_derived_properties
Generic function extended for workchain. Currently it is not implemented.
node – node object
empty dict
Translator for workfunction node
aiida.restapi.translator.nodes.process.workflow.workfunction.
WorkFunctionTranslator
Translator relative to resource ‘calcfunction’ and aiida class Calculation
WorkFunctionNode
Bases: aiida.orm.utils.mixins.FunctionCalculationMixin, aiida.orm.nodes.process.workflow.workflow.WorkflowNode
aiida.orm.utils.mixins.FunctionCalculationMixin
ORM class for all nodes representing the execution of a workfunction.
validate_outgoing
Validate adding a link of the given type from ourself to a given node.
A workfunction cannot create Data, so if we receive an outgoing RETURN link to an unstored Data node, that means the user created a Data node within our function body and is trying to return it. This use case should be reserved for @calcfunctions, as they can have CREATE links.
target – the node to which the link is going
link_type – the link type
link_label – the link label
TypeError – if target is not a Node instance or link_type is not a LinkType enum
ValueError – if the proposed link is invalid
alias of aiida.orm.nodes.process.workflow.workfunction.WorkFunctionNode
aiida.orm.nodes.process.workflow.workfunction.WorkFunctionNode
Generic function extended for workfunction. Currently it is not implemented.