docstr: Intercept const. to copy timeframe/compression from 1st data
docstr_tok: ["Intercept","const",".","to","copy","timeframe\/compression","from","1st","data"]
code: def donew(cls, *args, **kwargs):
      """Intercept const. to copy timeframe/compression from 1st data"""
      # Create the object and set the params in place
      _obj, args, kwargs = super(MetaRollOver, cls).donew(
          *args, **kwargs
      )
  
      if args:
          _obj.p.timeframe = args[0]._timeframe
          _obj.p.compression = args[0]._compression
  
      return _obj, args, kwargs
  
file_path: backtrader/backtrader/feeds/rollover.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from datetime import datetime
  import backtrader
label_desc: Use image node_id 2 for calling the MetaRollOver obj's underlying member method code with example usage: obj.donew(cls) and returns: _obj,  args,  kwargs