(self)
return []
Property that returns the timeline labels.
Property that returns the timeline labels.
Property that returns the timeline labels .
def labels(self):
        """Property that returns the timeline labels."""
        data = self.lazyload_data(refresh_cache=True)
        objects = data.get('objects', [])
        if not objects:
            return []

        timeline_data = objects[0]
        label_string = timeline_data.get('label_string', '')
        if label_string:
            return json.loads(label_string)

        return []
def labels ( self ) : data = self . lazyload_data ( refresh_cache = True ) objects = data . get ( 'objects' , [ ] ) if not objects : return [ ] timeline_data = objects [ 0 ] label_string = timeline_data . get ( 'label_string' , '' ) if label_string : return json . loads ( label_string ) return [ ]