OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Fixes #18150 : change replaced dict by model_dump

Open kuma0128 opened this issue 1 year ago • 5 comments

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.

kuma0128 avatar Oct 03 '24 18:10 kuma0128