-
Notifications
You must be signed in to change notification settings - Fork 40
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
fix: adding handling for str as filename argument to load/save methods #204
Closed
Conversation
This file contains 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
Signed-off-by: Cesar Berrospi Ramis <[email protected]>
* fix(test): set static typing compatible to python 3.10 Signed-off-by: Cesar Berrospi Ramis <[email protected]> * style: enforce some pre-commit hooks on tests Enforce pre-commit hooks black, isort, autoflake, and mypy on test modules. Signed-off-by: Cesar Berrospi Ramis <[email protected]> * fix(rec): fix definition issues in attribute, predicate, subject Remove duplicate generic types across base and predicate modules. Create an identifier class for subject names. Remove unnecessary type variables in attribute model. Signed-off-by: Cesar Berrospi Ramis <[email protected]> * docs: refer to Docling data objects Signed-off-by: Cesar Berrospi Ramis <[email protected]> --------- Signed-off-by: Cesar Berrospi Ramis <[email protected]>
* single source of version Signed-off-by: Michele Dolfi <[email protected]> * add cicd Signed-off-by: Michele Dolfi <[email protected]> * apply pre-commit validators Signed-off-by: Michele Dolfi <[email protected]> * Update pyproject.toml Co-authored-by: Panos Vagenas <[email protected]> Signed-off-by: Michele Dolfi <[email protected]> * update lock Signed-off-by: Michele Dolfi <[email protected]> --------- Signed-off-by: Michele Dolfi <[email protected]> Signed-off-by: Michele Dolfi <[email protected]> Co-authored-by: Panos Vagenas <[email protected]>
Signed-off-by: Michele Dolfi <[email protected]>
Signed-off-by: Panos Vagenas <[email protected]>
…ject#5) For consistency, set the default value for name field in search.package.Package to doocling-core, since the field version is set to docling-core version by default. Signed-off-by: Cesar Berrospi Ramis <[email protected]>
Signed-off-by: Panos Vagenas <[email protected]> Co-authored-by: Michele Dolfi <[email protected]>
Signed-off-by: Cesar Berrospi Ramis <[email protected]>
Signed-off-by: Panos Vagenas <[email protected]>
Signed-off-by: Michele Dolfi <[email protected]>
Signed-off-by: Panos Vagenas <[email protected]>
* docs: Update link to Docling Signed-off-by: Christoph Auer <[email protected]> * Update citation Signed-off-by: Christoph Auer <[email protected]> --------- Signed-off-by: Christoph Auer <[email protected]>
…ct (docling-project#14) Signed-off-by: Michele Dolfi <[email protected]>
* added the XML export Signed-off-by: Peter Staar <[email protected]> * reformatted all Signed-off-by: Peter Staar <[email protected]> * fixed tests Signed-off-by: Peter Staar <[email protected]> * added the DocumentTokens class Signed-off-by: Peter Staar <[email protected]> * updating the to-xml method Signed-off-by: Peter Staar <[email protected]> * updating the to-xml method Signed-off-by: Peter Staar <[email protected]> * fixed the to-md method Signed-off-by: Peter Staar <[email protected]> * added the strict-text in the to-md method Signed-off-by: Peter Staar <[email protected]> * added page-tokens Signed-off-by: Peter Staar <[email protected]> * updated the location/page tokens Signed-off-by: Peter Staar <[email protected]> --------- Signed-off-by: Peter Staar <[email protected]>
Signed-off-by: Panos Vagenas <[email protected]>
Signed-off-by: Michele Dolfi <[email protected]>
* added the XML export Signed-off-by: Peter Staar <[email protected]> * reformatted all Signed-off-by: Peter Staar <[email protected]> * fixed tests Signed-off-by: Peter Staar <[email protected]> * added the DocumentTokens class Signed-off-by: Peter Staar <[email protected]> * updating the to-xml method Signed-off-by: Peter Staar <[email protected]> * updating the to-xml method Signed-off-by: Peter Staar <[email protected]> * fixed the to-md method Signed-off-by: Peter Staar <[email protected]> * added the strict-text in the to-md method Signed-off-by: Peter Staar <[email protected]> * added page-tokens Signed-off-by: Peter Staar <[email protected]> * updated the location/page tokens Signed-off-by: Peter Staar <[email protected]> * small fix to have correct special document-tokens Signed-off-by: Peter Staar <[email protected]> * reformatted the code Signed-off-by: Peter Staar <[email protected]> --------- Signed-off-by: Peter Staar <[email protected]>
Signed-off-by: Panos Vagenas <[email protected]>
Signed-off-by: Panos Vagenas <[email protected]>
Signed-off-by: Panos Vagenas <[email protected]>
…oject#178) Signed-off-by: Panos Vagenas <[email protected]>
Signed-off-by: Panos Vagenas <[email protected]>
Signed-off-by: Panos Vagenas <[email protected]>
Signed-off-by: Panos Vagenas <[email protected]>
chore: suppress warning for missing fallback case Signed-off-by: Yusik Kim <[email protected]>
Signed-off-by: lum <[email protected]>
…odels (docling-project#187) * Adding load_from_document_tokens method to Docling document Signed-off-by: Maksym Lysak <[email protected]> * Added skeleton for the unit test Signed-off-by: Maksym Lysak <[email protected]> * Processing ordered and unordered lists Signed-off-by: Maksym Lysak <[email protected]> * Define new types for DocTags containers Signed-off-by: Christoph Auer <[email protected]> * Implement load_from_doctags with container types Signed-off-by: Christoph Auer <[email protected]> * Update tests Signed-off-by: Christoph Auer <[email protected]> * update test data Signed-off-by: Christoph Auer <[email protected]> * Cleanup commented lines Signed-off-by: Christoph Auer <[email protected]> * Fix for proper list groups Signed-off-by: Maksym Lysak <[email protected]> * Check for number of page doctags must be equal to page images Signed-off-by: Maksym Lysak <[email protected]> --------- Signed-off-by: Maksym Lysak <[email protected]> Signed-off-by: Christoph Auer <[email protected]> Co-authored-by: Maksym Lysak <[email protected]> Co-authored-by: Christoph Auer <[email protected]>
* Move model types from docling-parse Signed-off-by: Christoph Auer <[email protected]> * Add BoundingRectangle.from_bounding_box method Signed-off-by: Christoph Auer <[email protected]> * Add cell ID to model_validator Signed-off-by: Christoph Auer <[email protected]> * Add ordering to model_validator Signed-off-by: Christoph Auer <[email protected]> * update comments Signed-off-by: Christoph Auer <[email protected]> * Rewrite BoundingRectangle.to_bounding_box() Signed-off-by: Christoph Auer <[email protected]> * Add PdfCellRenderingMode Signed-off-by: Christoph Auer <[email protected]> * Update model_validator Signed-off-by: Christoph Auer <[email protected]> * Typing fixes and cleanup Signed-off-by: Christoph Auer <[email protected]> --------- Signed-off-by: Christoph Auer <[email protected]>
…ng-project#182) Signed-off-by: Panos Vagenas <[email protected]>
* chore: move to docling-project gh org Signed-off-by: Michele Dolfi <[email protected]> * retrigger ci with DCO Signed-off-by: Michele Dolfi <[email protected]> --------- Signed-off-by: Michele Dolfi <[email protected]>
fix favicon url Signed-off-by: Michele Dolfi <[email protected]>
Signed-off-by: Panos Vagenas <[email protected]>
add caption to the table in load_from_doctags Signed-off-by: Saidgurbuz <[email protected]>
Signed-off-by: Panos Vagenas <[email protected]>
…ject#188) * add kv_item support for doctag to docling_document Signed-off-by: Saidgurbuz <[email protected]> * use resize_by_scale to save locations Signed-off-by: Saidgurbuz <[email protected]> * add kv region to tag_to_doclabel Signed-off-by: Saidgurbuz <[email protected]> * add test for doctags_load_for_kv_region Signed-off-by: Saidgurbuz <[email protected]> * update the naming to .dt for consistency Signed-off-by: Saidgurbuz <[email protected]> --------- Signed-off-by: Saidgurbuz <[email protected]>
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
|
d61cafc
to
0dfdf55
Compare
Signed-off-by: Musashi Hinck <[email protected]> Signed-off-by: Musashi Hinck <[email protected]>
0dfdf55
to
1217c58
Compare
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.
Ugh, very sorry - I tried to amend the commit email. Please ignore this.