Skip to content

Guard data preprocessor against empty preprocessing specs#629

Draft
kmontemayor2-sc wants to merge 1 commit intomainfrom
kmonte/guard-empty-preprocessor-specs
Draft

Guard data preprocessor against empty preprocessing specs#629
kmontemayor2-sc wants to merge 1 commit intomainfrom
kmonte/guard-empty-preprocessor-specs

Conversation

@kmontemayor2-sc
Copy link
Copy Markdown
Collaborator

Clamp ThreadPoolExecutor max_workers to >=1 in the enumerator and short-circuit __preprocess_all_data_references when both node and edge spec dicts are empty, so an empty DataPreprocessorConfig no longer crashes with max_workers must be greater than 0.

Scope of work done

Where is the documentation for this feature?: N/A

Did you add automated tests or write a test plan?

Updated Changelog.md? NO

Ready for code review?: NO

Clamp ThreadPoolExecutor max_workers to >=1 in the enumerator and
short-circuit __preprocess_all_data_references when both node and edge
spec dicts are empty, so an empty DataPreprocessorConfig no longer
crashes with `max_workers must be greater than 0`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

3 participants