-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
[Community][minor]: Updating source path, and file path for SharePoint loader in PebbloSafeLoader #25592
[Community][minor]: Updating source path, and file path for SharePoint loader in PebbloSafeLoader #25592
Conversation
dristysrivastava
commented
Aug 20, 2024
- Description: Updating source path and file path in Pebblo safe loader for SharePoint apps during loading
- Issue: NA
- Dependencies: NA
- Tests: NA
- Docs NA
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
has some merge conflicts, otherwise lgtm |
…nt apps during loading
8941b04
to
11401cb
Compare
@hwchase17 Fixed the merge conflicts. Kindly review |
docs_with_id: List[IndexedDocument], source_path: str | ||
docs_with_id: List[IndexedDocument], | ||
source_path: str, | ||
loader_details: dict, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be a kwarg for backwards compatibility?
doc_metadata["full_path"] = get_full_path( | ||
doc_metadata.get( | ||
"full_path", doc_metadata.get("source", self.source_path) | ||
if self.loader.__class__.__name__ == "SharePointLoader": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does if isinstance(self.loader, SharePointLoader)
work here?