Remove unstructured-ingest as a dependency#63
Merged
Conversation
potter-potter
commented
Nov 19, 2025
| ] | ||
|
|
||
| [[package]] | ||
| name = "unstructured-ingest" |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
potter-potter
commented
Nov 19, 2025
| class EtlApiException(Exception): | ||
| pass | ||
|
|
||
| def file_data_from_dict(data: dict) -> FileDataType: |
Contributor
Author
There was a problem hiding this comment.
i think i'll just move this into utic_public_types instead.
PastelStorm
reviewed
Nov 20, 2025
| return BatchFileData.model_validate(data) | ||
| except ValidationError: | ||
| logger.debug(f"{data} not valid for batch file data") | ||
| return FileData.model_validate(data) |
There was a problem hiding this comment.
this might also need try-return approach.
Contributor
Author
There was a problem hiding this comment.
I should have explained this better. I'm gonna remove this from here and just move it into the utic-public-types in file_data where it really belongs. :)
Contributor
Author
There was a problem hiding this comment.
Thats why i made the other PR.
PastelStorm
approved these changes
Nov 20, 2025
brndnblck
pushed a commit
that referenced
this pull request
Feb 17, 2026
This reverts commit 9b81254.
brndnblck
added a commit
that referenced
this pull request
Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Replaces unstructured-ingest with utic-public-types, updates imports and error types, adds local file_data_from_dict using Pydantic, and bumps version to 0.0.42.
unstructured_ingesttypes/errors withutic_public_typesinetl_uvicorn/api_generator.pyand related modules.file_data_from_dict(PydanticValidationError-based) to parseFileData/BatchFileData.file_data,errors) toutic_public_types.unstructured-ingestdependency; addutic-public-typesinpyproject.toml.0.0.42; add changelog entry for dependency removal.Written by Cursor Bugbot for commit 3320a22. This will update automatically on new commits. Configure here.