File size: 399 Bytes
a8bfa86 278b90a c7285af a8bfa86 278b90a a8bfa86 1e322e1 278b90a a8bfa86 278b90a |
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
|