mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-15 22:44:36 +00:00
community[patch]: Add missing annotations (#24890)
This PR adds annotations in comunity package. Annotations are only strictly needed in subclasses of BaseModel for pydantic 2 compatibility. This PR adds some unnecessary annotations, but they're not bad to have regardless for documentation pages.
This commit is contained in:
@@ -58,7 +58,7 @@ class UpstashRatelimitHandler(BaseCallbackHandler):
|
||||
every time you invoke.
|
||||
"""
|
||||
|
||||
raise_error = True
|
||||
raise_error: bool = True
|
||||
_checked: bool = False
|
||||
|
||||
def __init__(
|
||||
|
Reference in New Issue
Block a user