[PR #174] Add mypy disallow_any_generics rule #174

Open
opened 2026-02-15 18:16:18 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langchain-datastax/pull/174
Author: @cbornet
Created: 1/24/2026
Status: 🔄 Open

Base: mainHead: disallow_any_generics


📝 Commits (1)

  • 2d4eac2 Add mypy disallow_any_generics rule

📊 Changes

18 files changed (+222 additions, -142 deletions)

View changed files

📝 libs/astradb/langchain_astradb/cache.py (+3 -3)
📝 libs/astradb/langchain_astradb/document_loaders.py (+2 -2)
📝 libs/astradb/langchain_astradb/utils/astradb.py (+1 -1)
📝 libs/astradb/langchain_astradb/utils/vector_store_codecs.py (+5 -5)
📝 libs/astradb/langchain_astradb/vectorstores.py (+14 -13)
📝 libs/astradb/pyproject.toml (+1 -4)
📝 libs/astradb/tests/integration_tests/conftest.py (+22 -22)
📝 libs/astradb/tests/integration_tests/standard_tests/test_cache.py (+3 -1)
📝 libs/astradb/tests/integration_tests/standard_tests/test_storage.py (+3 -3)
📝 libs/astradb/tests/integration_tests/standard_tests/test_vectorstore.py (+3 -1)
📝 libs/astradb/tests/integration_tests/test_cache.py (+3 -3)
📝 libs/astradb/tests/integration_tests/test_chat_message_histories.py (+2 -2)
📝 libs/astradb/tests/integration_tests/test_document_loaders.py (+13 -13)
📝 libs/astradb/tests/integration_tests/test_semantic_cache.py (+3 -3)
📝 libs/astradb/tests/integration_tests/test_storage.py (+4 -4)
📝 libs/astradb/tests/integration_tests/test_vectorstore.py (+11 -7)
📝 libs/astradb/tests/integration_tests/test_vectorstore_autodetect.py (+20 -20)
📝 libs/astradb/uv.lock (+109 -35)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langchain-datastax/pull/174 **Author:** [@cbornet](https://github.com/cbornet) **Created:** 1/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `disallow_any_generics` --- ### 📝 Commits (1) - [`2d4eac2`](https://github.com/langchain-ai/langchain-datastax/commit/2d4eac270ebd41e4466bb94c1bdf589488fb4a50) Add mypy disallow_any_generics rule ### 📊 Changes **18 files changed** (+222 additions, -142 deletions) <details> <summary>View changed files</summary> 📝 `libs/astradb/langchain_astradb/cache.py` (+3 -3) 📝 `libs/astradb/langchain_astradb/document_loaders.py` (+2 -2) 📝 `libs/astradb/langchain_astradb/utils/astradb.py` (+1 -1) 📝 `libs/astradb/langchain_astradb/utils/vector_store_codecs.py` (+5 -5) 📝 `libs/astradb/langchain_astradb/vectorstores.py` (+14 -13) 📝 `libs/astradb/pyproject.toml` (+1 -4) 📝 `libs/astradb/tests/integration_tests/conftest.py` (+22 -22) 📝 `libs/astradb/tests/integration_tests/standard_tests/test_cache.py` (+3 -1) 📝 `libs/astradb/tests/integration_tests/standard_tests/test_storage.py` (+3 -3) 📝 `libs/astradb/tests/integration_tests/standard_tests/test_vectorstore.py` (+3 -1) 📝 `libs/astradb/tests/integration_tests/test_cache.py` (+3 -3) 📝 `libs/astradb/tests/integration_tests/test_chat_message_histories.py` (+2 -2) 📝 `libs/astradb/tests/integration_tests/test_document_loaders.py` (+13 -13) 📝 `libs/astradb/tests/integration_tests/test_semantic_cache.py` (+3 -3) 📝 `libs/astradb/tests/integration_tests/test_storage.py` (+4 -4) 📝 `libs/astradb/tests/integration_tests/test_vectorstore.py` (+11 -7) 📝 `libs/astradb/tests/integration_tests/test_vectorstore_autodetect.py` (+20 -20) 📝 `libs/astradb/uv.lock` (+109 -35) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 18:16:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langchain-datastax#174