code: def test_load_full_dump_from_pipeline_name(tmpdir):
      # Given
      tape_fit_callback_function = TapeCallbackFunction()
      tape_transform_callback_function = TapeCallbackFunction()
      pipeline: StepWithContext = (
          Pipeline(
              [
                  ("step_a", Identity()),
                  (
                      "step_b",
                      OutputTransformerWrapper(
                          FitTransformCallbackStep(
                              tape_fit_callback_function,
                              tape_transform_callback_function,
                          )
                      ),
                  ),
              ]
          )
          .set_name(PIPELINE_NAME)
          .with_context(CX(tmpdir))
      )
  
      # When
      pipeline, _ = pipeline.fit_transform(
          DATA_INPUTS, EXPECTED_OUTPUTS
      )
  
      step_b_wrapped_step = pipeline.wrapped["step_b"].wrapped
      assert np.array_equal(
          step_b_wrapped_step.transform_callback_function.data[0],
          EXPECTED_OUTPUTS,
      )
      assert np.array_equal(
          step_b_wrapped_step.fit_callback_function.data[0][0],
          EXPECTED_OUTPUTS,
      )
      assert np.array_equal(
          step_b_wrapped_step.fit_callback_function.data[0][1], None
      )
  
      pipeline.save(CX(tmpdir), full_dump=True)
  
      # Then
      loaded_pipeline = CX(tmpdir).load(PIPELINE_NAME)
  
      assert isinstance(loaded_pipeline, Pipeline)
      assert isinstance(loaded_pipeline["step_a"], Identity)
      assert isinstance(
          loaded_pipeline["step_b"], OutputTransformerWrapper
      )
  
      loaded_step_b_wrapped_step = loaded_pipeline["step_b"].wrapped
      assert np.array_equal(
          loaded_step_b_wrapped_step.transform_callback_function.data[
              0
          ],
          EXPECTED_OUTPUTS,
      )
      assert np.array_equal(
          loaded_step_b_wrapped_step.fit_callback_function.data[0][0],
          EXPECTED_OUTPUTS,
      )
      assert np.array_equal(
          loaded_step_b_wrapped_step.fit_callback_function.data[0][1],
          None,
      )
  
file_path: Neuraxle/testing_neuraxle/test_full_pipeline_dump.py
imports: import os
  import numpy
  from neuraxle.base import ExecutionContext
  from neuraxle.base import Identity, StepWithContext
  from neuraxle.pipeline import Pipeline
  from neuraxle.steps.misc import FitTransformCallbackStep, TapeCallbackFunction
  from neuraxle.steps.output_handlers import OutputTransformerWrapper
label_desc: Use image node_id 1 for calling a global function with example usage: test_load_full_dump_from_pipeline_name(tmpdir) without return types