class_docstr: Base class for all step decorators.
  
  Example:
  
  @my_decorator
  @step
  def a(self):
      pass
  
  @my_decorator
  @step
  def b(self):
      pass
  
  To make the above work, define a subclass
  
  class MyDecorator(StepDecorator):
      name = "my_decorator"
  
  and include it in plugins.STEP_DECORATORS. Now both a() and b()
  get an instance of MyDecorator, so you can keep step-specific
  state easily.
  
  TODO (savin): Initialize the decorators with flow, graph,
                step.__name__ etc., so that we don't have to
                pass them around with every lifecycle call.
class_docstr_tok: ["Base","class","for","all","step","decorators",".","Example",":","@","my_decorator","@","step","def","a","(","self",")",":","pass","@","my_decorator","@","step","def","b","(","self",")",":","pass","To","make","the","above","work",",","define","a","subclass","class","MyDecorator","(","StepDecorator",")",":","name","=","``","my_decorator","''","and","include","it","in","plugins.STEP_DECORATORS",".","Now","both","a","(",")","and","b","(",")","get","an","instance","of","MyDecorator",",","so","you","can","keep","step-specific","state","easily",".","TODO","(","savin",")",":","Initialize","the","decorators","with","flow",",","graph",",","step.__name__","etc.",",","so","that","we","do","n't","have","to","pass","them","around","with","every","lifecycle","call","."]
docstr: Access the command line for a step execution in the runtime context.
code: def runtime_step_cli(
      self, cli_args, retry_count, max_user_code_retries, ubf_context
  ):
      """
      Access the command line for a step execution in the runtime context.
      """
      pass
  
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 8 for calling the StepDecorator obj's underlying member method code with example usage: obj.runtime_step_cli(cli_args, retry_count, max_user_code_retries, ubf_context) without return types