mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-21 13:48:46 +00:00
Chain#pop does not return tuples
This commit is contained in:
parent
a779f86941
commit
fbb1fcb8ff
|
@ -496,7 +496,7 @@ class Chain(ContextModule):
|
|||
"""
|
||||
self.insert(-1, module)
|
||||
|
||||
def pop(self, index: int = -1) -> Module | tuple[Module]:
|
||||
def pop(self, index: int = -1) -> Module:
|
||||
"""Pop a module from the chain at the given index.
|
||||
|
||||
Args:
|
||||
|
|
Loading…
Reference in a new issue