Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
all: build upload
all: build

build:
build: clean
pip install build twine
rm -rf dist/
python -m build
Expand Down
4 changes: 2 additions & 2 deletions ioc/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ def walk_and_modify(model):

setattr(model, field, parameter)

return model
return model

return walk_and_modify(parameter)

if isinstance(parameter, (tuple)):
parameter = list(parameter)
for key in get_keys(parameter):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "ioc"
version = "0.1.0"
version = "0.1.1"
description = "A small dependency injection container based on Symfony2 Dependency Component"
readme = "README.md"
license = "Apache-2.0"
Expand Down