code: def time_range(from_=None, to=None):  # todo datetime conversion
      
      args = locals()
      return {
          k.replace('_', ''): v for k, v in args.items()
      }
docs: :param str from_:
      :param str to:
  
      :return: dict