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

feat: save file id for all fsspec connectors if present #3405

Merged
merged 3 commits into from
Jul 19, 2024

Conversation

rbiseck3
Copy link
Contributor

@rbiseck3 rbiseck3 commented Jul 16, 2024

Description

If the id value exists in the stats response from fsspec, save it as a file_id field in the metadata being persisted on each element.

@rbiseck3 rbiseck3 force-pushed the roman/add-file-id-to-box branch from 97c2452 to 57165df Compare July 17, 2024 15:03
@potter-potter
Copy link
Contributor

I looked into adding this to S3 since it is based on fsspec but has it's own get_metadata. It didn't have an id in the self.fs.stat so all is good.

Copy link
Contributor

@potter-potter potter-potter left a comment

Choose a reason for hiding this comment

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

looks good

rbiseck3 and others added 3 commits July 19, 2024 08:45
…t fixtures update (#3419)

This pull request includes updated ingest test fixtures.
Please review and merge if appropriate.

Co-authored-by: rbiseck3 <[email protected]>
@rbiseck3 rbiseck3 force-pushed the roman/add-file-id-to-box branch from 340166c to 83fada8 Compare July 19, 2024 12:46
@rbiseck3 rbiseck3 added the ingest Issues related to the Ingest CLI or unstructured.ingest modules label Jul 19, 2024
@rbiseck3 rbiseck3 added this pull request to the merge queue Jul 19, 2024
Merged via the queue into main with commit 1df7908 Jul 19, 2024
51 checks passed
@rbiseck3 rbiseck3 deleted the roman/add-file-id-to-box branch July 19, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ingest Issues related to the Ingest CLI or unstructured.ingest modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants