Ran Black

This commit is contained in:
Simon Willison 2025-10-25 10:08:24 -07:00
commit 60ed646d45
2 changed files with 8 additions and 4 deletions

View file

@ -124,6 +124,7 @@ app_root = Path(__file__).parent.parent
@dataclasses.dataclass
class PermissionCheck:
"""Represents a logged permission check for debugging purposes."""
when: str
actor: Optional[Dict[str, Any]]
action: str
@ -131,6 +132,7 @@ class PermissionCheck:
child: Optional[str]
result: bool
# https://github.com/simonw/datasette/issues/283#issuecomment-781591015
SQLITE_LIMIT_ATTACHED = 10