Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: Respect 'cli_parse_args' from model_config with settings_customise_sources#611

Merged
hramezani merged 1 commit into
pydantic:mainfrom
karta9821:fix/respect-cli-parse-args-from-model-config-with-customise-sources
May 1, 2025
Merged

fix: Respect 'cli_parse_args' from model_config with settings_customise_sources#611
hramezani merged 1 commit into
pydantic:mainfrom
karta9821:fix/respect-cli-parse-args-from-model-config-with-customise-sources

Conversation

@karta9821

@karta9821 karta9821 commented Apr 30, 2025

Copy link
Copy Markdown
Contributor

Fixes: #610

Selected Reviewer: @samuelcolvin

@trygve-baerland

Copy link
Copy Markdown
Contributor

Wow, thanks for the quick PR, and nice work!

@hramezani

Copy link
Copy Markdown
Collaborator

Thanks @karta9821 for the PR.

@trygve-baerland Can you confirm the fix?

@kschwab Please review the PR when you have time.

@karta9821 karta9821 force-pushed the fix/respect-cli-parse-args-from-model-config-with-customise-sources branch 2 times, most recently from b16f436 to 8c93049 Compare April 30, 2025 11:11
@trygve-baerland

Copy link
Copy Markdown
Contributor

@hramezani This works as expected for the case I sketched in #610 .

@kschwab

kschwab commented Apr 30, 2025

Copy link
Copy Markdown
Contributor

@hramezani looks good to me. Thanks for the fix @karta9821!

@hramezani

Copy link
Copy Markdown
Collaborator

Thanks all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected behaviour in CliSettingsSource when cli_parse_args=True in model_config

5 participants