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/tests/integration_tests
Chris f9f5626ca4
community[patch]: Fix github search issues and PRs PaginatedList has no len() error (#16806)
**Description:** 
Bugfix: Langchain_community's GitHub Api wrapper throws a TypeError when
searching for issues and/or PRs (the `search_issues_and_prs` method).
This is because PyGithub's PageinatedList type does not support the
len() method. See https://github.com/PyGithub/PyGithub/issues/1476

![image](https://github.com/langchain-ai/langchain/assets/8849021/57390b11-ed41-4f48-ba50-f3028610789c)
  **Dependencies:** None 
  **Twitter handle**: @ChrisKeoghNZ
  
I haven't registered an issue as it would take me longer to fill the
template out than to make the fix, but I'm happy to if that's deemed
essential.

I've added a simple integration test to cover this as there were no
existing unit tests and it was going to be tricky to set them up.

Co-authored-by: Chris Keogh <chris.keogh@xero.com>
8 months ago
..
adapters community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
callbacks infra: add print rule to ruff (#16221) 8 months ago
chat_message_histories infra: add -p to mkdir in lint steps (#17013) 8 months ago
chat_models infra: add print rule to ruff (#16221) 8 months ago
document_loaders community[patch]: Add Pagination to GitHubIssuesLoader for Efficient GitHub Issues Retrieval (#16934) 8 months ago
embeddings infra: add print rule to ruff (#16221) 8 months ago
examples infra: add print rule to ruff (#16221) 8 months ago
graphs langchain[patch], community[patch]: Fixes in the Ontotext GraphDB Graph and QA Chain (#17239) 8 months ago
llms infra: add print rule to ruff (#16221) 8 months ago
retrievers infra: fix breebs test lint (#17075) 8 months ago
storage infra: add -p to mkdir in lint steps (#17013) 8 months ago
tools community[minor]: Connery Tool and Toolkit (#14506) 8 months ago
utilities community[patch]: Fix github search issues and PRs PaginatedList has no len() error (#16806) 8 months ago
vectorstores community: add delete method to rocksetdb vectorstore to support recordmanager (#17030) 8 months ago
.env.example community[minor]: Add Cassandra document loader (#16215) 9 months ago
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
conftest.py infra: Use dotenv in langchain-community's integration tests (#16137) 9 months ago
test_compile.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago