-
Notifications
You must be signed in to change notification settings - Fork 0
MPT-12327 Implement collection client #10
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
MPT-12327 Implement collection client #10
Conversation
95d38d8 to
7c9c5d8
Compare
6c7c04c to
934f488
Compare
| """Returns new collection with ordering setup. | ||
| Raises ValueError if ordering is already set. | ||
| """ |
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.
Returns and raises should be part of a section in the doctrings.
mpt_api_client/http/collection.py
Outdated
| return new_collection | ||
|
|
||
| def select(self, *fields: str) -> Self: | ||
| """Set select fields. Raises ValueError if select fields are already set.""" |
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.
Same about the doctsrings format. Raises should be part of the Raises section
1d7218b to
fa0b2f7
Compare
fa0b2f7 to
b5279fd
Compare
|



No description provided.