diff --git a/pypara/monetary.py b/pypara/monetary.py index 729575f..10956e9 100644 --- a/pypara/monetary.py +++ b/pypara/monetary.py @@ -1558,7 +1558,9 @@ def dov_or(self, default: Date) -> Date: def convert(self, to: Currency, asof: Optional[Date] = None, strict: bool = False) -> "Price": return self - money = NoMoney + @property + def money(self) -> Money: + return NoMoney __bool__ = as_boolean