mirror of
https://github.com/hwchase17/langchain.git
synced 2026-03-18 02:53:16 +00:00
fix(core): fix double backticks in deprecation docstring for alternative_import (#35658)
This commit is contained in:
@@ -399,7 +399,7 @@ def deprecated(
|
||||
components = [
|
||||
_message,
|
||||
f"Use {_alternative} instead." if _alternative else "",
|
||||
f"Use `{_alternative_import}` instead." if _alternative_import else "",
|
||||
f"Use {_alternative_import} instead." if _alternative_import else "",
|
||||
_addendum,
|
||||
]
|
||||
details = " ".join([component.strip() for component in components if component])
|
||||
|
||||
Reference in New Issue
Block a user