Instances where Pydantic syntax has not been updated for V2.
PydanticDeprecatedSince20: The `__fields__` attribute is deprecated, use `model_fields` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.8/migration/
- Warning is raised when using `pytest` with provider fetchers.
What?:
Use model_fields instead of __fields__.
fetcher.py
commands.py
Impact:
Resolves the warning.
Testing Done:
Recording a provider fetcher test, warning no longer being broadcast.
Why?:
What?:
model_fields
instead of__fields__
.fetcher.py
commands.py
Impact:
Testing Done: