OrbiterMeta Serde bug fix & doc improvements#107
Merged
fritz-astronomer merged 3 commits intomainfrom Nov 13, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a type bug in the OrbiterMeta serialization/deserialization by changing the orbiter_meta field type from dict | None to OrbiterMeta | None in the OrbiterBase class. This ensures proper Pydantic model validation and serialization.
Key changes:
- Updated
orbiter_metafield type inOrbiterBasefromdicttoOrbiterMeta - Added serialization/deserialization test to verify the fix
- Version bumped to 1.9.1
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| orbiter/objects/init.py | Changed orbiter_meta type from dict | None to OrbiterMeta | None and added import for OrbiterMeta |
| tests/orbiter/objects/project_test.py | Refactored test to use pytest fixture, added OrbiterMeta instances to test data, and added new serialization test |
| orbiter/init.py | Bumped version from 1.9.0 to 1.9.1 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #107 +/- ##
==========================================
+ Coverage 78.92% 82.35% +3.42%
==========================================
Files 35 51 +16
Lines 1362 1887 +525
==========================================
+ Hits 1075 1554 +479
- Misses 287 333 +46 ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.