You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the bindings have a system for capturing these results and raising exceptions. I briefly experimented with this during the development of #1387, but it seems like the python unit tests assume that its ok to double register the same type without it triggering an exception.
For unit testing this probably means additional functions that allow un-registering types from the TypeRegistry.
I think the action items are:
discuss at a TSC meeting whether this would be desired behavior,
...and if so what exception should be raised
The text was updated successfully, but these errors were encountered:
Following discussion from: #1387
The python binding for the registration system for types and up/downgrade functions currently returns a bool:
OpenTimelineIO/src/py-opentimelineio/opentimelineio-bindings/otio_bindings.cpp
Line 39 in 424967a
OpenTimelineIO/src/py-opentimelineio/opentimelineio-bindings/otio_bindings.cpp
Line 54 in 424967a
However, the bindings have a system for capturing these results and raising exceptions. I briefly experimented with this during the development of #1387, but it seems like the python unit tests assume that its ok to double register the same type without it triggering an exception.
For unit testing this probably means additional functions that allow un-registering types from the
TypeRegistry
.I think the action items are:
The text was updated successfully, but these errors were encountered: