Skip to content

Commit 5a3d97b

Browse files
committed
Update .pylintrc to disable 'too-many-positional-arguments' warning; format metadata_pair docstring for clarity; remove unnecessary super() call in ListNotetakerQueryParams
1 parent f29a7f6 commit 5a3d97b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.pylintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ disable=
1111
too-many-instance-attributes,
1212
unnecessary-pass,
1313
too-many-arguments,
14+
too-many-positional-arguments,
1415
too-few-public-methods,
1516

1617
[TYPECHECK]

nylas/models/messages.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ class Message:
160160
This field defaults to 50. The maximum allowed value is 200.
161161
page_token (NotRequired[str]): An identifier that specifies which page of data to return.
162162
This value should be taken from a ListResponse object's next_cursor parameter.
163-
metadata_pair (NotRequired[str]): Pass a metadata key/value pair (for example, ?metadata_pair=key1:value) to search for metadata associated with objects. See Metadata for more information.
163+
metadata_pair (NotRequired[str]): Pass a metadata key/value pair (for example, ?metadata_pair=key1:value)
164+
to search for metadata associated with objects. See Metadata for more information.
164165
"""
165166

166167

nylas/models/notetakers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ class ListNotetakerQueryParams(ListQueryParams):
268268

269269
def __post_init__(self):
270270
"""Convert enums to string values for API requests."""
271-
super().__post_init__()
272271
# Convert state enum to string if present
273272
if hasattr(self, "state") and isinstance(self.state, NotetakerState):
274273
self.state = self.state.value

0 commit comments

Comments
 (0)