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 8a5e773 commit 063b71dCopy full SHA for 063b71d
pydantic_settings/main.py
@@ -431,8 +431,7 @@ def _settings_build_values(
431
ctx = line.get("ctx", {})
432
ctx["source"] = source_name
433
line['ctx'] = ctx
434
- details = InitErrorDetails(**line)
435
- all_line_errors.append(details)
+ all_line_errors.append(line)
436
437
if validate_each_source:
438
try:
@@ -442,8 +441,7 @@ def _settings_build_values(
442
441
for line in line_errors:
443
if line.get("type", "") != "missing":
444
continue
445
446
447
448
if all_line_errors and validate_each_source:
449
raise ValidationError.from_exception_data(
0 commit comments