Skip to content

Conversation

albertsola
Copy link
Contributor

No description provided.

@albertsola albertsola force-pushed the asola/MPT-12325/Implement-base-CollectionClient branch 2 times, most recently from 95d38d8 to 7c9c5d8 Compare August 14, 2025 12:25
@albertsola albertsola changed the title MPT-12327 Implement collection model MPT-12327 Implement collection client Aug 14, 2025
@albertsola albertsola force-pushed the asola/MPT-12325/Implement-base-CollectionClient branch 2 times, most recently from 6c7c04c to 934f488 Compare August 14, 2025 12:37
Comment on lines 75 to 88
"""Returns new collection with ordering setup.
Raises ValueError if ordering is already set.
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

Returns and raises should be part of a section in the doctrings.

return new_collection

def select(self, *fields: str) -> Self:
"""Set select fields. Raises ValueError if select fields are already set."""
Copy link
Contributor

Choose a reason for hiding this comment

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

Same about the doctsrings format. Raises should be part of the Raises section

@albertsola albertsola force-pushed the asola/MPT-12325/Implement-base-CollectionClient branch 3 times, most recently from 1d7218b to fa0b2f7 Compare August 14, 2025 16:00
@albertsola albertsola force-pushed the asola/MPT-12325/Implement-base-CollectionClient branch from fa0b2f7 to b5279fd Compare August 14, 2025 16:07
@sonarqubecloud
Copy link

@albertsola albertsola merged commit 6196a1c into main Aug 15, 2025
3 checks passed
@albertsola albertsola deleted the asola/MPT-12325/Implement-base-CollectionClient branch August 15, 2025 07:29
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