Doctor

Latest version: v3.13.7

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

Scan your dependencies

Page 3 of 9

3.11.0

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

* Document default values for optional request params by inspecting
the logic function signature.

3.10.3

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

* Fixed UnionType types from not getting passed to logic functions.
* Fixed UnionType types from not getting documented in api docs.
* Fixed bug with native_type for UnionType which could cause an error parsing
the value, even if it conformed to one of the n types defined.

3.10.2

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

* Fixed bug introducded in v3.10.1 when doctor attempted to generate api
documentation when an endpoint had a request parameter that was an array of
objects.

3.10.1

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

* Fixed bug when using UnionType as it was missing a `native_type` attribute.
* Fixed bug when using Array where items is a list of types for each index.
Documentation was generating exceptions when processing an annotation using
this type.
* Added ability to document what type(s) an array's items are in the api
documentation.

3.10.0

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

* Added optional `parser` attribute to doctor types that allows the ability
to specify a callable to parse the request parameter before it gets validated.
See the documentation for more information.

3.9.0

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

* Added new `UnionType` to types that allows a value to be one of `n` types.
* Don't filter out request parameters not defined in the type object for routes
that specify a `req_obj_type`.

Page 3 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.