Skip to content

Commit 1446816

Browse files
committed
Update README.md
1 parent 42ee601 commit 1446816

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ or using the `getter/setter` property.
129129
d.keyattr_dynamic = True
130130
```
131131

132-
> **Warning** - even if this feature is very useful, it has some obvious limitations: it works only for string keys that are *unprotected* (not starting with an `_`) and that don't clash with the currently supported methods names.
132+
> [!WARNING]
133+
> Even if this feature is very useful, it has some obvious limitations: it works only for string keys that are *unprotected* (not starting with an `_`) and that don't clash with the currently supported methods names.
133134
134135
### Keylist
135136
Wherever a **key** is used, it is possible to use also a **list of keys**.
@@ -281,13 +282,10 @@ Here are the details of the supported formats, operations and extra options docs
281282
| `xml` | :white_check_mark: | :white_check_mark: | [xmltodict](https://github.com/martinblech/xmltodict) |
282283
| `yaml` | :white_check_mark: | :white_check_mark: | [PyYAML](https://pyyaml.org/wiki/PyYAMLDocumentation) |
283284

284-
#### Data validation using Pydantic models
285+
### Data validation using Pydantic models
285286

286-
This feature **requires** the `validate` extra to be installed:
287-
288-
```bash
289-
pip install "python-benedict[validate]"
290-
```
287+
> [!IMPORTANT]
288+
> This feature **requires** the `validate` extra to be installed: `pip install "python-benedict[validate]`
291289
292290
You can validate data in different ways:
293291

0 commit comments

Comments
 (0)