Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Pydantic warning message when running infrahubsync cli #2

Open
BaptisteGi opened this issue Aug 9, 2024 · 1 comment
Open
Labels
state/backlog This issue is part of the backlog type/bug Something isn't working as expected

Comments

@BaptisteGi
Copy link

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

@BeArchiTek BeArchiTek transferred this issue from opsmill/infrahub Sep 2, 2024
@BeArchiTek BeArchiTek added the type/bug Something isn't working as expected label Jan 6, 2025
@BeArchiTek
Copy link
Contributor

The issue is coming from Diffsync. networktocode/diffsync#267

@exalate-issue-sync exalate-issue-sync bot added state/need-triage This issue needs to be triaged state/backlog This issue is part of the backlog and removed state/need-triage This issue needs to be triaged labels Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state/backlog This issue is part of the backlog type/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants