petpy 2.0.1 released
The 2.0.1 release of petpy
introduces some small bug fixes and a few other minor changes to shore up changes made for the 2.0.0 release.
Full Changelog, which can also be found in the repository's root directory.
- Fixes the
animals()
andorganizations()
method to return all matching search results when thepages
parameter
is set toNone
. - The resulting JSON (dictionary) from the
breeds()
method when the parameterreturn_df=False
will now consistently
havetypes
as the key. Prior to this change, if thebreeds()
method was called with a single animal type, the
resulting key name in the returned object would be namedtype
, whereas if more than one animal type is specified
the key name would betypes
. - The
distance
parameter for theanimals()
andorganizations()
parameters will now raise aValueError
if it is
less than 0.