class_docstr: A mixin that is to be mixed with any class that must function in a
  contextual setting.
class_docstr_tok: ["A","mixin","that","is","to","be","mixed","with","any","class","that","must","function","in","a","contextual","setting","."]
docstr: Sets the context for the object.
  
  Parameters
  ----------
  context : `Context`
      The context to set for the object.
docstr_tok: ["Sets","the","context","for","the","object",".","Parameters","--","--","--","--","--","context",":","`","Context","`","The","context","to","set","for","the","object","."]
code: def context(self, context: Context) -> None:
      """Sets the context for the object.
  
      Parameters
      ----------
      context : `Context`
          The context to set for the object.
      """
      self._context = context
  
file_path: tensortrade/tensortrade/core/component.py
imports: from abc import ABC, ABCMeta
  from typing import Any
  from .None import registry
  from tensortrade.core.context import TradingContext, Context
  from tensortrade.core.base import Identifiable
label_desc: Use image node_id 2 for calling the ContextualizedMixin obj's underlying member method code with example usage: obj.context(context) without return types