OpenMetadata
OpenMetadata copied to clipboard
Fixes #18150 : change replaced dict by model_dump
Describe your changes:
Fixes #18150
The dict method is deprecated; use model_dump instead. Deprecated in Pydantic V2.0 to be removed in V3.0
Type of change:
- [ ] Bug fix
- [x] Improvement
- [ ] New feature
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation
Checklist:
- [x] I have read the CONTRIBUTING document.
- [x] My PR title is
Fixes <issue-number>: <short explanation> - [ ] I have commented on my code, particularly in hard-to-understand areas.
- [ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.