Commit 1db8e88
Oleh Prypin
Strip trailing
Example of adding an `async` boolean option that can be read through `config['async']` or `config.async_`:
class ExampleConfig(Config):
async_ = Type(bool, default=False)_ from config members, to bypass Python reserved words1 parent fce89f7 commit 1db8e88
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
126 | | - | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| |||
0 commit comments