|
|
@@ -155,10 +155,7 @@ class Context(SimpleNamespace):
|
|
|
@contextmanager
|
|
|
def extend(self, **kwargs: Any) -> Iterator[Context]:
|
|
|
"""Create a new context that inherits an extra property"""
|
|
|
- try:
|
|
|
- yield Context(**vars(self), **kwargs)
|
|
|
- finally:
|
|
|
- pass
|
|
|
+ yield Context(**vars(self), **kwargs)
|
|
|
|
|
|
|
|
|
class Action(BaseModel, abc.ABC):
|