use http.client instead of urllib3 (#12660)

dep problems with requests

cloudflare debugging not worth it with urllib
This commit is contained in:
Erick Friis
2023-11-01 11:15:05 -07:00
committed by GitHub
parent eee5181b7a
commit 14340ee7cd
5 changed files with 38 additions and 43 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"}