Skip to content

Commit f0b457c

Browse files
committed
Make load_config keyword arguments keyword-only
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 5123a97 commit f0b457c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

RELEASE_NOTES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
+ The class is now immutable.
2727
+ The constructor now accepts only keyword arguments.
2828

29+
* `load_config()`: the `base_schema` argument is now keyword-only.
30+
2931
## New Features
3032

3133
- `LoggingConfigUpdatingActor`

src/frequenz/sdk/config/_util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def load_config(
3232
cls: type[DataclassT],
3333
config: Mapping[str, Any],
3434
/,
35+
*,
3536
base_schema: type[Schema] | None = None,
3637
**marshmallow_load_kwargs: Any,
3738
) -> DataclassT:

0 commit comments

Comments
 (0)