Skip to content

bug: Pydantic warning message when running infrahubsync cli #2

@BaptisteGi

Description

@BaptisteGi

Component

Not Sure

Infrahub version

N/A

Current Behavior

Warning message related to pydantic everytime we run infrahubsync command

python3.9/site-packages/pydantic/_internal/_fields.py:161: UserWarning: Field "model_flags" has conflict with protected namespace "model_".

You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
  warnings.warn(

Expected Behavior

No warning message

Steps to Reproduce

Setup Infrahubsync
Run Infrahubsync command (generate for instance)

Additional Information

This is related to diffsync v2

Metadata

Metadata

Assignees

No one assigned

    Labels

    state/backlogThis issue is part of the backlogtype/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions