class_docstr: Metaflow cards derive from this base class.
  
  Subclasses of this class are called *card types*. The desired card
  type `T` is defined in the `@card` decorator as `@card(type=T)`.
  
  After a task with `@card(type=T, options=S)` finishes executing, Metaflow instantiates
  a subclass `C` of `MetaflowCard` that has its `type` attribute set to `T`, i.e. `C.type=T`.
  The constructor is given the options dictionary `S` that contains arbitrary
  JSON-encodable data that is passed to the instance, parametrizing the card. The subclass
  may override the constructor to capture and process the options.
  
  The subclass needs to implement a `render(task)` method that produces the card
  contents in HTML, given the finished task that is represented by a `Task` object.
  
  Attributes
  ----------
  type : str
      Card type string. Note that this should be a globally unique name, similar to a
      Python package name, to avoid name clashes between different custom cards.
  
  Parameters
  ----------
  options : Dict
      JSON-encodable dictionary containing user-definable options for the class.
class_docstr_tok: ["Metaflow","cards","derive","from","this","base","class",".","Subclasses","of","this","class","are","called","*","card","types","*",".","The","desired","card","type","`","T","`","is","defined","in","the","`","@","card","`","decorator","as","`","@","card","(","type=T",")","`",".","After","a","task","with","`","@","card","(","type=T",",","options=S",")","`","finishes","executing",",","Metaflow","instantiates","a","subclass","`","C","`","of","`","MetaflowCard","`","that","has","its","`","type","`","attribute","set","to","`","T","`",",","i.e",".","`","C.type=T","`",".","The","constructor","is","given","the","options","dictionary","`","S","`","that","contains","arbitrary","JSON-encodable","data","that","is","passed","to","the","instance",",","parametrizing","the","card",".","The","subclass","may","override","the","constructor","to","capture","and","process","the","options",".","The","subclass","needs","to","implement","a","`","render","(","task",")","`","method","that","produces","the","card","contents","in","HTML",",","given","the","finished","task","that","is","represented","by","a","`","Task","`","object",".","Attributes","--","--","--","--","--","type",":","str","Card","type","string",".","Note","that","this","should","be","a","globally","unique","name",",","similar","to","a","Python","package","name",",","to","avoid","name","clashes","between","different","custom","cards",".","Parameters","--","--","--","--","--","options",":","Dict","JSON-encodable","dictionary","containing","user-definable","options","for","the","class","."]
code: def reload_content_token(self, task, data):
      return "content-token"
  
file_path: metaflow/metaflow/plugins/cards/card_modules/card.py
imports: from typing import TYPE_CHECKING
label_desc: Use image node_id 6 for calling the MetaflowCard obj's underlying member method code with example usage: obj.reload_content_token(task, data) and returns: str