Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: a1b04a185c735a0a8c4fcca10b22a1fda40cc833
https://github.com/tribe29/checkmk/commit/a1b04a185c735a0a8c4fcca10b22a1fda…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2021-04-07 (Wed, 07 Apr 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/host_tag.py
M cmk/gui/plugins/openapi/fields.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
Log Message:
-----------
Replaced deprecated marshmallow.Field.fail() with marshmallow.Field.make_error().
This avoids tons of warnings in our unit tests and is more future-proof.
Fixed typing of mixin class, see e.g.:
https://mypy.readthedocs.io/en/stable/more_types.html#mixin-classes
Change-Id: I7d45a89aeb1370fee5040606862f9ed21c8965de