Skip to content

Disable warning of deprecated configuration #73

Description

@yuan-vortexa

Describe the bug
pydantic kept logging the following warning:

pydantic/_internal/_config.py:341: UserWarning: Valid config keys have changed in V2
* 'underscore_attrs_are_private' has been removed

which I believe is a config set by dynamicio.

To Reproduce
Any dag using dynamicio should emit this warning message continuously.

Expected behavior
No warning

Tasks

Clearly state the tasks that one needs to go through to deliver this feature.
Update the configuration in dynamicio to comply with pydantic latest api.

Acceptance Criteria

This feature would have been implemented once:
no such warning is issued any more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions