Skip to content

Commit 30fd605

Browse files
committed
synax fix in changelog
1 parent 66d6f7a commit 30fd605

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212

1313
```python
1414
class SomeIntent(Intent):
15-
class EntityParser:
16-
name = StringEntityField(post_processor=lambda x: x.strip())
15+
"""
16+
In this example, the name will be stripped of any leading or trailing whitespace.
17+
"""
18+
name = StringEntityField(default="", post_processor=lambda x: x.strip())
1719
```
1820
* **All `ability` classes are now available by exact name on the `app` instance**
1921

0 commit comments

Comments
 (0)