Skip to content

Commit 7784b31

Browse files
author
remimd
committed
.
1 parent a6350df commit 7784b31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

injection/_core/injectables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class ConstantInjectable[T](Injectable[T]):
124124
value: T
125125

126126
async def aget_instance(self) -> T:
127-
return self.get_instance()
127+
return self.value
128128

129129
def get_instance(self) -> T:
130130
return self.value

0 commit comments

Comments
 (0)