mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 11:07:00 +01:00
Chore: Drop Python 3.9 support (#7774)
This commit is contained in:
parent
5e687d9a93
commit
e6f59472e4
44 changed files with 970 additions and 1066 deletions
|
|
@ -3,7 +3,6 @@ import importlib
|
|||
import os
|
||||
import shutil
|
||||
from pathlib import Path
|
||||
from typing import Optional
|
||||
from unittest import mock
|
||||
|
||||
from django.conf import settings
|
||||
|
|
@ -66,8 +65,8 @@ def make_test_document(
|
|||
mime_type: str,
|
||||
original: str,
|
||||
original_filename: str,
|
||||
archive: Optional[str] = None,
|
||||
archive_filename: Optional[str] = None,
|
||||
archive: str | None = None,
|
||||
archive_filename: str | None = None,
|
||||
):
|
||||
doc = document_class()
|
||||
doc.filename = original_filename
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue