def get_scalar_value(self, name):
        """ Get scalar value by name """
        if name not in self.scalars:
            raise InvalidServiceConfiguration(
                'Invalid Service Argument Scalar "%s" (not found)' % name
            )
        new_value = self.scalars.get(name)
        return new_value
Get scalar value by name