class_docstr: A class to register accessor and instance methods.
class_docstr_tok: ["A","class","to","register","accessor","and","instance","methods","."]
docstr: A function decorator that adds accessor and instance methods for
  specified data type.
  
  Parameters
  ----------
  names : `List[str]`
      A list of names used to register the function as a method.
  
  Returns
  -------
  Callable
      A decorated function.
docstr_tok: ["A","function","decorator","that","adds","accessor","and","instance","methods","for","specified","data","type",".","Parameters","--","--","--","--","--","names",":","`","List","[","str","]","`","A","list","of","names","used","to","register","the","function","as","a","method",".","Returns","--","--","--","-","Callable","A","decorated","function","."]
code: def register(cls, names: List[str]):
      """A function decorator that adds accessor and instance methods for
      specified data type.
  
      Parameters
      ----------
      names : `List[str]`
          A list of names used to register the function as a method.
  
      Returns
      -------
      Callable
          A decorated function.
      """
  
      def wrapper(func):
          BooleanMethods.register_method(func, names)
          BooleanMixin.register_method(func, names)
          return func
  
      return wrapper
  
file_path: tensortrade/tensortrade/feed/api/boolean/__init__.py
imports: from typing import List
  from tensortrade.feed.core import Stream
  from tensortrade.feed.core.methods import Methods
  from tensortrade.feed.core.mixins import DataTypeMixin
  from .operations import *
label_desc: Use image node_id 1 for calling the Boolean obj's underlying member method code with example usage: obj.register(cls, names) and returns: wrapper, func