class_docstr: A static context variable to keep track of the current Run object
class_docstr_tok: ["A","static","context","variable","to","keep","track","of","the","current","Run","object"]
docstr: Drop the Run object tracked in the global static variable
  
  as its execution finishes (its "with" block ends).
  
  Return:
      Run: the dropped Run object.
docstr_tok: ["Drop","the","Run","object","tracked","in","the","global","static","variable","as","its","execution","finishes","(","its","``","with","''","block","ends",")",".","Return",":","Run",":","the","dropped","Run","object","."]
code: def drop_current_run(cls) -> "Run":
      """Drop the Run object tracked in the global static variable
  
      as its execution finishes (its "with" block ends).
  
      Return:
          Run: the dropped Run object.
      """
      current_run = cls._context_run
      cls._context_run = None
      return current_run
  
imports: from __future__ import absolute_import
  from typing import TYPE_CHECKING
label_desc: Use image node_id 2 for calling the _RunContext obj's underlying member method code with example usage: obj.drop_current_run(cls) and returns: current_run