Skip to content

Commit c694f81

Browse files
Update ConfigEntry docstring to sync with attributes (#852)
* Update `ConfigEntry` docstring to sync with attributes * Fix grammar
1 parent a7ac01e commit c694f81

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/usethis/_tool/config.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,10 @@ class ConfigEntry(BaseModel):
7575
7676
Attributes:
7777
keys: A sequentially nested sequence of keys giving a single configuration item.
78-
value: The default value to be placed at the under the key sequence. By default,
79-
no configuration will be added, which is most appropriate for top-level
80-
configuration sections like [tool.usethis] under which the entire tool's
81-
config gets placed.
82-
78+
get_value: A callable returning the default value to be placed at the key
79+
sequence. By default, no configuration will be added, which is most
80+
appropriate for top-level configuration sections like [tool.usethis]
81+
under which the entire tool's config gets placed.
8382
"""
8483

8584
keys: list[Key]

0 commit comments

Comments
 (0)