Skip to content

OrbiterMeta Serde bug fix & doc improvements#107

Merged
fritz-astronomer merged 3 commits intomainfrom
typefix
Nov 13, 2025
Merged

OrbiterMeta Serde bug fix & doc improvements#107
fritz-astronomer merged 3 commits intomainfrom
typefix

Conversation

@fritz-astronomer
Copy link
Contributor

@fritz-astronomer fritz-astronomer commented Nov 13, 2025

  • fix: orbiter_meta type fix for serde
  • doc: doc improvements

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_meta field type in OrbiterBase from dict to OrbiterMeta
  • 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-commenter
Copy link

codecov-commenter commented Nov 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.35%. Comparing base (b3ee237) to head (4940a1d).
⚠️ Report is 65 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

@fritz-astronomer fritz-astronomer changed the title OrbiterMeta Serde bug fix OrbiterMeta Serde bug fix & doc improvements Nov 13, 2025
@fritz-astronomer fritz-astronomer merged commit 30a6b1e into main Nov 13, 2025
7 of 8 checks passed
@fritz-astronomer fritz-astronomer deleted the typefix branch November 13, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants