Yummly

Latest version: v0.5.0

Safety actively analyzes 619599 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5.0

-------------------

- Updated ``Meta*`` model classes based on changes to Yummly API. Thanks flyingfrog81_!

0.4.1

-------------------

- Fix indentation issue in models.py. Thanks fredthekid_!

0.4.0

-------------------

- Saner defaults for API data attributes
- Use ``**kargs`` in model class ``__init__``s to avoid duplication
of defaults/assignments
- Use ``kargs.get()`` for API data attributes that may or may not be
available to avoid key errors

0.3.6

-------------------

- Fetch recipe ``yield`` keyword attribute safely from response since
it's not guaranteed to be present
- Supply defaults for ``recipe.nutritionEstimates``, ``recipe.images``,
and ``recipe.yields``
- Ensure ``totalTime`` and ``totalTimeInSeconds`` are set to ``0`` when
falsey

0.3.5

-------------------

- Change default value for ``Recipe.totalTimeInSeconds`` to ``0``:
mirror default returned by search results
- Change default value for ``SearchMatch.sourceDisplayName`` to ``''``:
field not guaranteed to exist in return

0.3.4

-------------------

- Handle top-level keys that are not always present in Yummly
responses.
- Provide default values for ``Recipe`` fields: ``rating=0``,
``flavors={}``, ``totalTime=0``, ``totalTimeInSeconds=''``,
``numberOfServings=0``, ``yields=''``, ``attributes={}``.
- Assert that ``Client`` ``timeout`` parameter is >= 0.
- Assert that ``Client`` ``retries`` parameter is >= 0 and an integer.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.