Source code for aiida.orm.nodes.process.workflow.workfunction

###########################################################################
# Copyright (c), The AiiDA team. All rights reserved.                     #
# This file is part of the AiiDA code.                                    #
#                                                                         #
# The code is hosted on GitHub at https://github.com/aiidateam/aiida-core #
# For further information on the license, see the LICENSE.txt file        #
# For further information please visit http://www.aiida.net               #
###########################################################################
"""Module with `Node` sub class for workflow function processes."""
from typing import TYPE_CHECKING

from aiida.common.links import LinkType
from aiida.orm.utils.mixins import FunctionCalculationMixin

from .workflow import WorkflowNode, WorkflowNodeLinks

if TYPE_CHECKING:
    from aiida.orm import Node

__all__ = ('WorkFunctionNode',)






[docs] class WorkFunctionNode(FunctionCalculationMixin, WorkflowNode): # type: ignore[misc] """ORM class for all nodes representing the execution of a workfunction.""" _CLS_NODE_LINKS = WorkFunctionNodeLinks