Fix exception. Although it will be auto-instantiated it's better to explicitily use the exception instance

This commit is contained in:
Gustavo Moreira
2024-01-09 16:13:33 -03:00
parent 82668af609
commit 6b3bbad537
+1 -1
View File
@@ -133,7 +133,7 @@ class ObjectInterface(metaclass=abc.ABCMeta):
def __getattr__(self, attr: str) -> Any:
"""Method for ensuring volatility members can be returned."""
raise AttributeError
raise AttributeError()
@property
def vol(self) -> ReadOnlyMapping: