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
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
..
cli infra: make `.gitignore` consistent with standard python gitignore (#16828) 8 months ago
community community[patch]: Fix github search issues and PRs PaginatedList has no len() error (#16806) 8 months ago
core infra: unit testing `check_package_version` (#16825) 8 months ago
experimental infra: add print rule to ruff (#16221) 8 months ago
langchain community[patch]: give reranker default client val (#17289) 8 months ago
partners google-genai[minor]: add safety settings (#16836) 8 months ago