mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
core[patch]: Remove default BaseModel init docstring (#25009)
Currently a default init docstring gets appended to the class docstring of every BaseModel inherited object. This removes the default init docstring. ![Screenshot 2024-08-02 at 5 09 55 PM](https://github.com/user-attachments/assets/757fe4ae-a793-4e7d-8354-512de2c06818)
This commit is contained in:
parent
88a9a6a758
commit
6eb42c657e
@ -107,6 +107,11 @@ class Serializable(BaseModel, ABC):
|
||||
as part of the serialized representation.
|
||||
"""
|
||||
|
||||
# Remove default BaseModel init docstring.
|
||||
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
||||
""""""
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
@classmethod
|
||||
def is_lc_serializable(cls) -> bool:
|
||||
"""Is this class serializable?
|
||||
|
Loading…
Reference in New Issue
Block a user