fiftyone
fiftyone copied to clipboard
make ctx.view saved view aware for python operators
What changes are proposed in this pull request?
make ctx.view saved view aware for python operators
How is this patch tested? If it is not, please explain why.
using an example Python operator that access ctx.view
Release Notes
Is this a user-facing change that should be mentioned in the release notes?
- [ ] No. You can skip the rest of this section.
- [x] Yes. Give a description of this change to be included in the release notes for FiftyOne users.
make ctx.view saved view aware for python operators
What areas of FiftyOne does this PR affect?
- [x] App: FiftyOne application changes
- [ ] Build: Build and test infrastructure changes
- [ ] Core: Core
fiftyone
Python library changes - [ ] Documentation: FiftyOne documentation changes
- [ ] Other
Summary by CodeRabbit
-
New Features
- Enhanced context management with the introduction of
viewName
variable, improving data handling and execution context. - Updated several functions to utilize the
view_name
property, refining operations and data fetching. - Improved view retrieval process by conditionally loading saved views based on the
view_name
parameter, ensuring more accurate and efficient data representation.
- Enhanced context management with the introduction of