Tidy up unused symbols, spacing
This commit is contained in:
parent
4ddbbcb40f
commit
dff6b65517
3 changed files with 1 additions and 4 deletions
|
@ -11,7 +11,6 @@ import sys
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
|
||||||
import alembic
|
import alembic
|
||||||
#from alembic_utils.replaceable_entity import register_entities
|
|
||||||
import sqlalchemy as sa
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,7 +21,6 @@ sys.path.append(os.path.join(dir_to_self, *[os.pardir] * 2))
|
||||||
|
|
||||||
import szurubooru.config # noqa: E402
|
import szurubooru.config # noqa: E402
|
||||||
import szurubooru.model.base # noqa: E402
|
import szurubooru.model.base # noqa: E402
|
||||||
|
|
||||||
# fmt: on
|
# fmt: on
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -205,7 +205,6 @@ def create_subquery_filter(
|
||||||
filter_column: SaColumn,
|
filter_column: SaColumn,
|
||||||
filter_factory: SaColumn,
|
filter_factory: SaColumn,
|
||||||
subquery_decorator: Callable[[SaQuery], None] = None,
|
subquery_decorator: Callable[[SaQuery], None] = None,
|
||||||
order: SaQuery = None,
|
|
||||||
) -> Filter:
|
) -> Filter:
|
||||||
filter_func = filter_factory(filter_column)
|
filter_func = filter_factory(filter_column)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from typing import Any, Callable, Union
|
from typing import Any, Callable
|
||||||
|
|
||||||
SaColumn = Any
|
SaColumn = Any
|
||||||
SaQuery = Any
|
SaQuery = Any
|
||||||
|
|
Loading…
Reference in a new issue