code: def get_valid_pipeline():
      pipeline = (
          PipelineBuilder()
          .add_sequence("logit", "logit", "logit")
          .build()
      )
      adapter = PipelineAdapter()
      opt_graph = adapter.adapt(pipeline)
      return opt_graph, pipeline, adapter
  
imports: import pytest
  from fedot.core.pipelines.adapters import PipelineAdapter
  from fedot.core.pipelines.pipeline_builder import PipelineBuilder
  from fedot.core.pipelines.verification_rules import *
label_desc: Use image node_id 1 for calling a global function with example usage: get_valid_pipeline() and returns: opt_graph,  pipeline,  adapter