code: def getEnding(self):
      raise NotImplementedError()
  
imports: import abc
  import datetime
  import six
  from pyalgotrade.utils import dt
  from pyalgotrade import bar
label_desc: Use image node_id 3 for calling the TimeRange obj's underlying member method code with example usage: obj.getEnding() without return types