Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confluence Loader: Fix CQL loading #27620

Merged
merged 10 commits into from
Dec 10, 2024
Merged

Conversation

Tonkonozhenko
Copy link
Contributor

@Tonkonozhenko Tonkonozhenko commented Oct 24, 2024

fix #12082

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Oct 24, 2024
Copy link

vercel bot commented Oct 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Nov 27, 2024 11:49am

@dosubot dosubot bot added community Related to langchain-community Ɑ: doc loader Related to document loader module (not documentation) 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature labels Oct 24, 2024
@Tonkonozhenko
Copy link
Contributor Author

@ccurme could you review the PR, please?

@Tonkonozhenko
Copy link
Contributor Author

@baskaryan, @efriis, @eyurtsev could you review the PR, please?

@Tonkonozhenko
Copy link
Contributor Author

@efriis, @eyurtsev, @ccurme could you review the MR with the fix? Without it, it's completely impossible to load confluence by CQL

@ccurme ccurme self-assigned this Nov 26, 2024
docs.extend(batch)
break
else:
batch = get_pages(**kwargs, start=len(docs))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this need to be batch, _ = get(pages(...))?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, because for other than cql, it doesn't return anything except batch

@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Dec 10, 2024
@ccurme ccurme merged commit 0d20c31 into langchain-ai:master Dec 10, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature community Related to langchain-community Ɑ: doc loader Related to document loader module (not documentation) lgtm PR looks good. Use to confirm that a PR is ready for merging. size:M This PR changes 30-99 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Confluence document loader not handling pagination correctly anymore (when using Confluence Cloud)
2 participants