From 488cf1340439d6e686a530dd0c02efab6b52b82d Mon Sep 17 00:00:00 2001 From: Vince Date: Sat, 18 May 2019 14:36:46 -0400 Subject: [PATCH] set lower type bound on pathex --- attmap/_version.py | 2 +- attmap/pathex_attmap.py | 4 ++++ docs/changelog.md | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/attmap/_version.py b/attmap/_version.py index 76da4a9..8e1395b 100644 --- a/attmap/_version.py +++ b/attmap/_version.py @@ -1 +1 @@ -__version__ = "0.12.2" +__version__ = "0.12.3" diff --git a/attmap/pathex_attmap.py b/attmap/pathex_attmap.py index 52ee9cb..6c23b4b 100644 --- a/attmap/pathex_attmap.py +++ b/attmap/pathex_attmap.py @@ -113,3 +113,7 @@ def _finalize_value(self, v): :return object: the finalized value """ return expandpath(v) if isinstance(v, str) else v + + @property + def _lower_type_bound(self): + return PathExAttMap diff --git a/docs/changelog.md b/docs/changelog.md index d4aa74a..804a7fc 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,9 @@ # Changelog +## [0.12.3] - 2019-05-18 +### Changed +- `PathExAttMap` now decleares itself as lower type bound. + ## [0.12.2] - 2019-05-18 ### Fixed - Tweaked map type conversion upon value insertion