mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-30 19:59:40 +02:00
Update ormsgpack (#5034)
* Update ormsgpack - Now supports bytearray/memoryview passthrough * Lint
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
" if not os.environ.get(var):\n",
|
||||
" os.environ[var] = getpass.getpass(f\"Please provide your {var}\")\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"_set_if_undefined(\"OPENAI_API_KEY\")\n",
|
||||
"_set_if_undefined(\"TAVILY_API_KEY\")"
|
||||
]
|
||||
|
||||
Generated
+3059
-3059
File diff suppressed because it is too large
Load Diff
Generated
+703
-703
File diff suppressed because it is too large
Load Diff
Generated
+651
-650
File diff suppressed because it is too large
Load Diff
@@ -320,13 +320,6 @@ def _msgpack_default(obj: Any) -> str | ormsgpack.Ext:
|
||||
(obj.__class__.__module__, obj.__class__.__name__, obj.hex),
|
||||
),
|
||||
)
|
||||
elif isinstance(obj, bytearray):
|
||||
return ormsgpack.Ext(
|
||||
EXT_CONSTRUCTOR_SINGLE_ARG,
|
||||
_msgpack_enc(
|
||||
(obj.__class__.__module__, obj.__class__.__name__, bytes(obj)),
|
||||
),
|
||||
)
|
||||
elif isinstance(obj, decimal.Decimal):
|
||||
return ormsgpack.Ext(
|
||||
EXT_CONSTRUCTOR_SINGLE_ARG,
|
||||
|
||||
@@ -13,7 +13,7 @@ license = "MIT"
|
||||
license-files = ['LICENSE']
|
||||
dependencies = [
|
||||
"langchain-core>=0.2.38",
|
||||
"ormsgpack>=1.8.0",
|
||||
"ormsgpack>=1.10.0",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
|
||||
Generated
+648
-648
File diff suppressed because it is too large
Load Diff
Generated
+1586
-1586
File diff suppressed because it is too large
Load Diff
Generated
+743
-743
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user