def __init__(self, *args, **kwargs):
    if ('version' in kwargs):
        raise exception.ObjectActionError(action='init', reason='Version field is immutable')
    super(Service, self).__init__(*args, **kwargs)
    self.version = SERVICE_VERSION
def __init__(self, *args, **kwargs):
    if ('version' in kwargs):
        raise exception.ObjectActionError(action='init', reason='Version field is immutable')
    super(Service, self).__init__(*args, **kwargs)
    self.version = SERVICE_VERSION