Skip to content

use pydantic exclude_none to fix empty nested data issue

Previously, metadata with empty nested metadata was returning a 500 even though it's valid metadata. This is due to pydantic validation not recognizing None as a valid value for Dict[]. This is resolved by using exclude_none when converting types.

Merge request reports

Loading