Another batch of renaming Record to Data
This commit is contained in:
parent
e827789a09
commit
16089ea5b2
61 changed files with 283 additions and 441 deletions
|
|
@ -1,8 +1,9 @@
|
|||
from langchain_core.documents import Document
|
||||
|
||||
from langflow.schema import Data
|
||||
|
||||
|
||||
def test_record_initialization():
|
||||
def test_data_initialization():
|
||||
record = Data(text_key="msg", data={"msg": "Hello, World!", "extra": "value"})
|
||||
assert record.msg == "Hello, World!"
|
||||
assert record.extra == "value"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue