Skip to content

Conversation

karta9821
Copy link
Contributor

@karta9821 karta9821 commented Apr 30, 2025

Fixes: #610

Selected Reviewer: @samuelcolvin

@trygve-baerland
Copy link
Contributor

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

@hramezani
Copy link
Member

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
Contributor

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

@kschwab
Copy link
Contributor

kschwab commented Apr 30, 2025

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

@hramezani
Copy link
Member

Thanks all!

@hramezani hramezani merged commit fc5409c into pydantic:main May 1, 2025
18 checks passed
hramezani added a commit that referenced this pull request Jul 14, 2025
hramezani added a commit that referenced this pull request Jul 17, 2025
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