fix: use relative imports for python files
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user