mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-21 14:06:55 +01:00
Chore: Reduce imports for a slight memory improvement (#9217)
This commit is contained in:
parent
3104417076
commit
827fcba277
12 changed files with 71 additions and 26 deletions
|
|
@ -1,12 +1,14 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
from typing import TYPE_CHECKING
|
||||
from typing import NoReturn
|
||||
from zipfile import ZipFile
|
||||
|
||||
from documents.models import Document
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from collections.abc import Callable
|
||||
from zipfile import ZipFile
|
||||
|
||||
from documents.models import Document
|
||||
|
||||
|
||||
class BulkArchiveStrategy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue