aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index 62d8bd8..c6cd9f9 100644
--- a/README.md
+++ b/README.md
@@ -9,8 +9,8 @@ Examples
{
"config_var": "jo",
"other_var": 3,
- "SubConfig": {
- "subconfivar": 10
+ "subConfig": {
+ "subconfigvar": 10
}
}
```
@@ -19,12 +19,13 @@ Examples
```py
from configlib import BaseConfig
+class SubConfig(object):
+ subconfigvar: int
class Config(BaseConfig):
config_var: str
other_var: int
- class SubConfig:
- subconfigvar: int
+ subConfig: SubConfig
# Usage