Skip to content

Commit

Permalink
Merge branch 'main' into async
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed May 22, 2024
2 parents d412549 + 310e1f6 commit c444883
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ repos:
- id: python-check-blanket-type-ignore
- id: python-no-log-warn
- repo: https://github.com/PyCQA/pylint
rev: v3.1.0
rev: v3.2.2
hooks:
- id: pylint
args: [
Expand Down
2 changes: 2 additions & 0 deletions src/coaster/sqlalchemy/roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,8 @@ def __attr_available(
present, absent = self._call, self._no_call
elif action == 'write':
present, absent = self._write, self._no_write
else: # pragma: no cover
raise ValueError(f"Unknown action {action}")

if attr in present:
return True
Expand Down

0 comments on commit c444883

Please sign in to comment.