Compare commits
7 Commits
a4e0d14ca9
...
8503a83ba2
| Author | SHA1 | Date | |
|---|---|---|---|
| 8503a83ba2 | |||
| 0c46b58882 | |||
| ab333adf87 | |||
| 9b57833c03 | |||
| 985d82fe8a | |||
| 9c6d90452b | |||
| 3b7f6f9563 |
@ -173,9 +173,9 @@ class Message():
|
||||
* Question
|
||||
* Answer.txt_header
|
||||
For '.yaml':
|
||||
* question: single or multiline string
|
||||
* answer: single or multiline string
|
||||
* tags: list of strings
|
||||
* Question.yaml_key: single or multiline string
|
||||
* Answer.yaml_key: single or multiline string
|
||||
* Message.tags_yaml_key: list of strings
|
||||
"""
|
||||
if not file_path.exists():
|
||||
raise MessageError(f"Message file '{file_path}' does not exist")
|
||||
@ -212,7 +212,7 @@ class Message():
|
||||
For '.yaml':
|
||||
* Question.yaml_key: single or multiline string
|
||||
* Answer.yaml_key: single or multiline string
|
||||
* tags: list of strings
|
||||
* Message.tags_yaml_key: list of strings
|
||||
"""
|
||||
if file_path:
|
||||
self.file_path = file_path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user