code: def construct_infrastructure_factory(self, *args, **kwargs):
          
          factory_class = self.infrastructure_factory_class
          assert issubclass(factory_class, InfrastructureFactory)
          return factory_class(
              record_manager_class=self.record_manager_class,
              integer_sequenced_record_class=self.stored_event_record_class,
              sequenced_item_class=self.sequenced_item_class,
              contiguous_record_ids=self.contiguous_record_ids,
              application_name=self.name,
              pipeline_id=self.pipeline_id,
              snapshot_record_class=self.snapshot_record_class,
              *args, **kwargs
          )
docs: :rtype: InfrastructureFactory