Database migration tool, deduplication of sets data, customizable checkboxes #44

Merged
FrederikBaerentsen merged 51 commits from gregoo/BrickTracker:master into master 2025-01-24 19:12:12 +01:00
3 changed files with 4 additions and 0 deletions
Showing only changes of commit 3223dd0edc - Show all commits

View File

@ -30,6 +30,7 @@ def error(
error: Exception | None, error: Exception | None,
file: str, file: str,
/, /,
*,
json: bool = False, json: bool = False,
post_redirect: str | None = None, post_redirect: str | None = None,
**kwargs, **kwargs,
@ -121,6 +122,7 @@ def error(
def error_404( def error_404(
error: Exception, error: Exception,
/, /,
*,
json: bool = False, json: bool = False,
post_redirect: str | None = None, post_redirect: str | None = None,
**kwargs, **kwargs,

View File

@ -25,6 +25,7 @@ ViewCallable = Callable[P, ViewReturn]
def exception_handler( def exception_handler(
file: str, file: str,
/, /,
*,
json: bool = False, json: bool = False,
post_redirect: str | None = None post_redirect: str | None = None
) -> Callable[[ViewCallable], ViewCallable]: ) -> Callable[[ViewCallable], ViewCallable]:

View File

@ -12,6 +12,7 @@ def upload_helper(
name: str, name: str,
endpoint: str, endpoint: str,
/, /,
*,
extensions: list[str] = [], extensions: list[str] = [],
) -> FileStorage | Response: ) -> FileStorage | Response:
# Bogus submit # Bogus submit