diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 67960972..3a3ba64e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,7 +5,7 @@ Brewtils Changelog ------ TBD -- Self Referecing SystemClient now supports kwargs provided through the Parameter annotation +- Self Referencing SystemClient now supports default values provided through the Parameter annotation 3.24.0 ------ diff --git a/brewtils/request_handling.py b/brewtils/request_handling.py index 68f52f72..52e0bc3e 100644 --- a/brewtils/request_handling.py +++ b/brewtils/request_handling.py @@ -66,7 +66,7 @@ def process_command(self, request): for command in self._system.commands: if command.name == request.command: for parameter in command.parameters: - if parameter.is_kwarg: + if parameter.default: if parameter.key not in request.parameters: request.parameters[parameter.key] = parameter.default