code: def test_decoration_method():
      class WandbExampleFlowDecoClass(FlowSpec):
          @wandb_log(datasets=True, models=True, others=True)
          @step
          def start(self):
              self.next(self.middle)
  
          @step
          def middle(self):
              self.next(self.end)
  
          @wandb_log(datasets=True, models=True, others=True)
          @step
          def end(self):
              pass
  
      assert hasattr(WandbExampleFlowDecoClass.start, "_base_func")
      assert not hasattr(WandbExampleFlowDecoClass.middle, "_base_func")
      assert hasattr(WandbExampleFlowDecoClass.end, "_base_func")
  
      assert WandbExampleFlowDecoClass.start._kwargs == {
          "datasets": True,
          "models": True,
          "others": True,
          "settings": None,
      }
      assert not hasattr(WandbExampleFlowDecoClass.middle, "_base_func")
      assert WandbExampleFlowDecoClass.start._kwargs == {
          "datasets": True,
          "models": True,
          "others": True,
          "settings": None,
      }
  
file_path: wandb/tests/pytest_tests/unit_tests/test_metaflow.py
imports: import platform
  from pathlib import Path
  import pytest
  import pandas
  from metaflow import FlowSpec, step
  from sklearn.ensemble import GradientBoostingClassifier, RandomForestClassifier
  from wandb.integration.metaflow import wandb_log, wandb_track, wandb_use
label_desc: Use image node_id 2 for calling a global function with example usage: test_decoration_method() without return types