We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 590525f commit 5497ab2Copy full SHA for 5497ab2
pydantic_settings/main.py
@@ -428,6 +428,9 @@ def _settings_build_values(
428
if line.get("type", "") == "missing":
429
continue
430
line['loc'] = [source_name] + line['loc']
431
+ ctx = line.get("ctx", {})
432
+ ctx["source"] = source_name
433
+ line['ctx'] = ctx
434
details = InitErrorDetails(**line)
435
all_line_errors.append(details)
436
0 commit comments