Skip to content

Commit

Permalink
Fix example to use pydantic 2 method. (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Sep 17, 2024
1 parent c59cc9f commit 7c967f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/antsibull_core/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def run(args):
# the log is output as. See the twiggy documentation for information on the format of
# the logging config. See the antsibull.app_context documentation if you want more
# information on the context object.
twiggy.dict_config(app_ctx.logging_cfg.dict())
twiggy.dict_config(app_ctx.logging_cfg.model_dump())
Once those steps are taken, any further logging calls will obey the user's configuration.
Expand Down

0 comments on commit 7c967f1

Please sign in to comment.