Skip to content

Commit 8923af3

Browse files
committed
fixup! feat: MelleaSession.powerup
1 parent f0ea45d commit 8923af3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mellea/stdlib/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def wrapper(self, *args, **kwargs):
280280
def powerup(cls, powerup_cls: type):
281281
"""Appends methods in a class object `powerup_cls` to MelleaSession."""
282282
for name, fn in inspect.getmembers(powerup_cls, predicate=inspect.isfunction):
283-
cls.register(fn, set_context=False)
283+
setattr(cls, name, fn)
284284

285285
# ###############################
286286
# Convenience functions

0 commit comments

Comments
 (0)