AcademySoftwareFoundation / OpenTimelineIO

Open Source API and interchange format for editorial timeline information.
http://opentimeline.io
Apache License 2.0
1.4k stars 276 forks source link

Add to_dict methods #1705

Open JeanChristopheMorinPerso opened 4 months ago

JeanChristopheMorinPerso commented 4 months ago

Add to_dict and to_list methods to more easily pass OTIO objects to json.dumps.

This is the result from https://academysoftwarefdn.slack.com/archives/CMQ9J4BQC/p1708976729390279.

JeanChristopheMorinPerso commented 4 months ago

This is ready to review. I would need help with the model regeneration. I'm not too sure what's going on with that.

reinecke commented 3 months ago

I think we're thumbsup on adding this. The test failure is a bit of a head-scratcher - we'll need to look in this vicinity to determine why the module path is coming out wrong in the docs.

apetrynet commented 3 months ago

If this is doc related it might be that you'll need to run make doc-plugins-update locally and push again. Ran into a similar issue on the adapter breakouts.