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: Gets the `Context` the object is under.
  
  Returns
  -------
  `Context`
      The context the object is under.
docstr_tok: ["Gets","the","`","Context","`","the","object","is","under",".","Returns","--","--","--","-","`","Context","`","The","context","the","object","is","under","."]
code: def context(self) -> Context:
      """Gets the `Context` the object is under.
  
      Returns
      -------
      `Context`
          The context the object is under.
      """
      return self._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 1 for calling the ContextualizedMixin obj's underlying member method code with example usage: obj.context() and returns: self