Releases: usnistgov/module-utilities
Releases · usnistgov/module-utilities
v0.9.0
Changed
- Revert to TypeVar
S
being invariant. This leads to some issues with
cached.prop
decorator. However, the use of covariantTypeVar
was a hack.
Instead, it is better in these cases to decorate with@property
on top of
@cached.meth
. mypy/pyright deal withproperty
in a special way. - To better work with the above, single parameter methods are caached using only
the method name, and no parameters.
Full Changelog: v0.8.1...v0.9.0
v0.8.1
Full Changelog: v0.8.0...v0.8.1
v0.8.0
Changed
- Moved submodule
_typing
totyping
(i.e., publicly accessible). - Made TypeVar
S
covariant. This fixes issues with subclassing overrides
Full Changelog: v0.7.0...v0.8.0
v0.7.0
v0.6.0
Added
- Now include module
docinhert
to interface with
docstring-inheritance - Fully support mypy and pyright type checking.
Full Changelog: v0.5.0...v0.6.0
v0.5.0
Added
- Add
_prepend
option to docfiller. Default behavior is now to append current
docstring to templates.
Full Changelog: v0.4.0...v0.5.0
v0.4.0
Package now available on conda-forge
Full Changelog: v0.3.1...v0.4.0
v0.3.1
Full Changelog: v0.3.0...v0.3.1
v0.3.0
- Added
DocFiller.assign_param
to more easily add a new parameter.
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Added method assign_keys
to DocFiller
.
Full Changelog: v0.1.0...v0.2.0