-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated each_child and each_clip functions #1437
Remove deprecated each_child and each_clip functions #1437
Conversation
Signed-off-by: Darby Johnston <[email protected]>
Signed-off-by: Darby Johnston <[email protected]>
Signed-off-by: Darby Johnston <[email protected]>
Signed-off-by: Darby Johnston <[email protected]>
From TSC meeting: Should we consider adding something like |
Maybe |
Signed-off-by: Darby Johnston <[email protected]>
Signed-off-by: Darby Johnston <[email protected]>
Signed-off-by: Darby Johnston <[email protected]>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1437 +/- ##
==========================================
- Coverage 80.09% 80.07% -0.02%
==========================================
Files 198 196 -2
Lines 21703 21677 -26
Branches 4298 4298
==========================================
- Hits 17382 17357 -25
+ Misses 2174 2173 -1
Partials 2147 2147
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
I added the "all_children()" and "all_clips" functions, check out the changes and see if they look reasonable. I think in the meeting we had talked about them being Python functions, but I thought if they are useful why not add them to the C++ API as well? It might also be worth considering adding convenience functions for getting the first child or clip which can be useful. I'm not sure why the "deps" directory is showing up in this PR, I think it got added when I merged the latest code from main. |
Signed-off-by: Darby Johnston <[email protected]>
Signed-off-by: Darby Johnston <[email protected]>
I think I fixed the "deps" commits but I'm not sure why they changed when I merged the main branch. Just for reference here are the steps I used: Show the differences:
Change to the submodule directories and check out the previous commits:
Check in the changes:
|
Does this PR need a rebase? |
I'm not sure, does it? Also the current build failure is from an error uploading the code coverage:
I guess a temporary thing, but I didn't see a way to manually re-run the tests. |
Ok, no it doesn't need a rebase. When I checked last, the diff also showed all the CI modifications for Python 3.11. |
I re-ran all the checks just now. |
codecov failed straight up again. @JeanChristopheMorinPerso Do you know what the issue is? |
I unfortunately have no idea why it failed. Maybe just a glitch in the matrix... I'm guessing a retry might work. |
I think it may be an intermittent issue with CodeCov, I had a similar failure in one of my projects recently. |
@JeanChristopheMorinPerso You had suggested some alternate names:
I'm not very familiar with Python, what is the issue with properties? |
Oh I missed your message. Nothing wrong with properties. My comment was more about the fact that |
I'd like to suggest we take the naming debate back to the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The form of the code is fine, let's agree on the naming before proceeding.
Signed-off-by: Darby Johnston <[email protected]>
Signed-off-by: Darby Johnston <[email protected]>
Signed-off-by: Darby Johnston <[email protected]>
Signed-off-by: Darby Johnston <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! I just had two questions/comments in-line.
contrib/opentimelineio_contrib/adapters/tests/test_aaf_adapter.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Darby Johnston <[email protected]>
I think this is ready to go. @meshula can you take a last look? I see GitHub says you requested a change. Thanks for persevering through our indecision with this @darbyjohnston - I think the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me! thanks
…Foundation#1437) Signed-off-by: Michele Spina <[email protected]>
Signed-off-by: Darby Johnston [email protected]
Fixes #1409
This PR removes the deprecated Python functions "each_child" and "each_clip", replacing them with "children_if" and "clip_if".
Python is not my expertise so here are a couple of notes about the changes I wasn't sure about: