Changelog#
Changelog for module-utilities
Unreleased#
See the fragment files in changelog.d
v0.9.0 — 2023-08-22#
Changed#
Revert to TypeVar
S
being invariant. This leads to some issues withcached.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.
v0.8.0 — 2023-08-21#
Changed#
Moved submodule
_typing
totyping
(i.e., publicly accessible).Made TypeVar
S
covariant. This fixes issues with subclassing overrides.
v0.7.0 — 2023-08-15#
Changed#
Simplified cached.prop by using (new) CachedProperty class.
v0.6.0 — 2023-08-01#
Added#
Now include module
docinhert
to interface with docstring-inheritanceFully support mypy and pyright type checking.
v0.5.0 — 2023-07-10#
Added#
Add
_prepend
option to docfiller. Default behavior is now to append current docstring to templates.
v0.4.0 — 2023-06-14#
Added#
Package now available on conda-forge
Changed#
Properly vendor numpydocs and include pointer to license
v0.3.0 — 2023-05-03#
Added#
Added
DocFiller.assign_param
to more easily add a new parameter.
v0.2.0 — 2023-05-02#
Added#
Added method
assign_keys
toDocFiller
.
v0.1.0 — 2023-05-01#
Added#
Add typing support. Passing mypy, pyright, pytype.