test_beta_classmethod() — langchain Function Reference
Architecture documentation for the test_beta_classmethod() function in test_beta_decorator.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 9ea9334c_f9fe_c07b_c05c_b93085caebc8["test_beta_classmethod()"] af0bb3cc_9182_00c9_fc61_39029170b37e["test_beta_decorator.py"] 9ea9334c_f9fe_c07b_c05c_b93085caebc8 -->|defined in| af0bb3cc_9182_00c9_fc61_39029170b37e 137866f9_ce29_98d1_c62f_e37d36e43f1d["beta_classmethod()"] 9ea9334c_f9fe_c07b_c05c_b93085caebc8 -->|calls| 137866f9_ce29_98d1_c62f_e37d36e43f1d style 9ea9334c_f9fe_c07b_c05c_b93085caebc8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/_api/test_beta_decorator.py lines 189–203
def test_beta_classmethod() -> None:
"""Test beta classmethod."""
with warnings.catch_warnings(record=True) as warning_list:
warnings.simplefilter("always")
ClassWithBetaMethods.beta_classmethod()
assert len(warning_list) == 1
warning = warning_list[0].message
assert str(warning) == (
"The method `ClassWithBetaMethods.beta_classmethod` is in beta. "
"It is actively being worked on, so the API may change."
)
doc = ClassWithBetaMethods.beta_classmethod.__doc__
assert isinstance(doc, str)
assert doc.startswith(".. beta::")
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does test_beta_classmethod() do?
test_beta_classmethod() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/_api/test_beta_decorator.py.
Where is test_beta_classmethod() defined?
test_beta_classmethod() is defined in libs/core/tests/unit_tests/_api/test_beta_decorator.py at line 189.
What does test_beta_classmethod() call?
test_beta_classmethod() calls 1 function(s): beta_classmethod.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free