Closed ritch closed 4 months ago
This update enhances the PanelOperator
class in the fiftyone
package by adding a conditional check to ensure a method exists before invoking it. Additionally, new unit tests for Panel
, PanelRefState
, PanelRefData
, and PanelRef
classes and their associated functionalities have been introduced, improving the robustness and reliability of panel operations.
Files | Change Summary |
---|---|
fiftyone/operators/panel.py |
Added a conditional check in the PanelOperator class's execute method to verify the existence of a method before invoking it. |
tests/unittests/panels/panel_tests.py |
Introduced test cases for Panel , PanelRefState , PanelRefData , and PanelRef classes and related functionalities in the fiftyone package. |
In the code where panels dance, A check ensures each method's chance, Tests arise to guard the way, So bugs and flaws keep far at bay. 🎉🖥️✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Adds a comprehensive suite of unit tests for
panel.py
and python panels in general.Summary by CodeRabbit
Bug Fixes
Tests