Skip to content

Commit

Permalink
Merge pull request #59 from SamWarden/dev
Browse files Browse the repository at this point in the history
Publish Didiator v0.3.1
  • Loading branch information
SamWarden authored Jan 30, 2023
2 parents 7f52226 + ff4f6ab commit f6e1d89
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion didiator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .interface.mediator import Mediator, CommandMediator, QueryMediator, EventMediator
from .mediator import MediatorImpl

__version__ = "0.3.0"
__version__ = "0.3.1"

__all__ = (
"__version__",
Expand Down
2 changes: 1 addition & 1 deletion didiator/utils/di_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def solve(self, call: DependencyProviderType[DependencyType], scope: Scope) -> S

def copy(self) -> "DiBuilderImpl":
di_container = Container()
di_container._bind_hooks = self._di_container._bind_hooks # noqa
di_container._bind_hooks = self._di_container._bind_hooks.copy() # noqa
return DiBuilderImpl(
di_container, self._di_executor, self.di_scopes, solved_dependencies=self._solved_dependencies,
)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "didiator"
version = "0.3.0"
version = "0.3.1"
description = "A library that implements the Mediator pattern and uses DI library"
authors = [
"SamWarden <SamWardenSad@gmail.com>",
Expand Down

0 comments on commit f6e1d89

Please sign in to comment.