class_docstr: Tests for sLCWA training instances.
code: def _pre_instantiation_hook(
      self, kwargs: MutableMapping[str, Any]
  ) -> MutableMapping[str, Any]:  # noqa: D102
      kwargs = super()._pre_instantiation_hook(kwargs=kwargs)
      kwargs["mapped_triples"] = self.factory.mapped_triples
      return kwargs
  
file_path: pykeen/tests/test_instances.py
imports: from typing import Any, MutableMapping
  from pykeen.triples import LCWAInstances, SLCWAInstances
  from pykeen.triples.instances import BatchedSLCWAInstances, SubGraphSLCWAInstances
  from tests import cases
label_desc: Use image node_id 1 for calling the SLCWAInstancesTestCase obj's underlying member method code with example usage: obj._pre_instantiation_hook(kwargs) and returns: kwargs