Compare commits
7 Commits
8503a83ba2
...
a4e0d14ca9
| Author | SHA1 | Date | |
|---|---|---|---|
| a4e0d14ca9 | |||
| 52c0d6a4a9 | |||
| fdc2f4aca9 | |||
| 7905390dee | |||
| 15e5423984 | |||
| f433f4c4b2 | |||
| a1e55104b0 |
@ -173,9 +173,9 @@ class Message():
|
|||||||
* Question
|
* Question
|
||||||
* Answer.txt_header
|
* Answer.txt_header
|
||||||
For '.yaml':
|
For '.yaml':
|
||||||
* Question.yaml_key: single or multiline string
|
* question: single or multiline string
|
||||||
* Answer.yaml_key: single or multiline string
|
* answer: single or multiline string
|
||||||
* Message.tags_yaml_key: list of strings
|
* tags: list of strings
|
||||||
"""
|
"""
|
||||||
if not file_path.exists():
|
if not file_path.exists():
|
||||||
raise MessageError(f"Message file '{file_path}' does not exist")
|
raise MessageError(f"Message file '{file_path}' does not exist")
|
||||||
@ -212,7 +212,7 @@ class Message():
|
|||||||
For '.yaml':
|
For '.yaml':
|
||||||
* Question.yaml_key: single or multiline string
|
* Question.yaml_key: single or multiline string
|
||||||
* Answer.yaml_key: single or multiline string
|
* Answer.yaml_key: single or multiline string
|
||||||
* Message.tags_yaml_key: list of strings
|
* tags: list of strings
|
||||||
"""
|
"""
|
||||||
if file_path:
|
if file_path:
|
||||||
self.file_path = file_path
|
self.file_path = file_path
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user