cli[minor]: Add first version of migrate (#20902)

Adds a first version of the migrate script.
This commit is contained in:
Eugene Yurtsev
2024-04-26 10:50:21 -04:00
committed by GitHub
parent d95e9fb67f
commit 6598757037
24 changed files with 6294 additions and 3 deletions

View 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"}