Skip to content

Commit

Permalink
refactor: make compat module private
Browse files Browse the repository at this point in the history
  • Loading branch information
hartungstenio committed Jan 27, 2025
1 parent fee3039 commit 678be1a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/loafer/dispatchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import sys
from typing import TYPE_CHECKING, Any

from .compat import TaskGroup
from ._compat import TaskGroup
from .exceptions import DeleteMessage

if TYPE_CHECKING:
Expand Down
2 changes: 1 addition & 1 deletion src/loafer/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import logging

from .compat import iscoroutinefunction, to_thread
from ._compat import iscoroutinefunction, to_thread

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_dispatchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import pytest

from loafer.compat import PY311
from loafer._compat import PY311
from loafer.dispatchers import LoaferDispatcher
from loafer.exceptions import DeleteMessage
from loafer.routes import Route
Expand Down

0 comments on commit 678be1a

Please sign in to comment.