class_docstr: A class for objects that are indexed by time.
      
class_docstr_tok: ["A","class","for","objects","that","are","indexed","by","time","."]
docstr: Sets the clock associated with this object.
  
  Parameters
  ----------
  clock : `Clock`
      The clock to be associated with this object.
docstr_tok: ["Sets","the","clock","associated","with","this","object",".","Parameters","--","--","--","--","--","clock",":","`","Clock","`","The","clock","to","be","associated","with","this","object","."]
code: def clock(self, clock: Clock) -> None:
      """Sets the clock associated with this object.
  
      Parameters
      ----------
      clock : `Clock`
          The clock to be associated with this object.
      """
      self._clock = clock
  
file_path: tensortrade/tensortrade/core/base.py
imports: import uuid
  from abc import ABCMeta
  from tensortrade.core.clock import Clock
label_desc: Use image node_id 2 for calling the TimeIndexed obj's underlying member method code with example usage: obj.clock(clock) without return types