You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the tech debt to be addressed, include links and screenshots
Functions in this extension declare default values for all parameters, even if they are required. This results in a suboptimal interface and code layout (which needs to check for non-falsy required values).
Example:
message is a required parameter for pushover.post_message. It's the third positional argument though, after user and device, both of which are read from the configuration if unspecified. Thus one cannot simply call salt["pushover.notify"]("My message").
The text was updated successfully, but these errors were encountered:
Description of the tech debt to be addressed, include links and screenshots
Functions in this extension declare default values for all parameters, even if they are required. This results in a suboptimal interface and code layout (which needs to check for non-falsy required values).
Example:
message
is a required parameter forpushover.post_message
. It's the third positional argument though, afteruser
anddevice
, both of which are read from the configuration if unspecified. Thus one cannot simply callsalt["pushover.notify"]("My message")
.The text was updated successfully, but these errors were encountered: