-
Notifications
You must be signed in to change notification settings - Fork 3
fix removed init #328
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
fix removed init #328
Conversation
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.
Pull request overview
This pull request restores previously removed __init__.py files in the Pieces OS client library, adding back import statements for models and API classes to properly expose them at the package level.
Changes:
- Restored models package
__init__.pywith 502 lines of model imports - Restored API package
__init__.pywith 78 lines of API class imports - Updated main
pieces_os_client/__init__.pywith 577 lines of comprehensive imports for APIs, models, and client components
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
_pieces_lib/pieces_os_client/models/__init__.py |
Adds imports for all model classes using the Pieces._pieces_lib.pieces_os_client.models path prefix |
_pieces_lib/pieces_os_client/api/__init__.py |
Adds imports for all API classes using the Pieces._pieces_lib.pieces_os_client.api path prefix |
_pieces_lib/pieces_os_client/__init__.py |
Adds comprehensive imports for APIs, models, client components, and exceptions to the main package |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| from Pieces._pieces_lib.pieces_os_client.models.seeded_score_increment import SeededScoreIncrement | ||
| from Pieces._pieces_lib.pieces_os_client.models.seeded_sensitive import SeededSensitive | ||
| from Pieces._pieces_lib.pieces_os_client.models.seeded_share import SeededShare | ||
| from Pieces._pieces_lib.pieces_os_client.models.seeded_tag import SeededTag |
Copilot
AI
Jan 13, 2026
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.
Missing import for the SeededTrackedApplication model class. The import statement 'from Pieces._pieces_lib.pieces_os_client.models.seeded_tracked_application import SeededTrackedApplication' should be added between line 428 and line 429 to maintain consistency with the parent init.py file and ensure the SeededTrackedApplication class is properly exported from the models package.
| from Pieces._pieces_lib.pieces_os_client.models.seeded_tag import SeededTag | |
| from Pieces._pieces_lib.pieces_os_client.models.seeded_tag import SeededTag | |
| from Pieces._pieces_lib.pieces_os_client.models.seeded_tracked_application import SeededTrackedApplication |
| from Pieces._pieces_lib.pieces_os_client.models.anchor_point import AnchorPoint | ||
| from Pieces._pieces_lib.pieces_os_client.models.anchor_points import AnchorPoints | ||
| from Pieces._pieces_lib.pieces_os_client.models.anchor_type_enum import AnchorTypeEnum | ||
| from Pieces._pieces_lib.pieces_os_client.models.anchors import Anchors |
Copilot
AI
Jan 13, 2026
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.
Missing import for the Anchor model class. The import statement 'from Pieces._pieces_lib.pieces_os_client.models.anchor import Anchor' should be added between line 32 and line 33 to maintain consistency with the parent init.py file and ensure the Anchor class is properly exported from the models package.
No description provided.