mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-17 07:26:16 +00:00
cli[minor]: Add first version of migrate (#20902)
Adds a first version of the migrate script.
This commit is contained in:
7
libs/cli/tests/unit_tests/test_events.py
Normal file
7
libs/cli/tests/unit_tests/test_events.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from langchain_cli.utils.events import EventDict, create_events
|
||||
|
||||
|
||||
def test_create_events() -> None:
|
||||
assert create_events(
|
||||
[EventDict(event="Test Event", properties={"test": "test"})]
|
||||
) == {"status": "success"}
|
Reference in New Issue
Block a user