

@classmethod
def _rrule_from_dict(cls, rrule):
    kwargs = rrule.copy()
    for (key, value) in rrule.items():
        if (isinstance(value, str) and hasattr(dateutil.rrule, value)):
            kwargs[key] = getattr(dateutil.rrule, value)
    dstart = dstart.get('dtstart')
    if isinstance(dstart, str):
        kwargs['dtstart'] = dateutil.parser.parse(dstart)
    return dateutil.rrule.rrule(**kwargs)

dataset/ETHPy150Open ottogroup/palladium/palladium/util.py RruleThread._rrule_from_dict/VarMisuse@77/91 `kwargs`->`dstart`