-
Notifications
You must be signed in to change notification settings - Fork 674
FOEPD-1417 fix pipeline type from/to json #6418
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
Conversation
WalkthroughPipeline JSON shape changed from a list to a dict with a top-level "stages" key; Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Pipeline
participant JSON as "JSON Dict\n{\"stages\": [...]}"
Note over Pipeline,JSON: Serialization (new shape)
Client->>Pipeline: to_json()
Pipeline-->>Client: {"stages": [ stage_json, ... ]}
Note over Pipeline,JSON: Deserialization (new input)
Client->>Pipeline: from_json({"stages": [ stage_json, ... ]})
Pipeline-->>Client: Pipeline(stages=[...])
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🔇 Additional comments (3)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the Comment |
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.
What changes are proposed in this pull request?
Pipeline type was messed up on-disk in a way that unit tests didn't catch but voxelhub did. This fixes that discrepancy.
How is this patch tested? If it is not, please explain why.
Added more unit tests
Release Notes
Is this a user-facing change that should be mentioned in the release notes?
notes for FiftyOne users.
What areas of FiftyOne does this PR affect?
fiftyone
Python library changesSummary by CodeRabbit
Refactor
Tests