Skip to content

Handle class and class_path in validation models #379

Description

@TeresiaOlsson

For the configuration schemas, pydantic should accept both the fields class and class_path. Problem is that it is currently broken because _parse_configuration now includes:

            ConfigurationSchema.model_validate(validated_dict, extra="allow")
            return validated_dict

which breaks it. Debugging is needed to understand why and find a workaround.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions