def METHOD_NAME(self, input_data):
    # pydantic aliases mess up things
    # put back data in 'hosts' from the 'path' alias
    if not self._validate:
        input_data['hosts'] = input_data.pop('path', {})
    super().METHOD_NAME(input_data)
    inventory = self._get_inventory()
    self.set_inventory(inventory)