test_simple_serialization() — langchain Function Reference
Architecture documentation for the test_simple_serialization() function in test_serializable.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 46bb0db2_e6a4_80d9_ec7a_c802fea45622["test_simple_serialization()"] d90477e3_b806_4058_daf0_8495f08436d6["test_serializable.py"] 46bb0db2_e6a4_80d9_ec7a_c802fea45622 -->|defined in| d90477e3_b806_4058_daf0_8495f08436d6 style 46bb0db2_e6a4_80d9_ec7a_c802fea45622 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/load/test_serializable.py lines 37–48
def test_simple_serialization() -> None:
class Foo(Serializable):
bar: int
baz: str
foo = Foo(bar=1, baz="hello")
assert dumpd(foo) == {
"id": ["tests", "unit_tests", "load", "test_serializable", "Foo"],
"lc": 1,
"repr": "Foo(bar=1, baz='hello')",
"type": "not_implemented",
}
Domain
Subdomains
Source
Frequently Asked Questions
What does test_simple_serialization() do?
test_simple_serialization() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/load/test_serializable.py.
Where is test_simple_serialization() defined?
test_simple_serialization() is defined in libs/core/tests/unit_tests/load/test_serializable.py at line 37.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free