Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, **kwargs):
super(PowerShellCommandResult, self).__init__(**kwargs)
self.message_type = kwargs.get('message_type', None)
self.foreground_color = kwargs.get('foreground_color', None)
self.background_color = kwargs.get('background_color', None)
self.value = kwargs.get('value', None)
self.prompt = kwargs.get('prompt', None)
self.exit_code = kwargs.get('exit_code', None)
self.id = kwargs.get('id', None)
self.caption = kwargs.get('caption', None)
self.message = kwargs.get('message', None)
self.descriptions = kwargs.get('descriptions', None)