Skip to content

Conversation

@Coniferish
Copy link
Contributor

@Coniferish Coniferish commented Dec 6, 2024

Closes #213 and makes small improvements.

@Coniferish Coniferish changed the title fix: cache tmp data dir fix: DATA_DIR_KEY Dec 6, 2024

self.cache_tmp_data_dir = form_utils.get_split_pdf_cache_tmp_data_dir(
form_data,
key=PARTITION_FORM_SPLIT_CACHE_TMP_DATA_KEY,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Main fix

languages=["eng"],
split_pdf_page=True,
split_pdf_cache_tmp_data=use_caching,
split_pdf_cache_dir=cache_dir,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This param doesn't exist, but the test succeeded despite that. Fixed the param anyway.

@Coniferish Coniferish marked this pull request as ready for review December 8, 2024 20:37
Copy link
Contributor

@pawel-kmiecik pawel-kmiecik left a comment

Choose a reason for hiding this comment

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

LGTM!

@Coniferish Coniferish merged commit f2e0bbb into main Dec 9, 2024
13 checks passed
@Coniferish Coniferish deleted the jj/cache_tmp_data_dir branch December 9, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug/split_pdf_cache_tmp_data

3 participants