Doctor

Latest version: v3.13.7

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

Scan your dependencies

Page 4 of 9

3.8.2

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

* Added JSON body to error message when parsing JSON fails.
* Fixed bug that caused AttributError when creating routes in flask >= 1.0.0

3.8.1

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

* Fixed an `AttributeError` when a logic function contained a parameter in it's
signature that was not annotated by a doctor type and a request parameter
in a form or query request also contained a variable that matched it's name.

3.8.0

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

* Added ability to specify a callable that can be run before and/or after
a logic function is called when defining a route. See documentation for
an example.

3.7.0

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

* Added ability to specify for a particular route a request Object type that
a json body should be validated against and passed to the logic function.
This allows the base json body to be passed as a parameter without having
to have the logic function variable match a request parameter. The full
json body will simply be passed as the first parameter to the logic function.

3.6.1

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

* Fixed bug when documenting resource objects where we should have been
calling Object.get_example() instead of constructing it ourselves from
the object's properties. That is what `get_example` does behind the scenes,
but it will also use a user defined example if one is available. This is
especially useful for Object's without any properties that you still want to
document an example for.

3.6.0

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

* Added the ability to document object resources in the api documentation.
Any api endpoints that have an object or an array of objects in it's request
parameters will include a link to the documentation about the object.

Page 4 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.