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