fix: use relative imports for python files

This commit is contained in:
2025-07-23 22:47:55 +00:00
parent 3eb1522525
commit 2ce76243b8
7 changed files with 21 additions and 22 deletions

View File

@@ -1,9 +1,9 @@
from sqlalchemy import select, insert
from sqlalchemy.exc import IntegrityError
from backend.utils import encoder
from backend.models import Url
from backend.exceptions import ShortcodeConflict, ShortcodeNotFound
from ..utils import encoder
from ..models import Url
from ..exceptions import ShortcodeConflict, ShortcodeNotFound
class UrlService:
def __init__(self, db):