Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.17
rev: v0.15.18
hooks:
- id: ruff-check
- id: ruff-format
Expand Down
8 changes: 4 additions & 4 deletions mpt_api_client/http/query_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,22 @@ def __init__(

@property
def filter(self) -> RQLQuery | None:
"""Get the current filter query."""
"""Current filter query."""
return self._filter

@property
def order_by(self) -> list[str] | None:
"""Get the current order by fields."""
"""Current order by fields."""
return self._order_by

@property
def select(self) -> list[str] | None:
"""Get the current select fields."""
"""Current select fields."""
return self._select

@property
def options(self) -> QueryOptions:
"""Get the current query options."""
"""Current query options."""
return self._options

def build(self, query_params: dict[str, Any] | None = None) -> str:
Expand Down
4 changes: 2 additions & 2 deletions mpt_api_client/models/file_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def filename(self) -> str | None:

@property
def file_contents(self) -> bytes:
"""Returns the content of the attachment.
"""Content of the attachment.

Returns:
The content of the attachment in bytes
Expand All @@ -46,7 +46,7 @@ def file_contents(self) -> bytes:

@property
def content_type(self) -> str | None:
"""Returns the content type of the attachment.
"""Content type of the attachment.

Returns:
The content type of the attachment.
Expand Down
66 changes: 33 additions & 33 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading