fix: remove required notification provider args check

This commit is contained in:
lucasheld 2022-10-07 14:32:52 +02:00
parent 3d9a2a40b0
commit 52d33d8751

View file

@ -247,9 +247,10 @@ def _check_arguments_notification(kwargs):
required_args = ["type", "name"]
_check_missing_arguments(required_args, kwargs)
type_ = kwargs["type"]
required_args = notification_provider_options[type_]
_check_missing_arguments(required_args, kwargs)
# TODO: collect required notification args from /src/components/notifications/*
# type_ = kwargs["type"]
# required_args = notification_provider_options[type_]
# _check_missing_arguments(required_args, kwargs)
_check_argument_conditions(notification_provider_conditions, kwargs)