Skip to content

Commit 75dceec

Browse files
committed
chore(core): remove arg types from docstrings
1 parent c27271f commit 75dceec

54 files changed

Lines changed: 679 additions & 755 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

libs/core/langchain_core/_api/beta_decorator.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@ def beta(
5151
own (annotation-emitting) `C.__init__`).
5252
5353
Args:
54-
message : str, optional
54+
message:
5555
Override the default beta message. The %(since)s,
5656
%(name)s, %(alternative)s, %(obj_type)s, %(addendum)s,
5757
and %(removal)s format specifiers will be replaced by the
5858
values of the respective arguments passed to this function.
59-
name : str, optional
59+
name:
6060
The name of the beta object.
61-
obj_type : str, optional
61+
obj_type:
6262
The object type being beta.
63-
addendum : str, optional
63+
addendum:
6464
Additional text appended directly to the final message.
6565
6666
Returns:

libs/core/langchain_core/_api/deprecation.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -97,34 +97,34 @@ def deprecated(
9797
property, and 'function' otherwise.
9898
9999
Args:
100-
since : str
100+
since:
101101
The release at which this API became deprecated.
102-
message : str, optional
102+
message:
103103
Override the default deprecation message. The %(since)s,
104104
%(name)s, %(alternative)s, %(obj_type)s, %(addendum)s,
105105
and %(removal)s format specifiers will be replaced by the
106106
values of the respective arguments passed to this function.
107-
name : str, optional
107+
name:
108108
The name of the deprecated object.
109-
alternative : str, optional
109+
alternative:
110110
An alternative API that the user may use in place of the
111111
deprecated API. The deprecation warning will tell the user
112112
about this alternative if provided.
113-
alternative_import: str, optional
113+
alternative_import:
114114
An alternative import that the user may use instead.
115-
pending : bool, optional
115+
pending:
116116
If `True`, uses a `PendingDeprecationWarning` instead of a
117117
DeprecationWarning. Cannot be used together with removal.
118-
obj_type : str, optional
118+
obj_type:
119119
The object type being deprecated.
120-
addendum : str, optional
120+
addendum:
121121
Additional text appended directly to the final message.
122-
removal : str, optional
122+
removal:
123123
The expected removal version. With the default (an empty
124124
string), a removal version is automatically computed from
125125
since. Set to other Falsy values to not schedule a removal
126126
date. Cannot be used together with pending.
127-
package: str, optional
127+
package:
128128
The package of the deprecated object.
129129
130130
Returns:

0 commit comments

Comments
 (0)