code: def step(f):
      """
      The step decorator. Makes a method a step in the workflow.
      """
      f.is_step = True
      f.decorators = []
      try:
          # python 3
          f.name = f.__name__
      except:
          # python 2
          f.name = f.__func__.func_name
      return f
  
imports: from functools import partial
  import json
  import re
  import os
  import sys
  from .flowspec import FlowSpec
  from .exception import MetaflowInternalError, MetaflowException, InvalidDecoratorAttribute
  from metaflow._vendor import click
label_desc: Use image node_id 9 for calling a global function with example usage: step(f) and returns: f