You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/langchain_community/chat_message_histories
Smit Parmar dfc4177b50
community[patch]: mypy ignore fix (#18483)
Relates to #17048 
Description : Applied fix to dynamodb and elasticsearch file.

Error was : `Cannot override writeable attribute with read-only
property`
Suggestion:
instead of adding 
```
@messages.setter
def messages(self, messages: List[BaseMessage]) -> None:
    raise NotImplementedError("Use add_messages instead")
```

we can change base class property
`messages: List[BaseMessage]`
to
```
@property
def messages(self) -> List[BaseMessage]:...
```

then we don't need to add `@messages.setter` in all child classes.
3 months ago
..
__init__.py community[patch]: speed up import times in the community package (#18928) 3 months ago
astradb.py astradb: Add AstraDBChatMessageHistory to langchain-astradb package (#17732) 4 months ago
cassandra.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 6 months ago
cosmos_db.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 6 months ago
dynamodb.py community[patch]: mypy ignore fix (#18483) 3 months ago
elasticsearch.py community[patch]: mypy ignore fix (#18483) 3 months ago
file.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 6 months ago
firestore.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 6 months ago
in_memory.py Add async methods to BaseChatMessageHistory and BaseMemory (#16728) 4 months ago
momento.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 6 months ago
mongodb.py community[patch]: Mongo index creation (#17748) 3 months ago
neo4j.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 6 months ago
postgres.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 6 months ago
redis.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 6 months ago
rocksetdb.py infra: add print rule to ruff (#16221) 4 months ago
singlestoredb.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 6 months ago
sql.py community[patch]: docstrings (#16810) 4 months ago
streamlit.py community: Fix bug with StreamlitChatMessageHistory (#18834) 3 months ago
tidb.py community[patch]: chat message history mypy fixes (#17059) 4 months ago
upstash_redis.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 6 months ago
xata.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 6 months ago
zep.py infra: add -p to mkdir in lint steps (#17013) 4 months ago