Skip to content

Commit 21f257d

Browse files
Fix typos and formatting
1 parent d570585 commit 21f257d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

rodi/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,9 @@ def add_transient(
11011101

11021102
return self.bind_types(base_type, concrete_type, ServiceLifeStyle.TRANSIENT)
11031103

1104-
def _add_exact_singleton(self: _ContainerSelf, concrete_type: Type) -> _ContainerSelf:
1104+
def _add_exact_singleton(
1105+
self: _ContainerSelf, concrete_type: Type
1106+
) -> _ContainerSelf:
11051107
"""
11061108
Registers an exact type, to be instantiated with singleton lifetime.
11071109
@@ -1128,7 +1130,9 @@ def _add_exact_scoped(self: _ContainerSelf, concrete_type: Type) -> _ContainerSe
11281130
)
11291131
return self
11301132

1131-
def _add_exact_transient(self: _ContainerSelf, concrete_type: Type) -> _ContainerSelf:
1133+
def _add_exact_transient(
1134+
self: _ContainerSelf, concrete_type: Type
1135+
) -> _ContainerSelf:
11321136
"""
11331137
Registers an exact type, to be instantiated with transient lifetime.
11341138

0 commit comments

Comments
 (0)