Skip to content

Conversation

@bishoy-at-pieces
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings January 13, 2026 16:19
@bishoy-at-pieces bishoy-at-pieces merged commit cd0c9e6 into main Jan 13, 2026
6 checks passed
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 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__.py with 502 lines of model imports
  • Restored API package __init__.py with 78 lines of API class imports
  • Updated main pieces_os_client/__init__.py with 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
Copy link

Copilot AI Jan 13, 2026

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.

Suggested change
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

Copilot uses AI. Check for mistakes.
Comment on lines +33 to +36
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
Copy link

Copilot AI Jan 13, 2026

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.

Copilot uses AI. Check for mistakes.
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.

2 participants