refactor: moving project.py to root, away from __future__#506
refactor: moving project.py to root, away from __future__#506thiagobomfin-galileo wants to merge 4 commits intomainfrom
Conversation
dcfad5c to
405e311
Compare
bf17e75 to
075ac99
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #506 +/- ##
==========================================
+ Coverage 82.13% 82.15% +0.02%
==========================================
Files 96 100 +4
Lines 9282 9304 +22
==========================================
+ Hits 7624 7644 +20
- Misses 1658 1660 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Those are refering to lines that were already missing test coverage when the files were inside future, not sure if we should action on this warning or not |
075ac99 to
d9c2b1c
Compare
9fe26e7 to
ddd1b91
Compare
fernandocorreia-galileo
left a comment
There was a problem hiding this comment.
Excellent job!
User description
Shortcut:
Migrate SDK code from the future package to the SDK root
Description:
Motivation
Part of the initiative to promote future domain objects to first-class SDK citizens. After this change, from galileo.project import Project is the canonical import path. The future package continues to
work identically — no user-facing breakage.
Tests:
Generated description
Below is a concise technical summary of the changes proposed in this PR:
Promote
Project,Collaborator,CollaboratorRole,StateManagementMixin/SyncState, and the shared exceptions into canonical root modules so CRUD, collaborator, and lifecycle helpers now live undergalileo.project,galileo.collaborator, andgalileo.sharedwhile preserving their behavior. Ensure backward compatibility by re-exporting those symbols throughgalileo.future, decorating legacy helpers with@deprecated, and covering the import surface with compatibility tests.Project,Collaborator, the shared lifecycle mixin/exceptions, and the helper wrappers into canonical root modules, keeping CRUD and collaborator flows intact while adding@deprecatedhelpers and root exports.Modified files (8)
Latest Contributors(2)
galileo.__future__re-export layer and compatibility tests so legacy import paths continue to resolve to the new root classes while the test suite validates the migrated symbols.Modified files (17)
Latest Contributors(2)
Modified files (6)
Latest Contributors(2)