mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-10-29 11:27:43 +08:00
fix(servarr): keep unit of work type-only
This commit is contained in:
@@ -3,11 +3,13 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass
|
||||
from typing import Any, Optional, Protocol
|
||||
from typing import TYPE_CHECKING, Any, Optional, Protocol
|
||||
|
||||
from app.application.subscription.delete import AsyncUnitOfWork
|
||||
from app.schemas.types import MediaSource
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from app.application.subscription.delete import AsyncUnitOfWork
|
||||
|
||||
|
||||
@dataclass(frozen=True, slots=True)
|
||||
class ServarrSubscription:
|
||||
|
||||
Reference in New Issue
Block a user