def find_log_files_in_path(log_path, type_name, start_dt, end_dt):
    log_files = list_log_files(log_path)
    out_log_files = []

    for lf in log_files:
        if lf.dt is None:
            if lf.date < start_dt.date() or lf.date > end_dt.date():
                continue
        else:
            if lf.dt < start_dt or lf.dt > end_dt:
                continue

        out_log_files.append(lf)

    return out_log_files
dataset/ETHPy150Open rhettg/BlueOx/blueox/store.py/find_log_files_in_path/original