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: Add JSON input type and update related components #6981

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

ogabrielluiz
Copy link
Contributor

Introduce a new JSON input type and schema class to enhance input handling. Update project templates to support JSON, improving flexibility in input options.

Introduces a new JSONInput class in inputs.py and a corresponding JSON schema class in data.py to support JSON-specific input handling
Modify multiple starter project JSON files to add 'JSON' as an accepted input type for various nodes, expanding input flexibility across different project templates
@github-actions github-actions bot added the enhancement New feature or request label Mar 10, 2025
Copy link

codspeed-hq bot commented Mar 10, 2025

CodSpeed Performance Report

Merging #6981 will degrade performances by 28.13%

Comparing data-to-json (9a2680b) with main (a5a8227)

Summary

⚡ 1 improvements
❌ 1 regressions
✅ 17 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
test_build_flow_invalid_job_id 9.1 ms 12.7 ms -28.13%
test_cancel_nonexistent_build 13.7 ms 12.1 ms +13.32%

Update schema package initialization to include JSON in the exported classes, aligning with recent JSON input type additions
Enhance custom component output type handling by automatically adding 'JSON' type when 'Data' is present, improving type flexibility for custom components
Update multiple starter project JSON files to include 'JSON' type alongside 'Data' for various node outputs, enhancing type flexibility across project templates
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Mar 10, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant