mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-13 05:58:35 +03:00
oi
This commit is contained in:
@@ -6,7 +6,8 @@ from auto_archiver.core import Media, Metadata
|
|||||||
|
|
||||||
from app.shared import schemas
|
from app.shared import schemas
|
||||||
from app.shared.db import models
|
from app.shared.db import models
|
||||||
from app.worker.main import create_archive_task, create_sheet_task, get_all_urls
|
from app.web.utils.misc import get_all_urls
|
||||||
|
from app.worker.main import create_archive_task, create_sheet_task
|
||||||
|
|
||||||
|
|
||||||
class TestCreateArchiveTask:
|
class TestCreateArchiveTask:
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ from loguru import logger
|
|||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm import Session
|
||||||
|
|
||||||
from app.shared import business_logic, schemas
|
from app.shared import business_logic, schemas
|
||||||
from app.shared.aa_utils import get_all_urls
|
|
||||||
from app.shared.db import models, worker_crud
|
from app.shared.db import models, worker_crud
|
||||||
from app.shared.db.database import get_db_dependency
|
from app.shared.db.database import get_db_dependency
|
||||||
from app.shared.log import log_error
|
from app.shared.log import log_error
|
||||||
from app.web.config import ALLOW_ANY_EMAIL
|
from app.web.config import ALLOW_ANY_EMAIL
|
||||||
from app.web.security import token_api_key_auth
|
from app.web.security import token_api_key_auth
|
||||||
|
from app.web.utils.misc import get_all_urls
|
||||||
|
|
||||||
|
|
||||||
interoperability_router = APIRouter(
|
interoperability_router = APIRouter(
|
||||||
|
|||||||
@@ -8,12 +8,12 @@ from loguru import logger
|
|||||||
from sqlalchemy import exc
|
from sqlalchemy import exc
|
||||||
|
|
||||||
from app.shared import business_logic, schemas
|
from app.shared import business_logic, schemas
|
||||||
from app.shared.aa_utils import get_all_urls
|
|
||||||
from app.shared.db import models, worker_crud
|
from app.shared.db import models, worker_crud
|
||||||
from app.shared.db.database import get_db
|
from app.shared.db.database import get_db
|
||||||
from app.shared.log import log_error
|
from app.shared.log import log_error
|
||||||
from app.shared.settings import get_settings
|
from app.shared.settings import get_settings
|
||||||
from app.shared.task_messaging import get_celery, get_redis
|
from app.shared.task_messaging import get_celery, get_redis
|
||||||
|
from app.web.utils.misc import get_all_urls
|
||||||
from app.worker.worker_log import setup_celery_logger
|
from app.worker.worker_log import setup_celery_logger
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user