Skip to content

Releases: felix-martel/pydanclick

v0.3.0

07 Sep 15:27
3dd27be
Compare
Choose a tag to compare

New features:

  • improve support for BaseSettings objects by deferring evaluation of default values (#17, contribution by @slicksk8te)

v0.2.1

06 Jul 14:23
2468b62
Compare
Choose a tag to compare

New features:

  • destination variable name can be omitted (i.e. @from_pydantic(MyModel) instead of @from_pydantic("my_model", MyModel) (#12)

v0.2.0

10 Mar 20:57
53b9d7f
Compare
Choose a tag to compare

New features:

  • Support nested models
  • Support container types such as lists or dicts

Bug fixes:

  • Avoid name collision by prefixing argument names with prefix

And also:

  • Reorganize code
  • Normalize prefix and aliases (i.e. accept with and without leading dashes)

v0.1.0

17 Feb 21:54
a1981c9
Compare
Choose a tag to compare

First working version of pydanclick. Basic features are there, so the library should be usable as long as:

  • you stay away from complex types (e.g. container types such as lists or dicts). As a workaround, you can exclude non-compatible fields and add them manually
  • you're not using advanced Click features
  • you don't use nested models