File size: 399 Bytes
9e91a9e
a1c7535
4af03fb
9e91a9e
 
a1c7535
9e91a9e
1c83f03
 
 
a1c7535
 
9e91a9e
a1c7535
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from .artifact import Artifact


class TextualInstruction(Artifact):
    """The role of TextualInstruction is to arrange potential instructions in the catalog, expressed as formatting strings.

    The (formatted) instructions are added to the instances, in field named "instruction" via the Template Operator.

    """

    text: str

    def get_instruction(self) -> str:
        return self.text