darwin-py icon indicating copy to clipboard operation
darwin-py copied to clipboard

[DAR-1562][External] Allow pulling of unpopulated required property annotations

Open JBWilkie opened this issue 10 months ago • 1 comments

Problem

When pulling annotations with unpopulated required properties, the frame_index field will be set to null. This caused a Pydantic ValidationError because it needs to be type int

Solution

It's required that darwin-py can pull unpopulated required properties (but not import them), so allow the SelectedProperty frame_index attribute to be None

Changelog

Fixed bug preventing darwin-py from being able to pull annotations with unpopulated required properties

JBWilkie avatar Apr 22 '24 19:04 JBWilkie