Skip to content

Commit

Permalink
Remove use of relative imports
Browse files Browse the repository at this point in the history
  • Loading branch information
maldoinc committed Jul 12, 2024
1 parent f21e2f7 commit a01880a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
11 changes: 5 additions & 6 deletions wireup/ioc/dependency_container.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, Callable, Optional, Tuple, TypeVar, overload

from .override_manager import OverrideManager
from wireup.ioc.override_manager import OverrideManager

if sys.version_info < (3, 9):
from graphlib2 import TopologicalSorter
Expand All @@ -18,9 +18,8 @@
UnknownServiceRequestedError,
UsageOfQualifierOnUnknownObjectError,
)

from .service_registry import ServiceRegistry
from .types import (
from wireup.ioc.service_registry import ServiceRegistry
from wireup.ioc.types import (
AnyCallable,
EmptyContainerInjectionRequest,
InjectableType,
Expand All @@ -30,8 +29,8 @@
)

if TYPE_CHECKING:
from .initialization_context import InitializationContext
from .parameter import ParameterBag
from wireup.ioc.initialization_context import InitializationContext
from wireup.ioc.parameter import ParameterBag

__T = TypeVar("__T")
__ObjectIdentifier = Tuple[type, Optional[Qualifier]]
Expand Down
3 changes: 1 addition & 2 deletions wireup/ioc/parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
from typing import Any

from wireup.errors import UnknownParameterError

from .types import ParameterReference, TemplatedString
from wireup.ioc.types import ParameterReference, TemplatedString


class ParameterBag:
Expand Down

0 comments on commit a01880a

Please sign in to comment.