diff --git a/attmap/attmap_echo.py b/attmap/attmap_echo.py index 4c41599..e0ff1ea 100644 --- a/attmap/attmap_echo.py +++ b/attmap/attmap_echo.py @@ -8,7 +8,7 @@ __all__ = ["AttMapEcho", "EchoAttMap"] -class AttMapEcho(PathExAttMap): +class EchoAttMap(PathExAttMap): """ An AttMap that returns key/attr if it has no set value. """ def __getattr__(self, item, default=None, expand=True): @@ -45,4 +45,4 @@ def _lower_type_bound(self): return AttMapEcho -EchoAttMap = AttMapEcho +AttMapEcho = EchoAttMap