瀏覽代碼

fix graph bug about second retrieval (#1688)

### What problem does this PR solve?

#1651

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.9.0
Kevin Hu 1 年之前
父節點
當前提交
fdfa5d0ad4
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. 4
    1
      graph/component/base.py

+ 4
- 1
graph/component/base.py 查看文件

@@ -470,7 +470,10 @@ class ComponentBase(ABC):
break

if upstream_outs:
return pd.concat(upstream_outs, ignore_index=False)
df = pd.concat(upstream_outs, ignore_index=True)
if "content" in df:
df = df.drop_duplicates(subset=['content']).reset_index(drop=True)
return df
return pd.DataFrame()

def get_stream_input(self):

Loading…
取消
儲存